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.
❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
OrclQA.Com is a question and answer forum for programmers.
Here anyone can ask questions and anyone can answer to help others.
It hardly takes a minute to sign up and it is 100% FREE.
Vinish Kapoor
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.