Set order status to completed if subsequent document is a proforma invoice
I created a debit memo request to create as subsequent document a proforma invoice only. This special business case has to do with customs purposes and should stop after the creation of the proforma..
Now the debit memo request is still open and the next batch run is picking up the DMR again and create another proforma invoice.
What I have to do to set the order status to completed after the first proforma invoice is issued?
Thanks for your help.