DataLock.Add

Syntax:

Add(<LockSpace>)

Parameters:

<LockSpace> (optional)

Type: String.
Lockspace name. The following lockspace names are supported:
    • Catalog.<name>;
    • Document.<name>;
    • ExchangePlan.<name>;
    • ChartOfAccounts.<name>;
    • BusinessProcess.<name>;
    • Task.<name>;
    • ChartOfCalculationTypes.<name>;
    • ChartOfCharacteristicTypes.<name>;
    • InformationRegister.<name>.RecordSet - only for the information register subordinate to the InformationRegister recorder;
    • InformationRegister.<name>;
    • AccumulationRegister.<name>.RecordSet;
    • AccumulationRegister.<name>;
    • AccountingRegister.<name>.RecordSet;
    • AccountingRegister.<name>;
    • CalculationRegister.<name>.RecordSet;
    • CalculationRegister.<name>;
    • Recalculation.<name>.RecordSet;
    • Sequence Totals.<name>;
    • Sequence.<name>.Records;
    • Sequence.<name>;
    • Constant.<name>.

Returned value:

Type: DataLockItem.

Description:

Adds new data lock item.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community