ReqTransPOCreate.insertFromReqPo Method [AX 2012]

Initializes and inserts a ReqTrans record.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public void insertFromReqPo(
            ReqTrans _reqTransPO, 
            ReqPO _reqPO, 
            boolean _usingThreads, 
           [ReqPlanData _reqPlanData, 
            ReqSetupDim _setupDim, 
            List _scheduleOrdersList, 
            ReqCalcRecordCacheInventDim _reqCalcRecordCacheInventDim, 
            ReqCalcRecordCacheUnitOfMeasure _reqCalcRecordCacheUnitOfMeasure, 
            ReqTrans _issue, 
            InventDim _coInventDim, 
            ItemId _coItemId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void insertFromReqPo(
            ReqTrans _reqTransPO, 
            ReqPO _reqPO, 
            boolean _usingThreads, 
           [ReqPlanData _reqPlanData, 
            ReqSetupDim _setupDim, 
            List _scheduleOrdersList, 
            ReqCalcRecordCacheInventDim _reqCalcRecordCacheInventDim, 
            ReqCalcRecordCacheUnitOfMeasure _reqCalcRecordCacheUnitOfMeasure, 
            ReqTrans _issue, 
            InventDim _coInventDim, 
            ItemId _coItemId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void insertFromReqPo(
            ReqTrans _reqTransPO, 
            ReqPO _reqPO, 
            boolean _usingThreads, 
           [ReqPlanData _reqPlanData, 
            ReqSetupDim _setupDim, 
            List _scheduleOrdersList, 
            ReqCalcRecordCacheInventDim _reqCalcRecordCacheInventDim, 
            ReqCalcRecordCacheUnitOfMeasure _reqCalcRecordCacheUnitOfMeasure, 
            ReqTrans _issue, 
            InventDim _coInventDim, 
            ItemId _coItemId])

  Microsoft Dynamics AX 2012 (FPK)
          public void insertFromReqPo(
            ReqTrans _reqTransPO, 
            ReqPO _reqPO, 
            boolean _usingThreads, 
           [ReqPlanData _reqPlanData, 
            ReqSetupDim _setupDim, 
            List _scheduleOrdersList, 
            ReqCalcRecordCacheInventDim _reqCalcRecordCacheInventDim, 
            ReqCalcRecordCacheUnitOfMeasure _reqCalcRecordCacheUnitOfMeasure, 
            ReqTrans _issue])

  Microsoft Dynamics AX 2012 (SYS)
          public void insertFromReqPo(
            ReqTrans _reqTransPO, 
            ReqPO _reqPO, 
            boolean _usingThreads, 
           [ReqPlanData _reqPlanData, 
            ReqSetupDim _setupDim, 
            List _scheduleOrdersList, 
            ReqCalcRecordCacheInventDim _reqCalcRecordCacheInventDim, 
            ReqCalcRecordCacheUnitOfMeasure _reqCalcRecordCacheUnitOfMeasure, 
            ReqTrans _issue])

Run On

Server

Parameters

_reqTransPO
Type: ReqTrans Table
The ReqTrans table buffer to insert.
_reqPO
Type: ReqPO Table
A ReqPO record.
_usingThreads
Type: boolean
A Boolean value that indicates whether threads are used.
_reqPlanData
Type: ReqPlanData Class
A ReqPlanData object that contains cached data; optional.
_setupDim
Type: ReqSetupDim Class
A ReqSetupDim object that holds master planning settings for a specific item and coverage dimension; optional.
_scheduleOrdersList
Type: List Class
A list to which new orders are to be added for later scheduling; optional.
_reqCalcRecordCacheInventDim
Type: ReqCalcRecordCacheInventDim Class
A ReqCalcRecordCacheInventDim object that is used to cache inventory dimension information.
_reqCalcRecordCacheUnitOfMeasure
Type: ReqCalcRecordCacheUnitOfMeasure Class
A ReqCalcRecordCacheUnitOfMeasure object that is used to cache unit of measure information.
_issue
Type: ReqTrans Table
A ReqTrans record that holds the related issue requirement; optional.
_coInventDim
Type: InventDim Table
_coItemId
Type: ItemId Extended Data Type

The initialization is performed from the parsed ReqPO record. Related records can be created after the insertion. This depends on the RefType.

Community Additions

ADD
Show: