Help moving small snippet of ABL code from E9 BPM to E10

,

Hi all,

Sorry to bother everyone again with another BPM question, but I’m not having any success finding similar examples to ‘borrow’ from…

I have a BPM that warns users if they are attempting to commit changes to a sales order that has attached jobs that are already released. I created a BPM data form with the warning and added two buttons, the user can click yes and the changes are committed, or they can click cancel. Truth be told, I don’t even remember where I stole this ABL code from as I wouldn’t know how to create this on my own, nor do I understand where the system decides to commit the change or not as all I see are the messages to the user, not the save/cancel action…but I digress.

Here is the code I’m hoping to duplicate:

Thank you again for any help, and no rush, this one is already on the back burner.

@rirish looks like you can now do this with widgets.

The link below will only work if you are already logged into EpicCare.
Make the dialog
https://epiccare.epicor.com/epiccare?id=epiccare_kb_article&sys_id=5119e673db6818540c3f9b3c8a961938
make the message
https://epiccare.epicor.com/epiccare?id=epiccare_kb_article&sys_id=f2dce2b7db6818540c3f9b3c8a9619b5

2 Likes

Thanks, Greg, much appreciated!

In this case, you should simply avoid the C# code as it is unnecessary… you can do all the logic with three widgets…

  1. a condition widget that checks the value of the button
  2. two different message widgets with the info-messages…

No-Code/Low-Code is the theme of the day.

2 Likes