Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new instance of the InventShelfLifeCriteria class that represents the shelf life requirements of the item and expiration date.
Syntax
client server public static InventShelfLifeCriteria newItemExpiry(ItemId _itemId, TransDate _expiryCheckDate)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The item ID.
- _expiryCheckDate
Type: TransDate Extended Data Type
The date to check for batch expiration. The constructor adjusts the date appropriately if the item is setup for expiration based on best before date.
Return Value
Type: InventShelfLifeCriteria Class
A new instance of the InventShelfLifeCriteria class.