ChartOfAccountsObject.<Chart of accounts name>.GetCodeOrder

Syntax:

GetCodeOrder()

Returned value:

Type: String.

Description:

Converts the account code in accordance with the account's mask. Spaces are added if the code has fewer digits. The code's number fragments are squeezed to the right.
For instance, the account "41.1" with the "@@@.@@@.@@" mask returns the string "41. 1".

Availability:

Server, thick client, external connection.

Note:

Only for accounts with masks using the "@" and "." symbols.

Example:

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


    

1C:Enterprise Developer's Community