Application Studio Rules

Hello!

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?

2 Likes

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.

In your event properties, you need to update the trigger to override the original event. Hope this helps!

1 Like

Yes! That is exactly what I was missing. Thank you!

1 Like

I actually need to back pedal on that. It looks like that works great for events but as far as rules go, I don’t see an option.

I have not run into any instances where I’ve needed to override a rule, so I’m not quite sure what the best way to go about this is.

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.

have you tried using a BPM for this?

I don’t know how I would since I’m not sure what is triggering it.

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…