Share via


RetailTransactionSalesTrans::fromTototalCostAmount Method

Calculates the total cost amount for a specified retail department based on the retail group and item values for the specified transaction dates.

Syntax

client server public static RetailNetAmount fromTototalCostAmount(
    EcoResCategoryId _categoryId, 
    ItemId _itemId, 
   [date _dateFrom, 
    date _dateTo, 
    TimeOfDay _timeFrom, 
    TimeOfDay _timeto])

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 cost amount of the sales transaction.

See Also

Reference

RetailTransactionSalesTrans Table