Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates the sum of the discount amounts for a specified statement code.
Syntax
client server public static DiscAmount totalStatementDiscount(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 discount amount of sales entries.