RetailTransactionServiceAX5::creditVoucherCreate Method [AX 2012]
Creates new record in the table RetailCreditVoucherTable.
Syntax
client server public static container creditVoucherCreate(
RetailStoreId _storeId,
RetailTerminalId _terminalId,
RetailStaffId _staffId,
RetailTransactionId _transactionId,
RetailReceiptId _receiptId,
RetailLineNum _lineNum,
CurrencyCode _currencyCode,
AmountMST _amountMST,
str _transDate,
str _transTime,
[int _dateSequence])
Run On
Called
Parameters
- _storeId
Type: RetailStoreId Extended Data Type
The store Id to be inserted to the new record.
- _terminalId
Type: RetailTerminalId Extended Data Type
The terminal Id to be inserted to the new record.
- _staffId
Type: RetailStaffId Extended Data Type
The staff Id to be inserted to the new record.
- _transactionId
Type: RetailTransactionId Extended Data Type
The transaction Id to be inserted to the new record.
- _receiptId
Type: RetailReceiptId Extended Data Type
The receipt Id to be inserted to the new record.
- _lineNum
Type: RetailLineNum Extended Data Type
The line num to be inserted to the new record.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code to be inserted to the new record.
- _amountMST
Type: AmountMST Extended Data Type
The amount MST to be inserted to the new record.
- _transDate
Type: str
The trans date to be inserted to the new record.
- _transTime
Type: str
The trans time to be inserted to the new record.
- _dateSequence
Type: int
The format of the date.
Return Value
Type: container
A container with a boolean value along with message to indicate if the record is created successfully.