Anyone knows how to approve special order purchase...
# suiteflow
s
Anyone knows how to approve special order purchase orders automatically?
a
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
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
hmm check your trigger types and such...probably something going on w/ those
actions should be on entry of the state i think in the approval state
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
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...
a
this is on create right?