Get Account from LedgerDimension

If you are using Ledger* table , you can have the field LedgerDimension (which extends LedgerDimensionAccount).

This field contain multiple information. For example the CustAccount.

To retreive the CustAccount from this field, use this piece of code:

custAccount = DimensionStorage::ledgerDimension2AccountNum(bankCodaAccountStatementLines.LedgerDimension);
Advertisements