Wonach suchst Du?
What are you looking for?

IT FRESH-770

#487 Attribute editor dialog stores empty field as empty string

Testcase to check if the attributes left empty in attribute editor are stored as null instead of empty.

  1. Create a sales order for G000X, with:
  2. Check your order and orderlines in db:
  3. Print Preview the Jasper for the order:
  4. Create a purchase order for G000X, with:
  5. Check your order and orderlines in db:
  6. Print Preview the Jasper for the order:
  7. In Wareneingang POS, make sure the destination warehouse for your purchase order receipt will be the same as the Kommissionier warehouse of your sales order

  8. If that warehouse is not selectable as destination warehouse, create a Distribution Order to move your products accordingly

  9. Select your order in Wareneingang POS, and create material receipts:
  10. Check Wareneingang for your receipts, print preview the Jaspers:
  11. Check the Wareneingang in db (m_inoutline!):
  12. If you had to create a Distribution Order, then move the products to the destination warehouse now!

  13. Open Kommissionier Terminal, select G000X and your sales order date

  14. Select the line for P0001, open the picking terminal, and click HU Editor:
  15. Select 1 HU, and do the picking

  16. In db, set the attribute: Bio to null or empty for 1 HU of P0001 (note: you have to set it for LU, TU & VPI!!)

  17. Check Kommissionier Terminal, picking again:
  18. Select another HU (preferably without Bio), and do picking

  19. Create the inouts for the HUs you picked before (for each separately)

  20. Check the inouts, jasper previews, and check in db:
  21. Repeat with P0003 picking and inout

  22. Check the inouts, jasper previews, and check in db:
  23. Check the HUs you chose for picking in Handling Unit window, tab attribute, and check some attributes (set/not set) in db too (M_HU_Attribute_ID):
  24. Also try reactivating an order (a new one, before receipts / inouts), and setting / unnsetting the attributes from before:

View source file on GitHub.com