I was wondering if anyone has had to deal with a w...
# suitescript
c
I was wondering if anyone has had to deal with a workflow approval process that needs to have actions occur based on line values. I created a test script to capture a field value when it moves from entry to pending in a workflow field named oldValue, but after approval occurs if any changes happen it will save the value in a field named newValue and then there is a transition to un-approve if oldValue != newValue. Now it works, but seems like a really clunky way to do this especially if I want to capture more than a single line field. I was interested to hear how other people handling workflow approvals that need actions to occur when line level actions occur.
b
compare values from the old record to the new record
although this particular example is probably safe, you want to understand Inline Editing and SuiteScript before doing these sort of comparisons