I have a BPM calling a function calling a BAQ that is not returning results. The BAQ input is a part number and the output is an average cost. The BPM is a standard data directive that runs when the order detail line is saved.
Function signature:
Execution parameters:
Add execution parameter code:
Method parameters:
BPM function parameters:
Get average cost code:
When I test the BAQ I get a result:
But when I save the line in order detail I get an error:
That’s a good suggestion, but unless I misunderstood what he is doing, he is calling a BAQ via code. He should be able to log his param (that he is putting in the BAQParamDS) before calling the BAQ no?
sure, you log it before, I log it on query execution. They should be the same if everything is specified correctly. If it is not - this should probably help to know where it when wrong.