metafresh logo and link to homepage

IT FRESH-506

#175 Payment Rule SQL and Batch for “cheque”

Testcase to check payment rule scheduler

Payment rule in invoice

  1. Create new sales invoice and credit memo manually

  2. check the paymentrule in database
  3. Create new purchase invoice and credit memo manually
  4. Create new sales order, go to invoice candidates and set invoice rule to immediate

  5. create invoice from gear
  6. Create new purchase order, go to invoice candidates and set invoice rule to immediate

  7. create invoice from gear
  8. create new sales order, make inout then invoice from invoice candidates (don’t change invoice rule) - gear
  9. create new purchase order, make inout then invoice from invoice candidates (don’t change invoice rule) - gear
  10. in the database, set payment rule on S to all invoices you’ve just created

  11. wait for the next day and check the invoices again

Zur Quelldatei auf github.com