Share via


RetailTransactionSalesTrans::totalStatementDiscount Method

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

Return Value

Type: DiscAmount Extended Data Type
The total discount amount of sales entries.

See Also

Reference

RetailTransactionSalesTrans Table