RetailStatementLine::totalDifferenceAmountMST Method [AX 2012]

Calculates the sum of all the differenceAmountMST field values of the RetailStatementLine table with specified statement ID value.

client server public static RetailDifferenceAmountMST totalDifferenceAmountMST(RetailStatementId _statementId)

Run On



Type: RetailStatementId Extended Data Type
The statement ID value of the statement lines to be filtered.

Return Value

Type: RetailDifferenceAmountMST Extended Data Type
The total difference amount MST value; otherwise 0.