Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021529Openbravo ERP04. Warehouse managementpublic2012-09-03 11:242012-09-28 13:07
caristu 
ioritzCia 
highminoralways
closedduplicate 
5
 
3.0MP17 
ioritzCia
Core
No
0021529: Updating default warehouse by using web services not working properly
When updating the default warehouse for a user by using web services we obtaing the following error message:

  <message>org.openbravo.service.web.InvalidContentException: Exception when
parsing entity ADUser (ADUserId):Entity Warehouse
with id 1081EFAA351D0B26013521406F260AF6 not found Caused by: Exception when
parsing entity ADUser (ADUserId):Entity Warehouse
with id WarehouseId not found</message>

  If the warehouse organization is not the same as the user organization. It should works too if the warehouse organization is a child of the user organization.
1) Create a new User with organization = '*'
2) Get any warehouse id of a warehouse which its organization is different from '*'.
3) Execute the following update using webservices:

<?xml version="1.0" encoding="UTF-8"?>
<ob:Openbravo xmlns:ob="http://www.openbravo.com"> [^]
<ADUser id="userId">
  <defaultWarehouse id="warehouseId" />
</ADUser>
</ob:Openbravo>
No tags attached.
duplicate of defect 00217163.0MP16 closed AugustoMauch REST Webservice PUT Method not find objects for * 
Issue History
2012-09-03 11:24caristuNew Issue
2012-09-03 11:24caristuAssigned To => mirurita
2012-09-03 11:24caristuModules => Core
2012-09-03 11:24caristuResolution time => 1352761200
2012-09-03 11:24caristuIssue Monitored: networkb
2012-09-03 11:25caristuDescription Updatedbug_revision_view_page.php?rev_id=3782#r3782
2012-09-03 18:53caristuTarget Version3.0MP16 => 3.0MP17
2012-09-04 15:07jonalegriaesarteAssigned Tomirurita => ioritzCia
2012-09-28 13:06ioritzCiaRelationship addedduplicate of 0021716
2012-09-28 13:07ioritzCiaClosed by => ioritzCia
2012-09-28 13:07ioritzCiaNote Added: 0052866
2012-09-28 13:07ioritzCiaStatusnew => closed
2012-09-28 13:07ioritzCiaResolutionopen => duplicate

Notes
(0052866)
ioritzCia   
2012-09-28 13:07   
Duplicated