BankStatementTaxLine.getDefaultTaxDirection Method [AX 2012]
Gets the default tax direction for the transaction.
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 TaxDirection getDefaultTaxDirection(TaxGroupData _taxGroupData, SelectableDataArea _taxObligationCompany)
Microsoft Dynamics AX 2012 R2 (SYS)
public TaxDirection getDefaultTaxDirection(TaxGroupData _taxGroupData)
Run On
Called
Parameters
- _taxGroupData
Type: TaxGroupData Table
The TaxGroupData record that represents the tax code that is being considered.
- _taxObligationCompany
Type: SelectableDataArea Extended Data Type
Return Value
Type: TaxDirection Enumeration
The default tax direction.
Remarks
A customer transaction will typically have a tax direction of sales tax payable. A vendor-facing transaction will typically have a tax direction of sales tax receivable.