I’m just looking for clarification on what the “correct” way is to circumvent locked rules in application studio. I have copied rules and modified them to do what I’m wanting. Does this automatically override the pre-existing rule? Are they both now functioning and possibly interfering?
What I am attempting to do is modify the MES screen and End Activity Entry. I need to modify the button for end activity to open the custom layer for End Activity Entry. I have created the copy of the locked onclick event and modified like so…
This only seems to open the correct version sometimes. On end activity entry I am adding another checkbox for incomplete and attempting to remove the rules attached to complete. Therefor making them select incomplete or complete to save/click ok. The end goal of all this is to make it so it opens end activity, they select complete or incomplete, and end their activity. The problem is people are not completing operations when they are completed (typically happens when they are under quantity). They are used to it autofilling complete which is part of what I’m removing.
No worries, the information you gave was very useful! Thank you. That got me a good way there. I have something functioning. I don’t love it but it will likely work. If anyone knows how to disable autocomplete when at or over quantity on a job I would be very interested. I couldn’t find any rule or event triggering that.
If you are using the browser, the developer tools are the easiest way to find which Business Objects and methods are being called and where you need to place a BPM.
For this I think it would be Erp.BO.LaborSvc/DefaultLaborQty
In short, you are right. I just did this without a bpm to test. I overwrote the event with a blank event. This stopped it. Kind of unfortunate the event doesn’t show this happening at all. Just it running laborsvc.defaultlaborqty. I’m going to leave this disabled and see what happens…