InformationRegister.<Register name>.SliceLast

Syntax

InformationRegister.<Register name>.SliceLast

Fields

<Attribute name>
<Common attribute name>
<Dimension name>
<Resource name>
Active
LineNumber
Period
Recorder

Parameters

Period
Condition

Description:

Used to access the latest data register records for a specified date (inclusive). Includes active records only. The latest record will be found for each combination of dimensions, but no later than the date specified.

Example:

// Receive all latest records from the information register 
SELECT * FROM InformationRegister.ExchangeRates.SliceLast()

// Receive all latest records from the information register
// for the specified date and rate
SELECT * FROM InformationRegister.ExchangeRates.SliceLast(&DateParameter, 
    Currency = &CurrencyParameter)


    

1C:Enterprise Developer's Community