99
If an error occurs in release to warehouse for raw material picking, the message "Could not release the order to warehouse because some materials could not be reserved." (class ProdWHSRelease.whsReleaseSingleOrder)
However, the production order status is now Released.
The production order setting "Release to warehouse" (ProdTable.ProdWHSReleasePolicy): Allow partial reservation or Require full reservation has no influence on this.

Proposed solution: add a third option to ProdWHSReleasePolicy:
"Block release until work created"
i.e. release production order (or batch order) only when all raw material pick work is created.

Note that the production wave is not always processed immediately.

Alternative: add a checkmark on the production order "All raw material pick work created".
STATUS DETAILS
Under Review