WHSInventStatus::allowCreateForecast Method
Determines if a forecast can be created with the given status.
Syntax
client server public static boolean allowCreateForecast(WHSInventStatusId _inventStatusId, [boolean _showWarning])
Run On
Called
Parameters
- _inventStatusId
Type: WHSInventStatusId Extended Data Type
The inventory status ID.
- _showWarning
Type: boolean
A Boolean value that indicates if a a warning should be shown in the infolog; optional.
Return Value
Type: boolean
true if a forecast can be created with the given status; otherwise, false.