metafresh logo and link to homepage

IT FRESH-890

#615 Purchase Order wrong Price from Contract or Pricesystem for specific Product

Testcase to check if the correct price is set in purchase order if a procurement contract exists.

  1. Make sure G000X has procurement flatrate terms for:
  2. Make sure pricelist VP in the newest version and has prices set for:
  3. Create a purchase order for date of test (date promised), for G000X, with:
  4. Check the prices in the orderlines:
  5. Make the following changes, save (and refresh):
  6. Check the prices again:
  7. Change the price in VP for P0002:
  8. In flatrate term for P0003, TU A, set the price 0.00 for in 4 months

  9. Create another purchase order, for G000X, with date promised in 4 months:
  10. Check the prices in the orderlines:
  11. Create a new pricelist version of VP, starting next month with new prices for:
  12. Create another purchase order, for G000X, with date promised in 4 months:
  13. Check the prices in the orderlines:
  14. Change the orderline accordingly, save, refresh:
  15. Check the price again:

Note: You can have different attribute prices in vendor pricelist (for certain TUs or attributes), but the one taken for purchase order is usually the standard one! Therefore, make sure you not only set a price for e.g. P0001 in the pricelist, but an attribute price for e.g. P0001, TU A (in procurement flatrate term, you also always have a product combined with packing item) and make sure in purchase order you select the right TU!


Zur Quelldatei auf github.com