RetailStatementPost.postIETax Method [AX 2012]
Posts the tax amount based on the statement ID.
Syntax
public void postIETax(
str _documentNumber,
RetailTransactionIncomeExpenseTrans _transactionIncomeExpenseTrans,
TaxGroup _taxGroup,
TaxItemGroup _taxItemGroup,
Amount _amount,
CurrencyCode _currencyCode)
Run On
Server
Parameters
- _documentNumber
Type: str
The statement ID.
- _transactionIncomeExpenseTrans
Type: RetailTransactionIncomeExpenseTrans Table
A RetailTransactionIncomeExpenseTrans record.
- _taxGroup
Type: TaxGroup Extended Data Type
A TaxGroup object.
- _taxItemGroup
Type: TaxItemGroup Extended Data Type
A TaxItemGroup object.
- _amount
Type: Amount Extended Data Type
A Tax object that will be posted.
- _currencyCode
Type: CurrencyCode Extended Data Type
A CurrencyCode object.
Remarks
Based on the module type, tax will be initialized.