PurchReqConsolidationLine::applyOpportunities Method
Applies every value change made in the PurchReqConsolidationLine records to the corresponding PurchReqLine records.
Syntax
server public static void applyOpportunities(
List _listToUpdate,
List _listToReject,
PurchReqConsolidation _purchReqConsolidation)
Run On
Server
Parameters
- _listToUpdate
Type: List Class
A list that contains PurchReqConsolidationnLine record IDs to update.
- _listToReject
Type: List Class
A list that contains PurchReqConsolidationnLine record IDs to reject.
- _purchReqConsolidation
Type: PurchReqConsolidation Table
The PurchReqConsolidation record to update the consolidation status to Closed.
Remarks
If no changes were made to a PurchReqConsolidationLine record, the consolidation status of the corresponding PurchReqLine record is set to Consolidation Rejected.