PdsCatchWeight::validateNonCWItemId Method [AX 2012]
Validates that the given control, bound to an ItemId field, contains an item ID of an item that is not catch weight enabled.
client server public static boolean validateNonCWItemId(FormStringControl _control, [ItemId _previousValue])
Run On
CalledParameters
- _control
- Type: FormStringControl Class
The control to validate.
- _previousValue
- Type: ItemId Extended Data Type
The previous value of the control, that will be restored in case validation fails.
Return Value
Type: booleanfalse if the control contains the ID of a catch weight enabled item; otherwise, true (even if the item does not exist).
Show: