|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Modules] Openbravo Business API||major||always||2023-11-15 03:49||2023-12-06 14:12|
|Priority||high||Resolution||open||Fixed in Version|
|Status||scheduled||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Regression introduced by commit|
|Review Assigned To|
|Regression introduced in release|
0053935: Update UOM product
|Description||When to use the Product API with the following endpoint: |
In the alternativeUnitOfMeasure field some of the fields "sales", "purchase", and "logistics" are set as "P" of primary and there is already a UOM with some of these fields in the back office, because of the Event Handler ProductAumEventHandler.java, the EDL Request will be in error.
The API should delete the UOM that is not defined in the JSON that is sent in the request and add the new UOM.
|Steps To Reproduce||Verify in the back office a product where in the "Alternate UOM" tab there is one that contains a field such as "primary".|
Build the JSON to update this Product and inside and in the field "alternativeUnitOfMeasure" add a UOM setting in the same field as the one in the product tab as "P":
Perform the request and verify that the EDL Request failed with the following message: Error while importing an item: Duplicate PRIMARY Alternate Unit of Measure in Logistics for this product.
|Tags||No tags attached.|
|2023-11-15 03:49||ivazquez||New Issue|
|2023-11-15 03:49||ivazquez||Assigned To||=> Triage Platform Conn|
|2023-11-16 09:26||adrianromero||Assigned To||Triage Platform Conn => Retail|
|2023-12-06 14:12||Rajesh_18||Assigned To||Retail => Rajesh_18|
|2023-12-06 14:12||Rajesh_18||Status||new => scheduled|
|Copyright © 2000 - 2009 MantisBT Group|