Share via


TaxPostJournal.postToTaxTrans Method [AX 2012]

Posts a TaxTrans record.

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 postToTaxTrans(
            LedgerPostingController _ledgerPostingController, 
            TaxTrans _taxTrans, 
            CurrencyExchangeHelper _exchangeRateHelper, 
            Voucher _voucher, 
           [LedgerDimensionAccount _ledgerDimension, 
            LedgerDimensionAccount _operationLedgerDimension, 
            LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension, 
            SubledgerJournalAccountEntry _subledgerJournalAccountEntry])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void postToTaxTrans(
            LedgerPostingController _ledgerPostingController, 
            TaxTrans _taxTrans, 
            CurrencyExchangeHelper _exchangeRateHelper, 
           [LedgerDimensionAccount _ledgerDimension, 
            LedgerDimensionAccount _operationLedgerDimension, 
            LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension, 
            SubledgerJournalAccountEntry _subledgerJournalAccountEntry])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void postToTaxTrans(
            LedgerPostingController _ledgerPostingController, 
            TaxTrans _taxTrans, 
            CurrencyExchangeHelper _exchangeRateHelper)

  Microsoft Dynamics AX 2012 (FPK)
          protected void postToTaxTrans(
            LedgerPostingController _ledgerPostingController, 
            TaxTrans _taxTrans, 
            CurrencyExchangeHelper _exchangeRateHelper)

  Microsoft Dynamics AX 2012 (SYS)
          protected void postToTaxTrans(
            LedgerPostingController _ledgerPostingController, 
            TaxTrans _taxTrans, 
            CurrencyExchangeHelper _exchangeRateHelper)

Run On

Server

Parameters

  • _taxTrans
    Type: TaxTrans Table
    The transaction line that is being posted.
  • _exchangeRateHelper
    Type: CurrencyExchangeHelper Class
    An instance of the CurrencyExchHalper class that has the currency, exchange rates, and triangulation values set.

See Also

Reference

TaxPostJournal Class