metafresh logo and link to homepage

IT gh#785

#785 Vendor empty returns missing in invoice cand when negativ qty

Testcase to check if all vendor empty returns create correct invoice candidates.

  1. Make sure G000X is not a vendor with invoice type Produzentenabrechnung, and has no flatrate contract for Gebinde

  2. In Wareneingang POS, create empty returns for G000X (vendor):
  3. Check the inout that was created, and the invoice candidates for it:
  4. Reactivate the inout, and add an inout line using copy:
  5. Check the invoice candidates:
  6. Create the invoice:
  7. In Wareneingang POS, create another empty returns for G000X (vendor):
  8. Check the inout that was created, and the invoice candidates for it:
  9. Reactivate the inout, and add an inout line using new:
  10. Check the invoice candidates:
  11. Create the invoice:
  12. Repeat testing for G000X as customer (Leergutrücknahme), to make sure it works fine there too

Zur Quelldatei auf github.com