RetailTransactionServiceTransactions::getTransaction Method [AX 2012]
Method is used for retrieving the sales transactions. Performs the following: 1.Adds transaction details.
2.Adds item details.
3.Adds loyalty.
Performs the following validations: 1.No transactions for the receipt ID.
2.Too many transactions were found for receipt ID.
client server private static container getTransaction(RetailTransactionTable transactionTable, container output)
Run On
CalledParameters
- transactionTable
- Type: RetailTransactionTable Table
RetailTransactionTable.
- output
- Type: container
The output container.
RetailTransactionService.fillTransactionTable method returns the container transTable having the data of the RetailTransactionTable.
RetailTransactionService.fillSalesTrans method returns the container salesTrans having the data of the RetailTransactionSalesTrans table.
RetailTransactionService.fillLoyaltyTrans method returns container with the loyalty card number.
RetailTransactionService.fillDiscountTrans method returns the container discountTrans having the data of the RetailTransactionDiscountTrans table.