martin.snizek

Autonumbering works just partly

Discussion created by martin.snizek on Nov 27, 2012
Latest reply on Mar 11, 2013 by martin.snizek
Hello,
I need to use autonumbering for code and name when I'm creating instances of custom object with my GEL script. For attribute code it works fine, but for name it takes just the scheme Rozpad č.:11 položky finančního dokumentu: RZPD{i_rs_fdp.code}, where {i_rs_fdp.code} is defined like Parent Object Attribute Reference. But it doesn't replace {i_rs_fdp.code} with the right information.

Have you got any idea?

Here is my XOG message send with the GEL script:
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
<Header action="write" externalSource="NIKU" objectType="customObjectInstance" overrideAutoNumbering="false" version="12.1.2.1260"/>
<customObjectInstances objectCode="i_fdp_rs_r">
<instance grandparentObjectCode="i_fdp" instanceCode="-1" objectCode="i_fdp_rs_r" parentObjectCode="i_rs_fdp">
<CustomInformation>
<ColumnValue name="code">-1</ColumnValue>
<ColumnValue name="name">-1</ColumnValue>
<ColumnValue name="odf_parent_id">${gel_objectInstanceId}</ColumnValue>
<ColumnValue name="odf_cncrt_parent_id">${gel_objectInstanceId}</ColumnValue>
<ColumnValue name="i_rpfd_cstk">${rsfd_cstk}</ColumnValue>
<ColumnValue name="i_rpfd_cstk_currency">${rsfd_cstk_currency}</ColumnValue>
<ColumnValue name="i_rpfd_pfpp_n">${rsfdp_pfpp}</ColumnValue>
</CustomInformation>
</instance>
</customObjectInstances>
</NikuDataBus>
EDIT: It works fine when I create new instace manually

Outcomes