ChartOfAccountsRef.<Chart of accounts name>.GetCodeOrder

Syntax:

GetCodeOrder()

Returned value:

Type: String.

Description:

Converts the account code in accordance with the mask.
If the mask is presented in the form of "@@@.@@@.@@", then the method for the account "41.1" returns the string " 41. 1". The account's symbols will be added with spaces, the numeral fragments are squeezed to the right.

Availability:

Server, thick client, external connection.

Note:

For masks using other symbols, the personal account code value is returned.

Example:

Procedure BeforeWrite(Cancel)
    Order = GetCodeOrder();
EndProcedure


    

1C:Enterprise Developer's Community