InformationRegisterManager.<Information register name>.SliceFirst


SliceFirst(<BeginOfPeriod>, <Filter>)


<BeginOfPeriod> (optional)

Type: Date; PointInTime; Boundary.
Defines the point in time you need to select records from.
If the parameter is not specified, records will be gotten without restriction on time.

<Filter> (optional)

Type: Structure.
Structure containing the register dimensions and attributes filter. Structure key name must be the same as the register dimension name specified in the designer, and value of an element of structure - sets value selected on given dimension.
The structure may additionally have the items that correspond to separators of register with the IndependentlyAndSimultaneously level of separation, which include the register. If such a structure item is specified for use in a session separator, then value for this item must match the separator value, otherwise it will throw an exception.
If the parameter is not specified filter is not used.

Returned value:

Type: ValueTable.
Value table filled with found information register records data.


Obtains the earliest register records corresponding to key field values specified in method parameters. Records shall be selected for each combination out of all available values of register dimensions.


Server, thick client, external connection, Mobile application (server).


Apply for periodic information registers only.


PricesMarketing = InformationRegisters.PricesMarketing;
PricesUpdatedToday = PricesMarketing.SliceFirst(CurrentDate());


1C:Enterprise Developer's Community