ReqEventProcess.writePegging Method [AX 2012]
Updates records in the ReqPeggingAssignment and ReqPegging tables.
protected void writePegging(
SourceDocumentLineRefRecId _supplySourceDocumentLineRefRecId,
InventQty _supplyQuantity,
UnitOfMeasureRecId _supplyUnitOfMeasureRecId,
InventQty _peggedQuantity,
UnitOfMeasureRecId _peggedUnitOfMeasureRecId,
NoYes _isMarking,
ReqPeggingType _peggingType,
[boolean _deleteIfZero])
Run On
CalledParameters
- _supplySourceDocumentLineRefRecId
- Type: SourceDocumentLineRefRecId Extended Data Type
A record ID of the SourceDocumentLine table.
- _supplyQuantity
- Type: InventQty Extended Data Type
The total quantity of the created supply.
- _supplyUnitOfMeasureRecId
- Type: UnitOfMeasureRecId Extended Data Type
A record ID of the UnitOfMeasure table.
- _peggedQuantity
- Type: InventQty Extended Data Type
The full or partial quantity of the supply that is allocated to the event requirement.
- _peggedUnitOfMeasureRecId
- Type: UnitOfMeasureRecId Extended Data Type
A record ID of the UnitOfMeasure table.
- _isMarking
- Type: NoYes Enumeration
A Boolean flag that indicates if the supply is marked.
- _peggingType
- Type: ReqPeggingType Enumeration
A ReqPeggingType enumeration value.
- _deleteIfZero
- Type: boolean
A Boolean value that indicates whether records for zero quantity must be removed.
Community Additions
ADD
Show: