Hi,
I have a approve button on invoice Forms. Now i want to restrict user can not do Action update/delete on a particular record have a Status is Approved.
Is there any Way to Achieve this.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this using a DA on page load or using the server-side condition for the button. Following are the examples:
Show and Hide Buttons Using Dynamic Action
Create a DA on page load event. Specify the client-side condition Item = Value. Specify the item i.g. P2_STATUS and value as APPROVED.
Create a True action as Hide and specify the Update button.
Create a False action as Show and specify the Update button.
Similarly, create one more True and False action for the Delete button.
Show and Hide Buttons Using Server-side Condition
Click on your Update or Delete button. Then from the property pallet, specify the server-side condition as Item != Value.
Now specify the item as P2_STATUS and value APPROVED.