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.
Processes the pegging function.
Syntax
protected void processPegging(
SourceDocumentLineRefRecId _supplySourceDocumentLineRefRecId,
InventQty _supplyQuantity,
UnitOfMeasureRecId _supplyUnitOfMeasureRecId,
InventQty _peggedQuantity,
NoYes _isMarking,
ReqPeggingType _peggingType,
UnitOfMeasureRecId _peggedUnitOfMeasureRecId)
Run On
Called
Parameters
- _supplySourceDocumentLineRefRecId
Type: SourceDocumentLineRefRecId Extended Data Type
A record ID of the SourceDocumentLine table that is the pegged supply.
- _supplyQuantity
Type: InventQty Extended Data Type
The total supply quantity.
- _supplyUnitOfMeasureRecId
Type: UnitOfMeasureRecId Extended Data Type
A record ID of the UnitOfMeasure table that represents the supply quantity unit.
- _peggedQuantity
Type: InventQty Extended Data Type
The pegged quantity.
- _isMarking
Type: NoYes Enumeration
A NoYes enumeration value that defines whether the quantity must be marked.
- _peggingType
Type: ReqPeggingType Enumeration
A ReqPeggingType enumeration value that defines the type of the pegging.
- _peggedUnitOfMeasureRecId
Type: UnitOfMeasureRecId Extended Data Type
A record ID of the UnitOfMeasure table that represents the pegged quantity unit.
Exceptions
Exception | Condition |
---|---|
Error | An invalid ReqEventProcessAction enumeration value was specified. |
Remarks
Call this method for each created supply.