TaxFiscalDocumentTax_BR.determineTaxationCode_BR Method [AX 2012]
Determines the TaxationCodeTable_BR record by the TaxOnItem, TaxGroupData, or TaxCode record.
Syntax
protected TaxationCodeTable_BR determineTaxationCode_BR(
TaxCode _taxCode,
TaxOnItem _taxOnItem,
TaxGroupData _taxGroupData)
Run On
Server
Parameters
- _taxCode
Type: TaxCode Extended Data Type
A TaxCode record to use to find the TaxationCodeTable_BR record.
- _taxOnItem
Type: TaxOnItem Table
A TaxOnItem record to use to find the TaxationCodeTable_BR record when TaxOnItem.TaxationCodeTable_BR is filled.
- _taxGroupData
Type: TaxGroupData Table
A TaxGroupData record to use to find the TaxationCodeTable_BR record when TaxGroupData.ExemptTax is true.
Return Value
Type: TaxationCodeTable_BR Table
The filled TaxationCodeTable_BR record that is found; otherwise, an empty TaxationCodeTable_BR record.