WHSWorkExecuteDisplay.validateNonSerialInventory Method [AX 2012]
Validates that there is enough non-serial inventory to complete the work.
Syntax
public boolean validateNonSerialInventory(WHSWorkLine _workLine)
Run On
Called
Parameters
- _workLine
Type: WHSWorkLine Table
The work to be validated.
Return Value
Type: boolean
true if there is no serial inventory; otherwise false.
Remarks
In this method false is returned when inventory is found because finding inventory is considered the invalid scenario.