ReqPeggingAssignment::findOrCreateRequirement Method
Inserts a record into the ReqPeggingAssignment table.
Syntax
server public static ReqPeggingAssignment findOrCreateRequirement(
SourceDocumentLineRefRecId _sourceDocumentLineRefRecId,
InventQty _quantity,
UnitOfMeasureRecId _unitOfMeasureRecId,
[boolean _deleteIfZero])
Run On
Server
Parameters
- _sourceDocumentLineRefRecId
Type: SourceDocumentLineRefRecId Extended Data Type
A record ID in the SourceDocumentLine table.
- _quantity
Type: InventQty Extended Data Type
A quantity.
- _unitOfMeasureRecId
Type: UnitOfMeasureRecId Extended Data Type
A record ID of the UnitOfMeasure table.
- _deleteIfZero
Type: boolean
Removes the record if the quantity is zero.
Return Value
Type: ReqPeggingAssignment Table
A ReqPeggingAssignment record.