RetailTransactionSalesTrans::totalStatementLoyaltyDiscount_RU Method
Calculates the sum of the discount amounts for a specified statement code.
Syntax
client server public static DiscAmount totalStatementLoyaltyDiscount_RU(RetailStatementId _statementId, RetailStatementCode _statementCode)
Run On
Called
Parameters
- _statementId
Type: RetailStatementId Extended Data Type
The statement number of a transaction.
- _statementCode
Type: RetailStatementCode Extended Data Type
A statement code value.
Return Value
Type: DiscAmount Extended Data Type
The loyalty discount amount of sales entries.