ReqEventProcess.writePegging Method [AX 2012]

Updates records in the ReqPeggingAssignment and ReqPegging tables.

Syntax

protected void writePegging(
    SourceDocumentLineRefRecId _supplySourceDocumentLineRefRecId, 
    InventQty _supplyQuantity, 
    UnitOfMeasureRecId _supplyUnitOfMeasureRecId, 
    InventQty _peggedQuantity, 
    UnitOfMeasureRecId _peggedUnitOfMeasureRecId, 
    NoYes _isMarking, 
    ReqPeggingType _peggingType, 
   [boolean _deleteIfZero])

Run On

Called

Parameters

  • _isMarking
    Type: NoYes Enumeration
    A Boolean flag that indicates if the supply is marked.
  • _deleteIfZero
    Type: boolean
    A Boolean value that indicates whether records for zero quantity must be removed.

Remarks

The method must be called for every supply that is created for the ReqPeggingAssignment requirement.

See Also

Reference

ReqEventProcess Class