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 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
- _accountNum
Type: AccountNum Extended Data Type
Customer or vendor account number.
- _taxWithholdGroup
Type: TaxWithholdGroup Extended Data Type
Given withholding tax group.
- _transDate
Type: TransDate Extended Data Type
Transaction date.
- _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.
- _purchId
Type: PurchIdBase Extended Data Type
Purchase order Id.
- _salesId
Type: SalesIdBase Extended Data Type
Sales order Id.
- _journalNum
Type: LedgerJournalId Extended Data Type
Journal number.
- _amountCurDebit
Type: AmountCur Extended Data Type
Debit amount of journal in transaction currency.
- _amountCurCredit
Type: AmountCur Extended Data Type
Credit amount of journal in transaction currency.
- _accountType
Type: LedgerJournalACType Enumeration
Given account type.
- _offsetAccountType
Type: LedgerJournalACType Enumeration
Given offset account type.
- _custVendInfo
Type: container
Customer or vendor information.
- _adjusted
Type: boolean
Indicates whether it is adjusted.
- _cpOrigRefRecId
Type: RefRecId Extended Data Type
The original reference record Id for centralized payment.
- _isOnJewelry
Type: boolean
- _isByCash
Type: boolean
Return Value
Type: AmountCur Extended Data Type
Calculated withholding tax amount.