Can processes be customized in Kinetic? I would like to hide some fields in the start production activity process. In Application Studio, the fields show hidden. Even testing, they show hidden. The custom layer is published and applied to the app Erp.UI.StartProductionActivityEntry. I mainly want to hide the buttons (more info, overrides, and documents)
The “App-Open” widget in there is opening StartProductionActivityEntry… but it doesn’t call out any Layers… so, you have your new custom layer made and published, but the stock button is calling the stock StartProduction.
You need to create a new event… that event will need a trigger to override the stock event… OR (what I did) was I actually created my own “Start Production” button, then on-click event of MY button… I have an event that includes an App-Open (just like the stock event), but my App-Open includes the name of my custom StartProductionActivity layer.
I appreciate it; that worked!
Just curious, the old Start Production button was greyed out until someone logged in. Is there a way to do that with the new button I created?
For your custom button… add an epBinding: MESControl.StartActivityProduction
This is the same binding the stock button uses.
MES has a data rule that disables the button until after log-in.
Your onclick event uses your button’s ID to trigger… so there’s no issue using the same EpBinding as the original button… and that means the stock data rule will also apply to it.
It references the button’s ID… NOT its Binding… so you can set the binding to the same thing the stock button used and the existing data rule will take effect.
Try manually typing in your button’s ID into the “Target” field of your event trigger.
You can see below, I can select the stock button or my custom button. We’ve done this for most of the buttons here… start Production, Start Indirect, Start Setup, Start Rework, etc.