Help with Customization - MES Start Production

Looking for some guidance on how to do a customization.

I have been asked to have a slide out appear after logging into an operation if the operation has a comment.

After playing around with the application and trying to figure out the best approach, I took a first attempt by doing the following:

  • Created a new app called Erp.UIShared.JobOpComment
  • Added a Text Area to display the comment
  • Added a Window event On Load to update sysVariable with the comment being sent from the calling app
  • Created a layer on Erp.UI.StartProductionActivityEntry
  • Added a Page event On Closed of the Start Production Activity
  • The event is supposed to open my custom app from above
  • Created a layer on Erp.UI.MES
  • Copied the MESControl.StartActivityProduction event
  • Changed the Parameter on the event to open the log in slide out with my custom layer

I thought this would work, but all that happens when I click the Ok button on StartActivityProduction, is nothing. The slider does not even close anymore.

Anyone have any suggestions (or more likely corrections) to what I did?

What does the panel do, just display the comment?

If so, you can just use a PublishInfoMessage in a BPM to do that, no need to mess with
app studio.

Ted Lasso Fudge GIF by Apple TV

For some reason, I did not think that would work in the Kinetic UI. :man_facepalming:t2: :man_facepalming:t2: :man_facepalming:t2:

Just remember, in 2023.1 until 2023.1.5, InfoMessage.Publish is broken, but PublishInfoMessage
works.