Hello,
How can I get data from a callContexBpmData field and utilize it on a form customization to do a on screen calculation? I have poked around here looking for a solution, but most of what I see is focused on setting callContexBpmData from a form so that a BPM can fire with some set criteria. I guess I am trying to do the reverse, set callContexBpmData data in my BPM and use it on a form.
I have a post BPM that sets a few UD fields on the ttQuoteMtl table when a Part is pulled into a quote, ErpQuoteAsm.GetMtlPartInfo. All this is working great, I have textboxes on the form that are bound to these UD fields. I have corresponding logic that does my calculations in real time on the screen based on these values. At this point aspects of my calculations are hard coded into the form customization. But everything is working as desired. The values I need to replace the hard coded data with exist in the UOM tables. So I thought I would just grab them in my BPM and use them in the form by assigning them to callContexBpmData fields. I don’t need these values saves in UD fields, they are just needed to make calculations. The BPM I have is getting the correct data b/c I can send the callContexBpmData a message box when the BPM fires.
Any thoughts on this are much appreciated.
Thanks,
Joe Marenghi