ReqJobUpdate::newReqPo Method [AX 2012]

Initializes a new instance of the ReqJobUpdate class based on a planned production order.

server public static ReqJobUpdate newReqPo(
    ReqPO _reqPO, 
    BOMCalcData _bomCalcData, 
   [boolean _deleteCapacityReservations, 
    Map _jobUpdateCache])

Run On

Server

Parameters

_reqPO
Type: ReqPO Table
A ReqPO record that contains the planned production order data.
_bomCalcData
Type: BOMCalcData Class
A BOMCalcData instance that contains BOM calculation information.
_deleteCapacityReservations
Type: boolean
A Boolean value that indicates whether to delete or not the capacity reservations for the given planned order.
_jobUpdateCache
Type: Map Class
A Map object that holds a cache of updated and created jobs for planned orders created during the MRP run.

Return Value

Type: ReqJobUpdate Class
A new instance of the ReqJobUpdate class.
Show: