RetailTransactionTable::numberOfSalesTransactionsByTerminal Method
Gets the number of sales transactions with the specified date and time for a terminal.
Syntax
client server public static int numberOfSalesTransactionsByTerminal(
RetailTerminalId _terminalId,
FromDate _fromDate,
ToDate _toDate,
FromTime _timeFrom,
ToTime _timeTo)
Run On
Called
Parameters
- _terminalId
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 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: int
The total number of sales transactions in the specified date and time.