Call a Stored Procedure from Custom Query Builder in SQL

I am trying to call a stored procedure that I didn’t write. It passes one variable in as @WorkOrderPK. I’m trying to figure out the correct parameters to pass this?

This is the SQL stored Procedure I am trying to attach to. I should just be able to call it and pass the variable or am I wrong?

On another post I saw what looks similar to what I need to be doing.

Any help would be awesome. This procedure is super long and would take a while to just reproduce it through action scripts.

Community Page
Last updated: