Workflow Action Update fields

SOLVED

I need assistance developing this workflow. 

What I'm trying to accomplish:


When a customer return is created, I need the workflow to look at a TSICOD(1) and if it = 003, I need to update the lines of that return.

The trigger works, so I can assume that the data model I built to go with this workflow is also functioning. 

The fields I'd like to update are on SRH1:

When the workflow runs, and the Product TSICOD(1) = 003, I'd like to Update the LOCTYPE to "QCH" and the Location to "QCH000001"

I know I need to probably use AWRKUPDFLD or AWRKUPDOBJ but the documentation is very limited out there about how to use them. I've tried using both action codes, as well as the triggering event (start/line/end of workflow) and I just can't seem to get this to update any field what so ever. 

I could post a screenshot of my current action screen, but by the time someone reads this, I'm sure I've tried several more methods. 

Parents Reply Children
  • 0 in reply to GerkoT3T

    Thank you for taking the time to respond. I'll do some research into creating a custom script that does the aforementioned, do you have any pointers? I haven't had the opportunity to enroll in the classes that would probably cover scripting, so any help is greatly appreciated. As always, all testing is done in a test environment.