Share via


ReqCalc.covCreateCoverage Method [AX 2012]

Creates the ReqTransCov record to settle the receipt and the issue reqTrans records.

Syntax

protected void covCreateCoverage(
    ReqSetupDim _setupDim, 
    ReqTrans _receipt, 
    ReqTrans _issue, 
    RecordInsertList _reqTransCovInsertList)

Run On

Called

Parameters

  • _setupDim
    Type: ReqSetupDim Class
    A reqSetupDim object that holds master planning data for a specific item and coverage dimension.
  • _receipt
    Type: ReqTrans Table
    A reqTrans record with apositive quantity.
  • _issue
    Type: ReqTrans Table
    A reqTrans record with a negative quantity.
  • _reqTransCovInsertList
    Type: RecordInsertList Class
    A recordInsertList object in which ReqTransCov records are added.

Remarks

This method should be called when a receipt reqTrans record is found and should be used to settle an issue reqTrans record.Notice the previousReceipt and delayedOrderSet variables are set.

See Also

Reference

ReqCalc Class