PurchReqConsolidationLine::applyDiscount Method
Updates the PurchReqConsolidationLine records with the discount amount.
Syntax
server public static void applyDiscount(List _purchReqConsolidationLine, PurchReqConsolidationMultiEdit _multiEdit)
Run On
Server
Parameters
- _purchReqConsolidationLine
Type: List Class
The current PurchReqConsolidationLine list of record IDs.
- _multiEdit
Type: PurchReqConsolidationMultiEdit Class
The instantiated dialog class provided to the user to enter the discount value.
Exceptions
Exception | Condition |
---|---|
Error | A PurchReqConsolidationLine record is missing either a vendor or a purchase price. |