InventTable::mcrFindUpcomingPurchLine Method
Finds the first upcoming open purchase line for a given item and item dimensions, whose delivery date is after today.
Syntax
client server public static PurchLine mcrFindUpcomingPurchLine(
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 open purchase lines.
- _inventDim
Type: InventDim Table
The inventory dimensions used for finding the upcoming open purchase lines.
- _inventDimParm
Type: InventDimParm Table
The InventDimParm table record to be used for finding the upcoming open purchase lines.
Return Value
Type: PurchLine Table
The first upcoming open purchase line for a given item and item dimensions, whose delivery date is after today.