TaxSettlement.post Method [AX 2012]
Creates ledger postings for reversed tax transactions.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
protected void post(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
TaxAmount _taxAmount,
TaxAmount _chargeAmount,
CurrencyExchangeHelper _exchRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[LedgerDetailLevel _ledgerDetailLevel,
ProjLedger _projLedger,
LedgerDimensionAccount _offsetLedgerDimension,
AmountMSTSecondary _amountMSTSecondary])
Microsoft Dynamics AX 2012 R2 (SYS)
protected void post(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
TaxAmount _taxAmount,
TaxAmount _chargeAmount,
CurrencyExchangeHelper _exchRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[LedgerDetailLevel _ledgerDetailLevel,
ProjLedger _projLedger,
LedgerDimensionAccount _offsetLedgerDimension,
AmountMSTSecondary _amountMSTSecondary])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected void post(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
TaxAmount _taxAmount,
TaxAmount _chargeAmount,
CurrencyExchangeHelper _exchRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[LedgerDetailLevel _ledgerDetailLevel,
ProjLedger _projLedger])
Microsoft Dynamics AX 2012 (FPK)
protected void post(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
TaxAmount _taxAmount,
TaxAmount _chargeAmount,
CurrencyExchangeHelper _exchRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[LedgerDetailLevel _ledgerDetailLevel,
ProjLedger _projLedger])
Microsoft Dynamics AX 2012 (SYS)
protected void post(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
TaxAmount _taxAmount,
TaxAmount _chargeAmount,
CurrencyExchangeHelper _exchRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[LedgerDetailLevel _ledgerDetailLevel,
ProjLedger _projLedger])
Run On
Server
Parameters
- _ledgerPostingController
Type: LedgerPostingController Class
Posting controller that will be used for posting
- _taxTrans
Type: TaxTrans Table
The reversed tax transaction.
- _taxAmount
Type: TaxAmount Extended Data Type
The total tax amount to be reversed.
- _chargeAmount
Type: TaxAmount Extended Data Type
The total tax charge amount to be reversed.
- _exchRateHelper
Type: CurrencyExchangeHelper Class
The currency conversion helper.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The ledger dimension.
- _operationLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
- _taxOffsetUseTaxLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The offset ledger dimension.
- _ledgerDetailLevel
Type: LedgerDetailLevel Enumeration
The ledger detail level for posting.
- _projLedger
Type: ProjLedger Class
- _offsetLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
- _amountMSTSecondary
Type: AmountMSTSecondary Extended Data Type