BPM More Than One Record Error - Help Needed

,

@ckrusen, @krum, @Doug.C

Gentlemen, I’m taking this in a different direction as the BPM isn’t reacting the way I was hoping it would. I’ve been following these posts and trying to recreate the custom code section:

My aim now is to pull all PO lines associated with the PO Number whose GL Segments 1 and 4 do not match my criteria. I have borrowed code snippets from the before mentioned discussions and have one error remaining before I can test it:

Once this code runs I want to hard stop / error out the update process until the user goes in and adds the necessary changes to the PO Line.

Does this seem viable?

What am I missing with the TTPOHeaderRow table? It clearly exists but the code does not recognize it does.

Thanks for the assistance one and all.