ReqRequisitionsHelper.initReqTransFromRequisitionLine Method [AX 2012]
Initializes a new ReqTrans record, based on a requisition line and additional required information.
Syntax
public boolean initReqTransFromRequisitionLine(
ReqTrans _reqTrans,
PurchReqLine _purchReqLine,
[BOMLevel _level,
ReqSetupDim _setupDim,
InventDimGroupSetup _inventDimGroupSetup])
Run On
Called
Parameters
- _reqTrans
Type: ReqTrans Table
The ReqTrans record to initialize.
- _purchReqLine
Type: PurchReqLine Table
The requisition line record.
- _level
Type: BOMLevel Extended Data Type
The BOM level of the item; optional.
- _setupDim
Type: ReqSetupDim Class
Item coverage settings for the dimensions of the requisition line; optional.
- _inventDimGroupSetup
Type: InventDimGroupSetup Class
Item dimension setup information; optional.
Return Value
Type: boolean
true if initialization was successful; otherwise, false.