Form Personalization to restrict WIP job status change
Hi Gurus,
We got a requirement to restrict users from changing the WIP Discrete Job status from 'Unreleased' to 'Released' when either the Assembly Item or any 1 of the Component Items are not costed and display the error message.
I could able to achieve this by creating a form personalization for when - validate-record trigger. The personalization is working fine to throw the error message when the condition is met and user is trying to change the status.
However since this is at when-validate-record event so the value on the status field is still remaining as 'Released' instead of flipping back to the original value of 'Unreleased'. This gives a wrong impression to user as if even if it gave error message but the status got changed to Released.