PriceDisc::mcrFindPostageDisc Method [AX 2012]

Finds and calculates the amount and percent to discount postage.

server public static container mcrFindPostageDisc(SalesTable _salesTable, AmountCur _postageAmount)

Run On

Server

Parameters

_salesTable
Type: SalesTable Table
The sales order buffer in which discounting postage.
_postageAmount
Type: AmountCur Extended Data Type
The current postage amount.

Return Value

Type: container
A container that holds the amount to discount postage and the percentage to discount postage.
Show: