Kinetic Customize Processes ex. Erp.UI.StartProductionActivityEntry

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)

image

image

image

Yes, but you need to get to them from Application Studio directly.

Open App Studio, turn on your filters, and filter by “startproduction”

Below is an image showing my filter results with both the base epicor layer and my custom layer.

image

Sorry… didn’t finish… and it posted… stay tuned while I type up the rest :rofl:

With that layer published and added to your menu… you now need to also edit your main MES screen.

So, you pull MES up in App Studio.

If you look at the stock event that MES uses when you click the Start Production Activity button… you’ll see the below.

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.

… then I just hid the stock button.

1 Like

I think I did that. Here is what I have.

OH… and you don’t need to create the whole event from scratch!

The easiest way to do this is to search for the stock event, right click on it and copy it…

Then just change the trigger to either override the base event, or be triggered by your own custom button.

Then add your Layer name to the app-open widget.

1 Like

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?

1 Like

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.

Give that a try.

1 Like

Just to make sure, which one do I change?

This is on the button itself

This is on the Event.
image

This is on the app-open Parameters

The one on the button.

Here’s mine:

Here’s my onclick event trigger:

image

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.

If I change the EpiBinding on my button, then my “on-click” changes to the original event and not the one I created

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.

image

What is your custom Button ID?

That worked!

I tried to copy exactly how the old button worked, but tying it to the button fixed it!
Thanks!

2 Likes