InventTable::mcrFindUpcomingProdOrder Method
Finds the first upcoming scheduled production order for a given item and item dimensions, whose scheduled end date is after today.
Syntax
client server public static ProdTable mcrFindUpcomingProdOrder(
ItemId _itemId,
InventDim _inventDim,
InventDimParm _inventDimParm)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The ItemId of the item used to search for the upcoming scheduled production order.
- _inventDim
Type: InventDim Table
The inventory dimensions used for finding the upcoming scheduled production order.
- _inventDimParm
Type: InventDimParm Table
The InventDimParm table record to be used for finding the upcoming scheduled production order.
Return Value
Type: ProdTable Table
The first upcoming scheduled production order for a given item and item dimensions.