SetInventoryFilter() method
- Last UpdatedNov 26, 2024
- 1 minute read
Use the SetInventoryFilter() method to set the inventory filter and then to refresh the data in the inventory grid to reflect the change in the filter. You can set any of the parameters, except the recurseEntities parameter, to Null.
Syntax
SetInventoryFilter(string itemClassID, string itemClassDesc, string itemID, string
itemDesc,string lotNo, string expiryDate, int [] gradeCodes, int [] statusCodes,
bool recurseEntities);
Parameters
itemClassID
A string that holds the filter setting for the item class ID.
itemClassDesc
A string that holds the filter setting for the item class description.
itemID
A string that holds the filter setting for the item ID.
itemDesc
A string that holds the filter setting for the item description.
lotNo
A string that holds the filter setting for the lot number.
expiryDate
A string that holds the filter setting for the expiry date.
gradeCodes
An integer array that holds grade codes, which may be empty.
statusCodes
An integer array that holds status codes, which may be empty.
recurseEntities
A Boolean that is True if the inventory for the entities located at the selected entity must be displayed.