AnsweredAssumed Answered

XOG Error through GEL but not through XOG Client

Question asked by ferask1 on Sep 4, 2012
Latest reply on Jun 1, 2016 by LisbethSchomann4459907
Hi All,

I am trying to XOG in a few instances to a custom object via GEL. When executing the XOG script via GEL I get the following error:
 <?xml version="1.0" encoding="UTF-8"?> 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
<soapenv:Header/>
 <soapenv:Body> 
<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd"> 
<Object type="customObjectInstance"/> 
<Status elapsedTime="0.133 seconds" state="SUCCESS"/> 
<Statistics failureRecords="2" insertedRecords="0" totalNumberOfRecords="2" updatedRecords="0"/> 
<Records>
 <Record>
 <KeyInformation>
 <column name="port_act_det">00000005</column>
 </KeyInformation>
 <ErrorInformation>
 <Severity>FATAL</Severity>
 <Description>com.niku.union.odf.exception.ODFServiceException: &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;insertService type="java" componentId="odf" description="com.niku.odf.service.object.CustomObjectInsertService" transaction="dbTransaction" xmlns="http://schemas.niku.com/2002/objectTypes"/&gt; Caused by: id: odf.objectIllegalCreate location: type: error value: </Description>
 </ErrorInformation>
 </Record>
</Records> </XOGOutput> </soapenv:Body> </soapenv:Envelope>  
If I copy the XOG generated from the GEL and paste it into the XOG client, then it works successfully. No Error.

Any Ideas? XOG posted below:
 <?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
<Header action="write" externalSource="NIKU" objectType="customObjectInstance" version="13.0.0.7032"/> 
<customObjectInstances objectCode="port_act_det">
<instance instanceCode="00000005" objectCode="port_act_det" parentInstanceCode="P0000072" parentObjectCode="portfolio"> 
<CustomInformation>
<ColumnValue name="att_exp_type">5016322</ColumnValue> 
<ColumnValue name="att_oid"/> 
<ColumnValue name="att_tran">280.13</ColumnValue> 
<ColumnValue name="odf_cncrt_parent_id">5012010</ColumnValue> 
<ColumnValue name="odf_parent_id">5012010</ColumnValue> 
<ColumnValue name="code">00000005</ColumnValue> 
<ColumnValue name="name">00000005</ColumnValue>
<ColumnValue name="att_dept">5000100</ColumnValue>
<ColumnValue name="att_trans_date">2012-08-28 00:00:00.0</ColumnValue> 
<ColumnValue name="att_trans_type">CONTRACT</ColumnValue>
<ColumnValue name="att_work_cat">MAIN</ColumnValue> 
</CustomInformation> 
</instance> 
</customObjectInstances>
</NikuDataBus> 
Initial research indicates it might be an auto number issue but I don't think so. I have various scripts set up the same way, and I am not providing an override attribute so by default it should be true!

Outcomes