metafresh logo and link to homepage

IT FRESH-533

#216 Accounting: Invoice grand total Fact_Acct line was not found

Testcase to check if Invoice grand total Fact_Acct line was created when Allocating Writeoff/ Discount completely

Invoice with Discount

  1. Create a new sales order and add a tax in the line >0. Complete

  2. Create an outgoing payment, set the invoice, complete
  3. Create a new sales order and add a tax in the line >0. Complete

  4. Create an outgoing payment, set the invoice, write a discount with the total amount, complete
  5. Create a new sales order and add a tax in the line >0. Complete

  6. Create an outgoing payment, set the invoice, write a discount with a partial amount, complete
  7. Create a new sales order and add a tax in the line >0. Complete

  8. Create an outgoing payment, set the invoice, write a discount with the total writeoff, complete
  9. Create a new sales order and add a tax in the line >0. Complete

  10. Create an outgoing payment, set the invoice, write a discount with a partial writeoff, complete
  11. repeat the same steps from 1-10 but with a purchase invoice and incoming payment

Invoice without Discount

  1. Create a new sales order and add a tax in the line =0. Complete

  2. Create an outgoing payment, set the invoice, complete
  3. Create a new sales order and add a tax in the line =0. Complete

  4. Create an outgoing payment, set the invoice, write a discount with the total amount, complete
  5. Create a new sales order and add a tax in the line =0. Complete

  6. Create an outgoing payment, set the invoice, write a discount with a partial amount, complete
  7. Create a new sales order and add a tax in the line =0. Complete

  8. Create an outgoing payment, set the invoice, write a discount with the total writeoff, complete
  9. Create a new sales order and add a tax in the line =0. Complete

  10. Create an outgoing payment, set the invoice, write a discount with a partial writeoff, complete
  11. repeat the same steps from 1-10 but with a purchase invoice and incoming payment

Zur Quelldatei auf github.com