Affects Version/s: 16.11.05
Fix Version/s: None
Linux Ubuntu 18.04
Sprint:OFBiz Community Day (May 2019)
- Go to the catalog manager and modify a product
- Go to the supplier tab and add a supplier. Fill in the supplier product ID and product Name
- Save the supplier
- Now click the edit button next to this supplier
- Most of the fields are not prefilled
I found these fields at least not to be filled:
- Standard lead time days
- Order qty increments
- Units included
- Quantity UomId
- Last price
- Shipping price
- Supplier product name
- Supplier product ID
I don't have any agreements in my database, so haven't checked those fields. All data is stored in the database, but not visible in the edit form.
Now the weird thing is, sometimes when I add extra suppliers and modify them, some of the fields mentioned above (but not all) are prefilled as well.
Furthermore, I feel it is related, when you delete the supplier link it sometimes returns an error `Value not found, cannot remove`. I have checked where it came from and it is caused by the entity service to delete entities. It expects all fields for primary key, which for this table are PRODUCT_ID, PARTY_ID, CURRENCY_UOM_ID, MINIMUM_ORDER_QUANTITY, AVAILABLE_FROM_DATE. But these fields are not all mandatory.