AccountingRegisterRecordSet.<Accounting register name>.Load

Syntax:

Load(<ValuesTable>)

Parameters:

<ValuesTable> (required)

Type: ValueTable.
Value table containing data for record set filling.

Description:

Loads a recordset with values from the transmitted value table. All previous records in the set are deleted. It is populated with values of accounting register record properties available to the record whose names matched the names of value table columns.
For each extra dimension, a pair of columns with identifiers of types ExtDimensionType<Number> and ExtDimension<Number> is created for a register that does not support correspondence, and of types ExtDimensionTypeDr<Number>, ExtDimensionDr<Number>, ExtDimensionTypeCr<Number>, and ExtDimensionCr<Number> for a register that does support correspondence. The numbers <Number> need not match the numbers of the extra dimension types in the corresponding account.

Availability:

Server, thick client, external connection.

Example:

Reg = AccountingRegisters.SelfSupporting;
RecordsSet = Reg.CreateRecordSet();
Tab = New ValueTable;
// generating table
// ...
RecordsSet.Load(Tab);


    

1C:Enterprise Developer's Community