RetailTransactionServiceAX61::creditVoucherCreate Method [AX 2012]

Method is used for creating the record in RetailCreditVoucherTable.

Syntax

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

Run On

Called

Parameters

  • _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

Exceptions

Exception Condition
UpdateConflictNotRecovered

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

UpdateConflict

An update conflict occurred.

See Also

Reference

RetailTransactionServiceAX61 Class