RetailTerminalTable.discount Method [AX 2012]

Calculates the discounted amount of the transactions done by the current terminal for a given time.

public RetailDiscAmount discount(
    FromDate _fromDate, 
    ToDate _toDate, 
    FromTime _fromTime, 
    ToTime _toTime)

Run On

Called

Parameters

_fromDate
Type: FromDate Extended Data Type
The current value of the starting date.
_toDate
Type: ToDate Extended Data Type
The current value of the ending date.
_fromTime
Type: FromTime Extended Data Type
The current value of starting date.
_toTime
Type: ToTime Extended Data Type
The current value of ending time.

Return Value

Type: RetailDiscAmount Extended Data Type
The discounted amount of the transactions done by the current terminal for a given time.
Show: