UBAQ update fields via powershell

Hi there,

I am struggling with a UBAQ and I think I am just not thinking about it correctly.

We have powershell running DMT to upload some records automatically. I would like to add a run of an Updateable BAQ in there to input data into two fields on the order line after my imports (it’s taking OrderDtl Char03 and putting into QuoteNum and ShortChar03 and putting into QuoteLine, I also do the var to int conversion).

I have the uBAQ made, but I am not sure what to put a bpm on to get the fields filled out. I tried Set field via get list post processing, and on manual run it shows the data there, but I don’t get an “update” when I try to run from the PS script. How do I setup the UBAQ for the PS run on the query export to update the data?

(PS: I know there are now more elegant ways for this with functions and Rest calls and whatnot. But we have this getting used effectively at this time and really just need to tweak it for a minor data fix post imports.)

thanks for your consideration!
Nancy

Use your powershell to execute this function:

4 Likes