Share via


TaxReverse.getLedgerDimensionForChargeLine Method [AX 2012]

This method is used to get the correct LedgerDimensionAccount for charge posting.

Syntax

protected LedgerDimensionAccount getLedgerDimensionForChargeLine(TaxAmountCur _chargeAmount, LedgerDimensionAccount _operationLedgerDimension)

Run On

Server

Parameters

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.

See Also

Reference

TaxReverse Class