AnsweredAssumed Answered

xog write error on sub custom object to project

Question asked by LisbethSchomann4459907 on Jan 11, 2019
Latest reply on Jan 14, 2019 by LisbethSchomann4459907

Hope some one can help me, as something must be wrong with my syntacs

(have never tried writing to a sub object)

 

I have made a custom sub object where project is master.

Now I am trying to update the sub object through a process, and I just get this:

[XOG]Error Information:<Description>com.niku.union.odf.exception.ODFServiceException: An exception occurred while trying to update an object instance z_pf_st_chnge</Description>

 

-------------

This is a copy of the xml piece I am using:

 

<gel:parse var="v_XOG_insert">
   <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
        <Header action="write" externalSource="NIKU" objectType="customObjectInstance" version="14.3.0.298">
         <args name="overrideAutoNumbering" value="false"/>
        </Header>
        <customObjectInstances objectCode="z_pf_st_chnge">
         <instance instanceCode="a" objectCode="z_pf_st_chnge" parentInstanceCode="${gel_objectInstanceId}" parentObjectCode="project">
          <CustomInformation>
           <ColumnValue name="partition_code">NETS_IT</ColumnValue>
           <ColumnValue name="code">a</ColumnValue>
           <ColumnValue name="name">Stage change</ColumnValue>
           <ColumnValue name="page_layout">odf.z_pf_st_chngeFrame</ColumnValue>
           <ColumnValue name="odf_period_start"/>
           <ColumnValue name="odf_period_end"/>
           <ColumnValue name="z_prjid">${ProjectID}</ColumnValue>
           <ColumnValue name="z_prjname">${ProjectName}</ColumnValue>
          </CustomInformation>
         </instance>
        </customObjectInstances>
   </NikuDataBus>
  </gel:parse>

[XOG]Error Information:<Description>com.niku.union.odf.exception.ODFServiceException: An exception occurred while trying to update an object instance z_pf_st_chnge</Description>

Outcomes