AnsweredAssumed Answered

How do you correct the partition_code only of CustomObject Instanaces

Question asked by Mayankkumar on Nov 1, 2012
Latest reply on Mar 12, 2013 by another_martink
G'day all,

How could we correct only the partition_code of the custom object instances using XOG?

I want to read the custom object instances, edit the file and then write it back.

There is no other change to any of the other attributes required.

Is there any example file that will read only those instances having "NIKU.ROOT" partition?
I already have following arguments in the read file, but it reads all the attributes of the custom object.

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="8.0" action="read" objectType="customObjectInstance" externalSource="NIKU">

<args name="no_dependencies" value="true"/>

<args name="singleContentType" value="object"/>
</Header>
<CustomObjectInstanceQuery>
<Filter name="objectCode" criteria="EQUALS">xyzsubobject</Filter>
<Filter name="instanceCode" criteria="OR">00003979,00003980,00003981, 00003957 </Filter>
</CustomObjectInstanceQuery>
</NikuDataBus>

Please advise.

Thanks and regards,
Mayank

Outcomes