ChartOfAccountsManager.<Chart of accounts name>.EmptyRef

Syntax:

EmptyRef()

Returned value:

Type: ChartOfAccountsRef.

Description:

Obtains an empty reference value to the current chart of accounts type.

Availability:

Server, thick client, external connection.

Note:

For example, you can use it when you want to transfer an empty reference to method parameter.

Example:

// Account - report attribute (of ChartOfAccountsRef type)
AccountsList = New Array;
While 
Account <> ChartsOfAccounts.Main.EmptyRef() Do
    AccountsList.Add(Account);
    Account = Account.Parent;
EndDo
;


    

1C:Enterprise Developer's Community