MCRCustCreditTable.generateMiscCharge Method
Creates the misc charge and applies it to the returned line. This ensures the customer does not get more money than they should.
Syntax
public void generateMiscCharge(
InventTransId _returnTransID,
InventTransId _origTransID,
[boolean _displayWarning])
Run On
Called
Parameters
- _returnTransID
Type: InventTransId Extended Data Type
The InventTransID of the return order.
- _origTransID
Type: InventTransId Extended Data Type
The InventTransID of the original order.
- _displayWarning
Type: boolean
The Boolean determining whether or not to show warnings; optional.
Exceptions
Exception | Condition |
---|---|
Error | Error describing the nature of the problem. |
Remarks
MarkupCategory is always based on pcs when implemented via this method.