RetailTaxSales.new Method [AX 2012]
Initializes the RetailTaxSales object and the variables that are associated with it.
Syntax
public void new(
RetailTransactionTable _transactionTable,
RetailTaxGroup _taxGroup,
TaxItemGroup _taxItemGroup,
InventTransId _inventTransId,
Name _txt,
DimensionDefault _dimension,
NoYes _post,
LedgerVoucher _ledgerVoucher)
Run On
Server
Parameters
- _transactionTable
Type: RetailTransactionTable Table
A record from the RetailTransactionTable table.
- _taxGroup
Type: RetailTaxGroup Extended Data Type
A TaxGroup object.
- _taxItemGroup
Type: TaxItemGroup Extended Data Type
A TaxItemGroup object.
- _inventTransId
Type: InventTransId Extended Data Type
A InventTransID object.
- _txt
Type: Name Extended Data Type
A Name object.
- _dimension
Type: DimensionDefault Extended Data Type
A DimensionDefault object.
- _post
Type: NoYes Enumeration
A Boolean value that indicates whether to post.
- _ledgerVoucher
Type: LedgerVoucher Class
An instance of the LedgerVoucher class.