Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _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.
Remarks
The method must be called for every supply that is created for the ReqPeggingAssignment requirement.