Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _tableId
Type: RefTableId Extended Data Type
Journal line tableId.
- _recId
Type: RefRecId Extended Data Type
Journal line recid.
- _taxWithholdGroup
Type: TaxWithholdGroup Extended Data Type
TaxWithholdGroup is used for rate of reduction calculation.
- _lineAmount
Type: AmountCur Extended Data Type
Journal line amount.
- _transDate
Type: TransDate Extended Data Type
Journal line transate.
- _accountNum
Type: AccountNum Extended Data Type
Customer is used to find the TaxWithholdTrans_IN record.
- _taxType
Type: TaxWithholdCodeType_IN Enumeration
Used to find the TaxWithholdTrans_IN record.
- _advancePayment
Type: boolean
Used to check if journal is advance payment.
- _isOnJewelry
Type: boolean
- _isByCash
Type: boolean
- _isSettled
Type: boolean
Return Value
Type: AmountCur Extended Data Type
returns grossAmount on which withhold tax must be calculated.