Tax::checkNoTax Method [AX 2012]
Verifies whether the corresponding records from the sales tax group and the item sales tax group have a common tax code.
server public static boolean checkNoTax(
MainAccount _mainAccount,
TaxGroup _taxGroup,
TaxItemGroup _taxItemGroup,
[TaxCode _taxCode])
Run On
ServerParameters
- _mainAccount
- Type: MainAccount Table
The general ledger module account record for which the check will be done.
- _taxGroup
- Type: TaxGroup Extended Data Type
The tax group number to check.
- _taxItemGroup
- Type: TaxItemGroup Extended Data Type
The tax item group number to check.
- _taxCode
- Type: TaxCode Extended Data Type
The tax code number to check.
Return Value
Type: booleantrue if the tax code is specified, but it is not required for the posting account; otherwise, false.
Show: