RetailTransactionSalesTrans::totalStatementLineDiscount Method
Calculates the sum of the line discount amounts for a specified statement code.
Syntax
client server public static DiscAmount totalStatementLineDiscount(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 total line discount amount of sales entries.