RetailTransactionServiceTransactions::voidCreditMemoPayment Method [AX 2012]

Method checks for the status of the credit voucher i.e., voucher is in use or the voucher has any errors or the voucher does not exists.

client server public static container voidCreditMemoPayment(
    RetailDataEntryId _dataEntryId, 
    RetailStoreId _storeId, 
    RetailTerminalId _terminalId)

Run On

Called

Parameters

_dataEntryId
Type: RetailDataEntryId Extended Data Type
ID of the RetailCreditVoucherTable.entryId field.
_storeId
Type: RetailStoreId Extended Data Type
ID of the RetailCreditVoucherTable.reservedByStoreId field.
_terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailCreditVoucherTable.reservedByTerminalId field.

Return Value

Type: container
Container

ExceptionCondition
UpdateConflictNotRecovered

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

UpdateConflict

An update conflict occurred.

Show: