#548 keep M_QualityNote and M_AttributeValue in sync
Testcase to check the relation between M_QualityNote and M_AttributeValue.
- Open window Quality Note:
- => all currently available types of quality note
- => names can be changed
- => performance type can be set
- Also open window Merkmal (Attribute), select Qualitäts Notiz, and go to tab Merkmals-Wert:
- => same results as in Quality Note, all currently available types of quality note
- => names are read only and cannot be changed
- => new one cannot be created, button is read only too
- Create a new quality note in Quality Note:
- set some name for testing
- set a value in Suchschlüssel (if you don’t, you will get an exception!)
- set a performance type if you like
- Check Merkmal (Attribute), Qualitäts Notiz, tab Merkmals-Wert, try changing / deleting it:
- => the new quality note is displayed
- => it cannot be changed / deleted
- In Quality Note, make changes to your new quality note (name, performance type):
- => changes can be made without problems or errors
-
Create a purchase order for G000X, use P0001 & P0002, on TU A & TU B
- In Wareneingang POS, create receipts:
- => set quality discount and your new quality note for P0001
- => set quality discount and an older quality note for P0002
- Check request (Vorgang alle) for new entries:
- => 2 new requests were created
- => info about products, receipts, purchase order all correct
- => quality note is set in field Beanstandung as set in Wareneingang
- Check the receipts as well:
- => quality notes are displayed with ASI (if set) in receiptlines
- Create another new quality note in Quality Note, then delete it:
- => deleting works as well
View source file on GitHub.com