InformationRegisterManager.<Information register name>.SliceLast


SliceLast(<EndOfPeriod>, <Filter>)


<EndOfPeriod> (optional)

Type: Date; PointInTime; Boundary.
Defines the point in time for which you need to select records.
If this parameter is not set, resource values of the last register record will be returned.

<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 latest 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;
CurrentPricesOfCompetitors = PricesMarketing.SliceLast(CurrentDate());


1C:Enterprise Developer's Community