Workflow Returns Deleted Line Values when Checking on Fields On Line Level during PO Re-Approval
In the process of setting up PO workflows a couple weeks ago, we were checking on line level field values such as the dimensions to determine which re-approval route a PO should go through. The first version of my workflow kept returning values of deleted lines (deleted with the remove button on the line level) instead of the new line that replaced the deleted line.
We found out that is because when change management is active, all lines and there history are saved (you can access via the PO header/via Manage in Action pane/View purchase order versions) and the workflow runs over all those lines as well. To avoid this you’ll have to add a condition in the workflow checking for the line quantity being not equal (<>) to 0. Hopefully, you didn’t add any 0 quantity lines for things such as notes, but mostly those are with a quantity of 1 and value 0.
The post Tips & Tricks: PO Workflow appeared first on Arbela Tech.

Like
Report
*This post is locked for comments