Compartilhar via


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

  • _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.

See Also

Reference

WHSInventStatus Table