RetailTransactionSalesTrans::fromTototalDiscAmount Method

Calculates the total discount amount 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 RetailNetAmount fromTototalDiscAmount(
    EcoResCategoryId _categoryId, 
    ItemId _itemId, 
   [date _dateFrom, 
    date _dateTo, 
    TimeOfDay _timeFrom, 
    TimeOfDay _timeto, 
    RetailEntryStatus _statusfrom, 
    RetailEntryStatus _statusto])

Run On

Called

Parameters

  • _dateFrom
    Type: date
    A from date value.
  • _dateTo
    Type: date
    A to date value.
  • _timeFrom
    Type: timeOfDay
    A from time value.

Return Value

Type: RetailNetAmount Extended Data Type
The total discount amount of the sales transaction.

See Also

Reference

RetailTransactionSalesTrans Table