Hi All.
I'm developing a GEL script that reads a cost plan with its details, calculates segment values starting by a total and writes it back
I've been able to produce the XML file, but when I run it I gen an error since the <Cost> tag is not positioned just under the <Details> tag.
In other other words, the first part of XOG below is working (this is the one I XOGged out), while the second one dones't (this is the one I produced via GEL)
This owrks
<Details>
<Detail>
<Cost>
<segment finish="2019-10-31T00:00:00" start="2019-10-01T00:00:00" value="23000.0"/>
</Cost>
<Units/>
<Revenue/>
<GroupingAttributes>
<GroupingAttribute code="cost_type_id" value="OPERATING"/>
<GroupingAttribute code="transaction_class_id" value="EXTLABOR"/>
</GroupingAttributes>
.....
This doesn't
<Details>
<Detail>
<Units/>
<Revenue/>
<GroupingAttributes>
<GroupingAttribute code="cost_type_id" value="OPERATING"/>
<GroupingAttribute code="transaction_class_id" value="EXTLABOR"/>
</GroupingAttributes>
.....
<Cost>
<segment finish="2019-10-31T00:00:00" start="2019-10-01T00:00:00" value="23000.0"/>
</Cost>
</Detail>
<Detail>
The message I get when I run XOG of the second file is 'tag name "Cost" is not allowed'
Do someone know how to position a tag in a specific position via GEL?
Thanks in advance
Fabio
------------------------------
Fabio Cresta
Client Services Consultant, Clarity
CA technologies, a Broadcom company
------------------------------