AnsweredAssumed Answered

OBS update using XOG

Question asked by Shruthi on Nov 23, 2010
Latest reply on Nov 24, 2010 by another_martink
Hi,

We are unable to update an existing OBS structure using XOG. We get a warning message saying OBS unit should be unique.

The xml we are trying to XOG is as below:
<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_obs.xsd">
<Header action="write" externalSource="NIKU" objectType="obs" version="12.0.6.5471"/>
<obsTypes>
<obs code="test" isSecurity="false" name="Test">
<level depth="1" name="1"/>
<level depth="2" name="2"/>
<objectAssociation associationType="Any Unit" object="project"/>
<unit code="level1a" name="Level 1a">
<unit code="level2a" name="level 2a"/>
</unit>
<unit code="level1b" name="Level 1b"/>
<unit code="level1c" name="Level 1c"/>
</obs>
</obsTypes>
</NikuDataBus>


We get the following message :
<ErrorInformation>
<Severity>WARNING</Severity>
<Description>XOG-2628: OBS Unit Name must be unique within an OBS</Description>
</ErrorInformation>


Please help.

Outcomes