Any ideas on how I can have a saved search show th...
# suiteanalytics
p
Any ideas on how I can have a saved search show the date a sales order status was changed from Pending Approval to Pending Billing?
g
case when ({systemnotes.oldvalue} = 'Pending Approval' and {systemnotes.newvalue} = 'Pending Billing') then {systemnotes.date} else null end
formula(date)
in your results.
p
thanks for this!
👍🏻 1
g
If for some reason that status was changed multiple times, you'll have multiple dates, and thus multiple rows returned in your results.
p
Thanks. I ended up creating a field on the sales order and via workflow adding the date when the sales order is approved.
b
Assuming you're setting the approval status via an approval workflow, you can also do a saved search on workflow instances, and set criteria for the approved state and show date entered state in the results