BPM only active on save on quote line

Hello,
We have a custom field on our QuoteDtl table that we are looking to make required when saving the quote line. The predicament about it is we do not want the requirement exception to show when we are entering a new part and customer part on the line. From what I can tell, the BOs for the part numbers are activating the Update BO, the same that would be called when saving. This is causing the exception to popup more times than it would when either a post-processing Update BPM to check the field or the extended properties requirement is being used.

My question is, Is there a way we can have only the Update BO be called when saving the line? Or have a way to use the BPM to check if the update BO has been invoked by the other BOs (PartNum and CustPart) and prevent the requirement exception to show?

Sidenote: There is also a weird outcome where the Cust Part gets wiped when using any sort of BPM that I could also use some context on.

Any help would be much appreciated. Thank you!

1 Like

What I have done in some cases like that is have a Pre-processing method on the other BOs which simply sets CallContextBpmData.Character01 = ‘PartNum’ (or something like that), then the Update BPM can check to see if Character01 is set to something and only process it when it’s blank. Then there’s a Post-processing method on the other BO that clears the field.

CallContextBpmData is accessible to all the BPMs and you can use it to pass info around if you want. I’m not saying it’s the best way, but it does work :slight_smile: