We are not sure how this happened and don’t have any record of customization, but in MES our End Activity button is attached to a Custom End Activity (which shares ID with Job Tracker). I have very little knowledge of coding or C#. From my understanding of the knowledge articles, I need to edit the script. Can someone help me with this? We want End Activity to be attached to the original End Activity, not any custom menu items or other.
Ok I think I figured the problem out somewhat… Custom End Activity shares the same Security ID as Job Tracker, however when I go to change it to the Security ID the original End Activity uses, it gives me this error that doesn’t go away no matter what number I put in:
Business Layer Exception
Duplicate Order Sequence for this parent menu ID.
Exception caught in: Epicor.ServiceModel
Error Detail
Correlation ID: a6816128-5da7-4542-9798-46c58421d008
Description: Duplicate Order Sequence for this parent menu ID.
Program: Ice.Services.BO.Menu.dll
Method: ValidateParentMenu
Line Number: 455
Column Number: 21
Table: Menu
Field: Sequence
Client Stack Trace
at Ice.Cloud.ProxyBase1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) at Ice.Cloud.ProxyBase1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Ice.Proxy.BO.MenuImpl.Update(MenuDataSet ds)
at Ice.Adapters.MenuAdapter.OnUpdate()
at Ice.Lib.Framework.EpiBaseAdapter.Update()
at Ice.UI.App.MenuMEntry.Transaction.adapterUpdate()
at Ice.UI.App.MenuMEntry.Transaction.MenuUpdate()
So it looks like I just needed to assign a higher position for the menu item. Custom End Activity is no longer tied to Job Tracker with changing the Security ID.