PmfReqPOSimulator::isEqual Method [AX 2012]

Determines whether the simulation is equal to the actual production or batch order.

client server public static boolean isEqual(
    ReqPO _actualReqPO, 
    ReqPOType _reqPOType, 
   [InventLocationId _from, 
    InventLocationId _to])

Run On

Called

Parameters

_actualReqPO
Type: ReqPO Table
A ReqPO record of an actual production or batch order.
_reqPOType
Type: ReqPOType Enumeration
A ReqPOType enumeration value of the type of production or batch order to simulate.
_from
Type: InventLocationId Extended Data Type
An InventLocationId value of the warehouse from which to transfer.
_to
Type: InventLocationId Extended Data Type
An InventLocationId value of the warehouse to which to transfer.

Return Value

Type: boolean
true if equal; otherwise, false.

The simulation is considered equal to the actual order when both have the same quantity, catch weight quantity, BOM or formula version, and route version.

Show: