ReqPeggingEvent::findOrCreate Method
Creates a ReqPeggingEvent record.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static ReqPeggingEvent findOrCreate(
ReqPeggingAssignmentRefRecId _reqPeggingRequirementRefRecId,
RefRecId _eventOriginRefRecId,
[InventQty _originalQuantity,
InventQty _reservedPhysicalQtyDelta])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static ReqPeggingEvent findOrCreate(ReqPeggingAssignmentRefRecId _reqPeggingRequirementRefRecId, RefRecId _eventOriginRefRecId)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static ReqPeggingEvent findOrCreate(ReqPeggingAssignmentRefRecId _reqPeggingRequirementRefRecId, RefRecId _eventOriginRefRecId)
Microsoft Dynamics AX 2012 (FPK)
server public static ReqPeggingEvent findOrCreate(ReqPeggingAssignmentRefRecId _reqPeggingRequirementRefRecId, RefRecId _eventOriginRefRecId)
Microsoft Dynamics AX 2012 (SYS)
server public static ReqPeggingEvent findOrCreate(ReqPeggingAssignmentRefRecId _reqPeggingRequirementRefRecId, RefRecId _eventOriginRefRecId)
Run On
Server
Parameters
- _reqPeggingRequirementRefRecId
Type: ReqPeggingAssignmentRefRecId Extended Data Type
A record ID of the ReqPeggingAssignment table.
- _eventOriginRefRecId
Type: RefRecId Extended Data Type
A record ID of the KanbanRule table that originated the event.
- _originalQuantity
Type: InventQty Extended Data Type
- _reservedPhysicalQtyDelta
Type: InventQty Extended Data Type
Return Value
Type: ReqPeggingEvent Table
A ReqPeggingEvent record.