WHSInventStatus::allowCreatePlannedOrder Method
Determines if a planned order can be created with the given status.
Syntax
client server public static boolean allowCreatePlannedOrder(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 planned order can be created with the given status; otherwise, false.