DataLockItem.SetValue
Syntax:
Parameters:
<LockNamespaceField> (required)
A lock namespace field name. The following field names are supported:
- For the InformationRegister namespace.<name>.DataSet - Recorder (only for register subordinated to a recorder;
- For the InformationRegister namespace.<name> - Period (if any), <dimension name>, <separator name>;
- For the AccumulationRegister namespace.<name>.DataSet - Recorder;
- For the AccumulationRegister namespace.<name>- Period, <dimension name>, <separator name>;
- For the AccountingRegister namespace.<name>.DataSet - Recorder;
- For the AccountingRegister namespace.<name> - Period, <dimension name>, <register record type> (AccountingRecordType system enumeration value), Account, ExtDimensions<N>, <extra dimension type>, <separator name>;
- For the CalculationRegister namespace.<name>.DataSet - Recorder;
- For the CalculationRegister namespace.<name>- RegistrationPeriod, ActionPeriod, <dimension name>, <separator name>;
- For the Recalculation namespace.<name>.DataSet - RecalculationObject;
- For the Sequence namespace.<name>.DataSet - Recorder;
- For the Sequence namespace.<name>.Records - Recorder, Period, <Dimension>;
- For the Sequence namespace.<name> - <dimension name>, <separator name>;
- For the Constant namespace.<name> field names are not supported;
- ChartOfCharacteristicTypesRef.
type - a lock is set on the AccountingRegister.<name> space.
- Catalog namespace.<name>;
- Document namespace.<name>;
- ExchangePlan namespace.<name>;
- ChartOfAccounts namespace.<name>;
- BusinessProcess namespace.<name>;
- Task namespace.<name>;
- ChartOfCalculationTypes namespace.<name>;
- ChartOfCharacteristicTypes namespace.<name>.
<LockedValue> (required)
A value (a range of values) for a lock space field.
Description:
Availability:
Note:
It is not allowed to set one and the same lockspace field using methods SetValue and UseFromDataSource.