Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is used to get the correct LedgerDimensionAccount for charge posting.
Syntax
protected LedgerDimensionAccount getLedgerDimensionForChargeLine(TaxAmountCur _chargeAmount, LedgerDimensionAccount _operationLedgerDimension)
Run On
Server
Parameters
- _chargeAmount
Type: TaxAmountCur Extended Data Type
The charge amount to post.
- _operationLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The LedgerDimensionAccount from the parent of this tax line.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The correct LedgerDimensionAccount, which should be the same as the expense/offset ledger account on the invoice or a due to/from account if the charge company and tax company is different.