#761 Reactivating an InOut fails sometimes
Testcase to check if an InOut can be reactivated without errors.
- Create a 2 sales orders for G000X:
- one with P0001 on TU A, with send EDI checked
- one with P0002 on TU B, without send EDI checked
-
Create the inouts for both
- Try reactivating both inouts:
- => no errors, reactivating works fine
- => after reactivating, you can change the inout again (e.g. change qties in inout line, use process Gebindezeilen zurücksetzen after changing qty of HUs etc.)
-
Complete the inouts again
-
For the 1st inout, send the EDI file (e.g. from DESADV window)
-
For the 2nd inout, create the invoice
- Try reactivating both inouts once more:
- => not possible to reactivate the 1st inout because EDI status is S (sent)
- => not possible to reactivate the 2nd inout because already invoiced
View source file on GitHub.com