InformationRegisterManager.<Information register name>.CreateRecordKey

Syntax:

CreateRecordKey(<KeyValues>)

Parameters:

<KeyValues> (required)

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

Returned value:

Type: InformationRegisterRecordKey.

Description:

Creates a record key by the given structure.

Availability:

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

Example:

Filter = New Structure;
Filter.Insert("Division", DivisionSelection);
Filter.Insert("Post", SelPost);
Reg = InformationRegisters.EstablishedPostsData;
RecordKey = Reg.CreateRecordKey(Filter);
// EstablishedPosts - table box to display the list of
// the information register records
Controls.EstablishedPosts.CurrentRow = RecordKey;


    

1C:Enterprise Developer's Community