LedgerConsolidate::initMainAccount Method [AX 2012]
Initializes the specified ledger account.
client server public static MainAccountNum initMainAccount(
CompanyId _companyId,
MainAccountNum _accountNum,
AccountName _accountName,
MainAccountNum _originalAccountNum,
boolean _useConsolidationAccount,
[MainAccountNum _errorAccount])
Run On
CalledParameters
- _companyId
- Type: CompanyId Extended Data Type
The subsidiary company ID.
- _accountNum
- Type: MainAccountNum Extended Data Type
The main account to initialize.
- _accountName
- Type: AccountName Extended Data Type
The description of the main account to initialize.
- _originalAccountNum
- Type: MainAccountNum Extended Data Type
The original main account associated with the account number.
- _useConsolidationAccount
- Type: boolean
A Boolean value that indicates whether the subsidiary company main account has specific consolidated company account mapping.
- _errorAccount
- Type: MainAccountNum Extended Data Type
The error main account.
Show: