RetailTransactionSalesTrans::totalDiscountAmount Method

Calculates the sum of the discount amounts for a specified store and shelf.

Syntax

client server public static DiscAmount totalDiscountAmount(
    RetailStoreId _storeId, 
    RetailSectionId _sectionId, 
    date _dateFilter, 
    TimeOfDay _timeFilter)

Run On

Called

Parameters

  • _dateFilter
    Type: date
    A transaction date value.
  • _timeFilter
    Type: timeOfDay
    A transaction time value.

Return Value

Type: DiscAmount Extended Data Type
The total discount amount of the transactions for the specified store.

See Also

Reference

RetailTransactionSalesTrans Table