AnsweredAssumed Answered

Error while creating custom object instance through XOG

Question asked by shiva.s43 on Jul 20, 2017
Latest reply on Aug 9, 2017 by shiva.s43

Hi,

 

I am getting error while creating custom object instance through XOG in a process. Getting error while doing manual XOG also. We are in V15.2

 

Here is the sample XML and error message.

 

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
<Header action="write" externalSource="NIKU" objectType="customObjectInstance" version="15.2.0.213">
<args name="overrideAutoNumbering" value="false"/>
</Header>
<customObjectInstances objectCode="os_eace">
<instance instanceCode="-1" objectCode="os_eace">
<CustomInformation>
<ColumnValue name="code">-1</ColumnValue>
<ColumnValue name="name">Test ACE</ColumnValue>
<ColumnValue name="os_division">2</ColumnValue>
<ColumnValue name="page_layout">odf.os_eaceFrame</ColumnValue>
<ColumnValue name="partition_code">tbs_org_ops</ColumnValue>
</CustomInformation>
<OBSAssocs complete="false"/>
</instance>
</customObjectInstances>
</NikuDataBus>

 

Error:

<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
<Object type="customObjectInstance"/>
<Status elapsedTime="1.095 seconds" state="SUCCESS"/>
<Statistics failureRecords="1" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0"/>
<Records>
<Record>
<KeyInformation>
<column name="os_eace">-1</column>
</KeyInformation>
<ErrorInformation>
<Severity>FATAL</Severity>
<Description>com.niku.union.odf.exception.ODFServiceException: An exception occurred while trying to update an object instance os_eace</Description>
</ErrorInformation>
</Record>
</Records>
</XOGOutput>

 

Thanks,

Shiva

Outcomes