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.
Calculates the witholding tax rate for specified withholding tax group and transaction date.
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 real rateOfDeduction(
TaxWithholdGroup _taxWithholdGroup,
TransDate _invoiceDate,
[AccountNum _accountNum,
boolean _isVendTransaction,
AmountMST _curTransLineAmountMST])
Microsoft Dynamics AX 2012 R2 (SYS)
public real rateOfDeduction(
TaxWithholdGroup _taxWithholdGroup,
TransDate _invoiceDate,
[AccountNum _accountNum,
boolean _isVendTransaction])
Run On
Server
Parameters
- _taxWithholdGroup
Type: TaxWithholdGroup Extended Data Type
Witholding tax group.
- _invoiceDate
Type: TransDate Extended Data Type
Transaction date.
- _accountNum
Type: AccountNum Extended Data Type
Customer or vendor account number.
- _isVendTransaction
Type: boolean
Indicates whether transaction is for vendor.
- _curTransLineAmountMST
Type: AmountMST Extended Data Type
Return Value
Type: real
Returns the calculated withholding tax rate.