Help with an Action Item SQL Query

Just to add a bit more info…

I just tried a test from top to bottom using all of your custom functions, and everything seemed to work out well. So, I’d double check that all of your parameters are correct all the way back to the PLC, and in the correct order when calling the function.

Good luck!