RetailGiftCardTransactions::add Method
Creates a record in the RetailGiftCardTransactions table.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static void add(
RetailGiftCardOperation _operationType,
RetailGiftCardId _cardNumber,
RetailChannelRecId _channelId,
RetailTerminalId _terminalId,
RetailStaffId _staffId,
RetailTransactionId _transactionId,
RetailReceiptId _receiptId,
AmountMST _amountMST,
RetailtransDate _transDate,
RetailTransTime _transTime)
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void add(
RetailGiftCardOperation _operationType,
RetailGiftCardId _cardNumber,
RetailStoreId _storeId,
RetailTerminalId _terminalId,
RetailStaffId _staffId,
RetailTransactionId _transactionId,
RetailReceiptId _receiptId,
AmountMST _amountMST,
RetailtransDate _transDate,
RetailTransTime _transTime)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void add(
RetailGiftCardOperation _operationType,
RetailGiftCardId _cardNumber,
RetailStoreId _storeId,
RetailTerminalId _terminalId,
RetailStaffId _staffId,
RetailTransactionId _transactionId,
RetailReceiptId _receiptId,
AmountMST _amountMST,
RetailtransDate _transDate,
RetailTransTime _transTime)
Run On
Called
Parameters
- _operationType
Type: RetailGiftCardOperation Enumeration
The operation type of the operation field.
- _cardNumber
Type: RetailGiftCardId Extended Data Type
The ID number of the gift card.
- _channelId
Type: RetailChannelRecId Extended Data Type
The channel id.
- _terminalId
Type: RetailTerminalId Extended Data Type
The ID number of the terminal.
- _staffId
Type: RetailStaffId Extended Data Type
The ID number of the staff.
- _transactionId
Type: RetailTransactionId Extended Data Type
The ID number of the transaction.
- _receiptId
Type: RetailReceiptId Extended Data Type
The ID number of the receipt.
- _amountMST
Type: AmountMST Extended Data Type
The amount of MST.
- _transDate
Type: RetailtransDate Extended Data Type
The transaction date.
- _transTime
Type: RetailTransTime Extended Data Type
The transaction time.