I have created a method directive with SalesOrder being the Service Name and Update being the method. In my directive I wish to get the corresponding customer record based on the customer ID. I am using a Set Variable widget and setting it to ds.OrderHedRow.CustNum but when I try to test it when creating a new order, I get a message saying there is no OrderHedRow. Does anyone know what I need to do here? It seems I am trying to run the directive and the SalesOrder hasn’t been updated.
Works fine for me. You’re doing something else wrong. You’re going to have to show us what you’re doing for anyone to actually help you.
3 Likes
I think I resolved it. I rewrote my directive to a Post Processing directive. I was trying to use a Pre Processing one.
You must have changed something else then. What I just showed was a pre-processing and it works fine.
Glad you got it working though.

