RetailTransactionSalesTrans::fromTototalqty Method
Calculates the total quantity for a specified retail department that is based on the retail group and item values for the specified transaction dates.
Syntax
client server public static Qty fromTototalqty(
EcoResCategoryId _categoryId,
ItemId _itemId,
[date _dateFrom,
date _dateTo,
TimeOfDay _timeFrom,
TimeOfDay _timeto,
RetailEntryStatus _statusfrom,
RetailEntryStatus _statusto])
Run On
Called
Parameters
- _categoryId
Type: EcoResCategoryId Extended Data Type
A category value.
- _itemId
Type: ItemId Extended Data Type
The ID of the item.
- _dateFrom
Type: date
A from date value.
- _dateTo
Type: date
A to date value.
- _timeFrom
Type: timeOfDay
A from time value.
- _timeto
Type: timeOfDay
A to time value.
- _statusfrom
Type: RetailEntryStatus Enumeration
A from entry status value.
- _statusto
Type: RetailEntryStatus Enumeration
A to entry status value.
Return Value
Type: Qty Extended Data Type
The total quantity of the sales transaction.