MainAccount::getLocalizedNameByMainAccountId Method
Gets the localized name of the specified main account ID.
Syntax
client server public static AccountName getLocalizedNameByMainAccountId(MainAccountNum _mainAccountId, [LedgerChartOfAccountsRecId _chartOfAccountsRecId])
Run On
Called
Parameters
- _mainAccountId
Type: MainAccountNum Extended Data Type
The main account ID.
- _chartOfAccountsRecId
Type: LedgerChartOfAccountsRecId Extended Data Type
The LedgerChartOfAccounts record ID.
Return Value
Type: AccountName Extended Data Type
The localized name of the specified main account if a localization exists; otherwise, the invariant name.