Anyone knows how to approve special order purchase orders automatically?
a
al3xicon
11/26/2019, 2:14 PM
I've used the "Applied to Link Type" field on POs before to identify whether they are Special Order vs Drop Ship...note that this is only at the line level, but you could create a summary saved search and auto-approve using that as a transition condition.
s
sam1128
11/26/2019, 2:16 PM
Well the issue is when I use saved search it does not execute any action when it transit to approve state... so on workflow it in approved state but PO still says pruning approval.
a
al3xicon
11/26/2019, 2:17 PM
hmm check your trigger types and such...probably something going on w/ those
al3xicon
11/26/2019, 2:18 PM
actions should be on entry of the state i think in the approval state
al3xicon
11/26/2019, 2:19 PM
an alternative would be to somehow store the value of "special order" or "drop ship" on the PO in a custom field, i've used a script in the past to set this on create, looking at the first line item of the PO and finding the applied to link type via dynamic search
s
sam1128
11/26/2019, 2:24 PM
All the actions are on set on entry and when I look into logs it says did not execute action because it was transitioned to approved state on on entry and need after record submit trigger...