AccountingRegisterManager.<Accounting 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: AccountingRegisterRecordKey.

Description:

Creates a record key by the given structure.

Availability:

Server, thick client, external connection.

Example:

Filter = New Structure;
Filter.Insert("Organization", SelOrganization);
Filter.Insert("Currency", SelCurrency);
Reg = AccountingRegisters.SelfSupporting;
RecordKey = Reg.CreateRecordKey(Filter);


    

1C:Enterprise Developer's Community