Need to make a "Show Message" BPM less annoying

Today a user requested I add a pop-up message that displays when an order or quote line is entered without an order qty or unit price value. So if a part is added to an order/quote but has no listed unit price or quantity for the order/quote, then the message will display. The SalesOrder.Update BPM I made works like a charm; it shows the pop-up under the right circumstances, and only shows it at those times. The Quote.Update BPM is proving a little less charming.

The BPM works, technically, but it’s showing the message TOO much. As in, it pops up the instant that a line is added to a quote. Again and again for each line. What I’m trying to do now is prevent it from popping up when lines are added, and only pops up when a quote is saved while at least one line has a qty or unit price of zero. Here’s the post-proc BPM for Quote.Update, and its embedded BAQ:

Could you maybe add criteria to your query to check if ttQuoteDtl.RowMod =
“U”, so that it only fires if it’s an Update and not an Add?

Thanks,

Norman Hutchins
System Administrator
Howell Laboratories, Inc.

1 Like

Actually, that won’t help since you have a message box on both true and
false. You’d have to add another condition before your current one
with ttQuoteDtl.RowMod
= “U”, I think.

Thanks,

Norman Hutchins
System Administrator
Howell Laboratories, Inc.

It looks like the update is being called after most field changes. I didn’t see another method to attach it to which is annoying.

You could set some conditions that look for the basic things that would have to be there first before popping up the message. Not fool proof, but would remove some of the messages.

Another option instead of just a message would be to call a BPM form that has a field to plug in a quantity and price (again after the basic information was already in the form) that way when it pops up, what you need to do to fix it is presented right there.

Someone else probably has a more elegant answer…

So a user asked for another detail on the Sales Order BPM (the one I’ve got working already.) When we send out demo units (which have part numbers starting with the letter D, followed by the regular part number) to show to customers, we don’t include a unit price since they aren’t buying anything yet. Every time the user creates a demo order, the pop-up is triggered since there’s no unit price listed. I’m trying to add a condition that only shows the message if the part does not start with the letter D. Here’s what it currently looks like:


This extra condition doesn’t appear to work at all-- the BPM continues to work the way it did before, as if this condition was never added. I have no idea why.

You have the condition on a changed row. You want it on the added row (you want it on both actually). And another line on the condition with an “or” selected and then it should prevent it from popping up.