Showing results for 
Search instead for 
Did you mean: 

stop update in Sales Order form

Former Member
0 Kudos

i want to stop update in sales order form on one condition . i have written code for itempress event to stop update sales order form by bubblevent = false on pVal.ItemUid = "1" condition. but main problem is this when user close form from the cross button and from pop up it click on yes then updation in sales order form have done. plz tell the solution for this problem. how can i stop this updateion.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Pankaj,

If you use the EventSpy tool you will see that ItemID 85 is being triggered after double clicking either in the top-left corner of the form or in the top-right corner in order to close it. Thus, you can filter this user action.

Another alternative is to get the text of ItemId = 1, and if it is "update" then you can set your conditions as well.

Hope this helps,


Answers (0)