Share via


TaxWithholdJournal_IN.finalizeGrossAmountForCustJour Method [AX 2012]

The methods gets the grossAmount for customer on which withhold tax must be calculated for specified journal Line.

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 finalizeGrossAmountForCustJour(
            RefTableId _tableId, 
            RefRecId _recId, 
            TaxWithholdGroup _taxWithholdGroup, 
            AmountCur _lineAmount, 
            TransDate _transDate, 
            AccountNum _accountNum, 
            TaxWithholdCodeType_IN _taxType, 
           [boolean _advancePayment, 
            boolean _isOnJewelry, 
            boolean _isByCash, 
            boolean _isSettled])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public AmountCur finalizeGrossAmountForCustJour(
            RefTableId _tableId, 
            RefRecId _recId, 
            TaxWithholdGroup _taxWithholdGroup, 
            AmountCur _lineAmount, 
            TransDate _transDate, 
            AccountNum _accountNum, 
            TaxWithholdCodeType_IN _taxType, 
           [boolean _advancePayment])

Run On

Server

Parameters

  • _advancePayment
    Type: boolean
    Used to check if journal is advance payment.

Return Value

Type: AmountCur Extended Data Type
returns grossAmount on which withhold tax must be calculated.

See Also

Reference

TaxWithholdJournal_IN Class