Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
client server public static container getTransactionSalesTrans(
RetailReceiptId receiptId,
[RetailStoreId storeId,
RetailTerminalId terminalId])
Run On
Called
Parameters
- receiptId
Type: RetailReceiptId Extended Data Type
ID of the RetailTransactionTable.receiptId field.
- storeId
Type: RetailStoreId Extended Data Type
ID of the RetailTransactionTable.store field.
- terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailTransactionTable.terminal field.
Return Value
Type: container
The status as a container.
Remarks
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 value in the RetailTransactionLoyaltyPointsTrans.cardNumber field.