RetailTransactionTable::discAmountByTerminal Method [AX 2012]

Gets the number of transactions with discount amount for the specified terminal.

client server public static real discAmountByTerminal(
    RetailTerminalId _terminal, 
    FromDate _fromDate, 
    ToDate _toDate, 
    FromTime _timeFrom, 
    ToTime _timeTo)

Run On

Called

Parameters

_terminal
Type: RetailTerminalId Extended Data Type
The Id number of the point of sale terminal.
_fromDate
Type: FromDate Extended Data Type
The starting date of the transaction.
_toDate
Type: ToDate Extended Data Type
The ending date of the transaction.
_timeFrom
Type: FromTime Extended Data Type
The starting time of the transaction.
_timeTo
Type: ToTime Extended Data Type
The ending time of the transaction.

Return Value

Type: real
The number of transactions with discount amount.
Show: