Share via


TaxWithholdCalculation_IN.totalTaxWithhold Method [AX 2012]

Calculates withholding tax.

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
          public AmountCur totalTaxWithhold(
            AccountNum _accountNum, 
            TaxWithholdGroup _taxWithholdGroup, 
            TransDate _transDate, 
            container _taxWithholdData, 
           [boolean _recoverable, 
            boolean _advancePayment, 
            PurchIdBase _purchId, 
            SalesIdBase _salesId, 
            LedgerJournalId _journalNum, 
            AmountCur _amountCurDebit, 
            AmountCur _amountCurCredit, 
            LedgerJournalACType _accountType, 
            LedgerJournalACType _offsetAccountType, 
            container _custVendInfo, 
            boolean _adjusted, 
            RefRecId _cpOrigRefRecId, 
            boolean _isOnJewelry, 
            boolean _isByCash])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public AmountCur totalTaxWithhold(
            AccountNum _accountNum, 
            TaxWithholdGroup _taxWithholdGroup, 
            TransDate _transDate, 
            container _taxWithholdData, 
           [boolean _recoverable, 
            boolean _advancePayment, 
            PurchIdBase _purchId, 
            SalesIdBase _salesId, 
            LedgerJournalId _journalNum, 
            AmountCur _amountCurDebit, 
            AmountCur _amountCurCredit, 
            LedgerJournalACType _accountType, 
            LedgerJournalACType _offsetAccountType, 
            container _custVendInfo, 
            boolean _adjusted, 
            RefRecId _cpOrigRefRecId])

Run On

Server

Parameters

  • _taxWithholdData
    Type: container
    Withholding tax information.
  • _recoverable
    Type: boolean
    Indicates whether it is withholding tax recoverable transaction.
  • _advancePayment
    Type: boolean
    Indicates whether it is vendor/customer payment with TCS.
  • _custVendInfo
    Type: container
    Customer or vendor information.
  • _adjusted
    Type: boolean
    Indicates whether it is adjusted.

Return Value

Type: AmountCur Extended Data Type
Calculated withholding tax amount.

See Also

Reference

TaxWithholdCalculation_IN Class