LedgerInterCompany.getLedgerDimensionForAmount Method
Gets the specified ledger dimension field.
Syntax
public LedgerDimensionDefaultAccount getLedgerDimensionForAmount(Amount _amount)
Run On
Called
Parameters
- _amount
Type: Amount Extended Data Type
The amount to use to find the account.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger dimension field.
Remarks
When the amount is positive or zero the DebitLedgerDimension field is returned; otherwise, the CreditLedgerDimension field is returned.