I tried to create an Extender SQL Script Action today and couldn't get the syntax correct.
In this article I show the correct code.
EXEC sp_MyStoredProc <SOP Number> , <(L) Temp Type>
Learning points:
No quotes for the string params
The <SOP Type> param returned a 3 for a Fulfilment document. Temp Type correctly returned a 6