ReqIntercompanyDemand.initReqTransFromIntercompanyReqPO Method [AX 2012]
Initializes the required fields for an intercompany demand requirement transaction based on the data from a planned order in the customer company.
Syntax
public boolean initReqTransFromIntercompanyReqPO(
ReqTrans _reqTrans,
ReqPO _reqPO,
InventDim _custCovInventDim,
ReqIntercompanyConversionUtil _conversionUtil,
RefRecId _planVersion)
Run On
Called
Parameters
- _reqTrans
Type: ReqTrans Table
The ReqTrans record to populate.
- _reqPO
Type: ReqPO Table
The intercompany planned order from the customer company.
- _custCovInventDim
Type: InventDim Table
The customer company inventory dimensions record for the customer planned order.
- _conversionUtil
Type: ReqIntercompanyConversionUtil Class
An instance of the ReqIntercompanyConversionUtil class that is used to convert the values from the customer to the vendor company.
- _planVersion
Type: RefRecId Extended Data Type
The vendor company plan version where the master plans occur.
Return Value
Type: boolean
true if the demand was picked up and the ReqTrans fields were populated; otherwise, false.