And it only happens when I click the approve butto...
# suitescript
l
And it only happens when I click the approve button... not if I change the status from pending approval to pending fulfillment.
And now the problem is gone..
Found the cause. A script on the PO record was deleting the PO in certain circumstances.