Share via


RetailTransactionService::creditVoucherUpdate Method [AX 2012]

Updates the record in the RetailCreditVoucherTable table.

Syntax

client server public static container creditVoucherUpdate(
    RetailDataEntryId _dataEntryId, 
    RetailStoreId _storeId, 
    RetailTerminalId _terminalId, 
    RetailStaffId _staffId, 
    RetailTransactionId _transactionId, 
    RetailReceiptId _receiptId, 
    RetailLineNum _lineNum, 
    AmountMST _amountMST, 
    str _transDate, 
    str _transTime, 
   [int _dateSequence])

Run On

Called

Parameters

  • _transDate
    Type: str
    The value of the RetailCreditVoucherTable.transDate field.
  • _transTime
    Type: str
    The value of the RetailCreditVoucherTable.transTime field.
  • _dateSequence
    Type: int
    The format of the date.

Return Value

Type: container
The specified container.

Exceptions

Exception Condition
UpdateConflictNotRecovered

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

UpdateConflict

An update conflict occurred.

See Also

Reference

RetailTransactionService Class