RetailTransactionServiceTransactions::validateGiftCard Method [AX 2012]

Method is used for validating the gift cards.

client server public static container validateGiftCard(
    RetailGiftCardId _dataEntryId, 
    RetailChannelRecId _channelId, 
    RetailTerminalId _terminalId, 
   [boolean _skipReserveValidation])

Run On

Called

Parameters

_dataEntryId
Type: RetailGiftCardId Extended Data Type
ID of the RetailGiftCardTable.entryId field.
_channelId
Type: RetailChannelRecId Extended Data Type
ID of the RetailGiftCardTable.channel field.
_terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailGiftCardTable.reservedByTerminalId field.
_skipReserveValidation
Type: boolean
Skip gift card reserve validation sign.

Return Value

Type: container
The status as a container.

ExceptionCondition
UpdateConflictNotRecovered

A conflict occurred that could not be recovered from when updating.

UpdateConflict

An update conflict occurred.

Show: