RetailTransactionServiceAX5::creditVoucherCreate Method [AX 2012]

Creates new record in the table 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
    The trans date to be inserted to the new record.
  • _transTime
    Type: str
    The trans time to be inserted to the new record.
  • _dateSequence
    Type: int
    The format of the date.

Return Value

Type: container
A container with a boolean value along with message to indicate if the record is created successfully.

See Also

Reference

RetailTransactionServiceAX5 Class