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.
Creates the record in the RetailGiftCardTransactions table.
Syntax
client server public static container giftCardAddTo(
RetailGiftCardId _cardNumber,
RetailStoreId _storeId,
RetailTerminalId _terminalId,
RetailStaffId _staffId,
RetailTransactionId _transactionId,
RetailReceiptId _receiptId,
CurrencyCode _currencyCode,
AmountMST _amountMST,
str _transDate,
str _transTime,
[int _dateSequence])
Run On
Called
Parameters
- _cardNumber
Type: RetailGiftCardId Extended Data Type
The ID of the RetailGiftCardTable.entryId field.
- _storeId
Type: RetailStoreId Extended Data Type
The ID of the RetailGiftCardTransactions.storeId field.
- _terminalId
Type: RetailTerminalId Extended Data Type
The ID of the RetailGiftCardTransactions.terminalId field.
- _staffId
Type: RetailStaffId Extended Data Type
The ID of the RetailGiftCardTransactions.staffId field.
- _transactionId
Type: RetailTransactionId Extended Data Type
The ID of the RetailGiftCardTransactions.transactionId field.
- _receiptId
Type: RetailReceiptId Extended Data Type
The ID of the RetailGiftCardTransactions.receiptId field.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code.
- _amountMST
Type: AmountMST Extended Data Type
The value of the RetailGiftCardTransactions.amount field.
- _transDate
Type: str
The value of the RetailGiftCardTransactions.transDate field.
- _transTime
Type: str
The value of the RetailGiftCardTransactions.transTime field.
- _dateSequence
Type: int
The format of the date.
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
UpdateConflictNotRecovered | A conflict occurred that could not be recovered from when updating. |
UpdateConflict | An update conflict occurred. |