Why does a “duplicate value” message appear when I save a Purchase Request or request for quotations created from a Construction Contract?
The Purchase Request and Request for Quotations forms do not accept the same product on more than one line. When an item is used with different units in the Work Items, the system splits it into one line per unit, and when you save, the message The :attribute field has a duplicate value. appears on the Item field.
- Delete one of the two lines and edit the Volume of the other so that it covers the Total in a single unit.
- Or create a separate document for each unit.
- Purchase Quotations, Purchase Orders, and Purchase Invoices accept both lines.
- The reason for the message is that the Item field in these two forms does not accept the same product twice, unlike the other Purchases forms.
- Example: “Iron” used in tons on one item and in kilograms on another appears on two lines, so the Purchase Request refuses to save until you keep a single line.