WHSLocationProfile::isInUseWithInventoryTransactions Method
Checks if any locations under the given location profile still have inventory.
Syntax
server public static boolean isInUseWithInventoryTransactions(
[InventLocationId _inventLocationId,
WMSLocationId _wmsLocationId,
WHSLocProfileId _whsLocationProfileId])
Run On
Server
Parameters
- _inventLocationId
Type: InventLocationId Extended Data Type
Warehouse to check for transactions; optional.
- _wmsLocationId
Type: WMSLocationId Extended Data Type
Location Id to check for transactions; optional.
- _whsLocationProfileId
Type: WHSLocProfileId Extended Data Type
Location profile ID to check for transactions; optional.
Return Value
Type: boolean
true if the location profile is in use with inventory transactions; otherwise, false.
Remarks
If a location is entered as a parameter it will restrict the search to inventory for that location.