Share via


TaxLedgerAccountGroup.validateAccountForTaxDirection Method

Validates that the specified account is provided for the specified tax direction.

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 void validateAccountForTaxDirection(
            TaxDirection _taxDirection, 
           [boolean _validatingUseTaxPayable, 
            boolean _validatingExchangeRateTaxDifference, 
            boolean _validatingExchangeRateTaxDifferenceOffset])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void validateAccountForTaxDirection(
            TaxDirection _taxDirection, 
           [boolean _validatingUseTaxPayable, 
            boolean _validatingExchangeRateTaxDifference])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void validateAccountForTaxDirection(TaxDirection _taxDirection, [boolean _validatingUseTaxPayable])

  Microsoft Dynamics AX 2012 (FPK)
          public void validateAccountForTaxDirection(TaxDirection _taxDirection, [boolean _validatingUseTaxPayable])

  Microsoft Dynamics AX 2012 (SYS)
          public void validateAccountForTaxDirection(TaxDirection _taxDirection, [boolean _validatingUseTaxPayable])

Run On

Called

Parameters

  • _validatingUseTaxPayable
    Type: boolean
    true if we are to validate the use tax payable account; otherwise, false; optional.
  • _validatingExchangeRateTaxDifference
    Type: boolean
    true if we are to validate the tax exchange rate difference account; otherwise, false; optional.
  • _validatingExchangeRateTaxDifferenceOffs
    Type: boolean

See Also

Reference

TaxLedgerAccountGroup Table