Trouble Creating BPM

Hello Epicor Community!

I am having trouble figuring out the best way to add a miscellaneous charge to a sales order line automatically when a new line is created. I know this is likely a method directive, but would it be post processing? And am I using a Set Field condition in designer? I’m a bit lost here.

Thank you!

For stuff like this, I usually like to do a combo of a Pre-processing directive to check things (like if a new line is created) and set one or more CallContextBpmData fields (like the OrderLine of the new line and/or a boolean that says to create a misc charge), then a Post-processing directive to do the actual work.

2 Likes