AccumulationRegisterManager.<Accumulation register name>.CreateRecordKey

Syntax:

CreateRecordKey(<KeyValues>)

Parameters:

<KeyValues> (required)

Type: Structure.
Structure containing values for filling record key values.
Structure element identifiers should match the key field identifiers.

Returned value:

Type: AccumulationRegisterRecordKey.

Description:

Creates a record key by the given structure.

Availability:

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

Example:

Filter = New Structure;
Filter.Insert("Nomenclature", SelNomenclature);
Filter.Insert("Warehouse", Selection);
Reg = AccumulationRegisters.ArticlesOnStore;
RecordKey = Reg.CreateRecordKey(Filter);


    

1C:Enterprise Developer's Community