RetailTransactionServiceAX61::creditVoucherUpdate Method [AX 2012]

Method is used for updating the record in RetailCreditVoucherTable.

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

_dataEntryId
Type: RetailDataEntryId Extended Data Type
ID of the RetailCreditVoucherTable.entryId field.
_storeId
Type: RetailStoreId Extended Data Type
ID of the RetailCreditVoucherTable.createdInStoreId field.
_terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailCreditVoucherTable.createdByTerminalId field.
_staffId
Type: RetailStaffId Extended Data Type
ID of the RetailCreditVoucherTable.createdByStaffId field.
_transactionId
Type: RetailTransactionId Extended Data Type
ID of the RetailCreditVoucherTable.createdByTransactionId field.
_receiptId
Type: RetailReceiptId Extended Data Type
ID of the RetailCreditVoucherTable.createdByReceipId field.
_lineNum
Type: RetailLineNum Extended Data Type
ID of the RetailCreditVoucherTable.createdByLineNum field.
_amountMST
Type: AmountMST Extended Data Type
Value for the RetailCreditVoucherTable.amount field.
_transDate
Type: str
Value for the RetailCreditVoucherTable.transDate field.
_transTime
Type: str
Value for the RetailCreditVoucherTable.transTime field.
_dateSequence
Type: int
Format of the date.

Return Value

Type: container
Container

ExceptionCondition
UpdateConflictNotRecovered

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

UpdateConflict

An update conflict occurred.

Show: