ChartOfAccountsManager.<Chart of accounts name>.FindByCode
Syntax:
Parameters:
<Code> (required)
Search code.
<Parent> (optional)
Parent to be searched. If this is not specified, entire chart of accounts is searched.
Returned value:
If there is no item with the specified code, an empty reference is returned.
If code is not set (length = 0), will be returned Undefined.
Description:
Availability:
Example:
Parent = ChartsOfAccounts.Main.FindByCode(ParentCode); |