
Hi
I am creating a security roles and privileges on Sales Order. There is a customize button (Submit, Reject, Approve) into it. Submit and Reject button should be enabled once SO is created, it should not be approve immediately, the approval status should be "In Review", once "Submit" ,Approve button will be enabled. Now i already added those button on the privileges and it appears on ActionPane but it is disabled and once i create an SO approval status is already "Approved".
Thank you very much
Mari Eru
*This post is locked for comments
I have the same question (0)Hi Mari,
This requirement is not related to security role instead its a business process which actually enables/disables button controls. You can se autoDeclaration property of all buttons to YES and write code to enable/disable these based on your flow.
For example you can do on form's init method like this; its just an example to give you an idea.
Submitbutton.enabled(true);