ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Updated examples for order service to wrap with an "order-line".
This commit is contained in:
parent
01219e9e6a
commit
4d5fa2a1e1
2 changed files with 55 additions and 51 deletions
|
|
@ -1,29 +1,31 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
|
||||||
<order xmlns="http://rest.ws.navalplanner.org"
|
<order-list xmlns="http://rest.ws.navalplanner.org">
|
||||||
code="ORDER-1" name="Order" init-date="2010-01-01">
|
<order
|
||||||
<children>
|
code="ORDER-1" name="Order" init-date="2010-01-01">
|
||||||
<order-line-group code="ORDER-1-OE-1" name="Order element 1">
|
<children>
|
||||||
<children>
|
<order-line-group code="ORDER-1-OE-1" name="Order element 1">
|
||||||
<order-line code="ORDER-1-OE-1-1" name="Order element 1.1">
|
<children>
|
||||||
<material-assignments>
|
<order-line code="ORDER-1-OE-1-1" name="Order element 1.1">
|
||||||
<material-assignment material-code="MATERIAL-1" units="100" unit-price="10.5" />
|
<material-assignments>
|
||||||
</material-assignments>
|
<material-assignment material-code="MATERIAL-1" units="100" unit-price="10.5" />
|
||||||
<hours-groups>
|
</material-assignments>
|
||||||
<hours-group code="HG-1" working-hours="1000" resource-type="WORKER" />
|
<hours-groups>
|
||||||
</hours-groups>
|
<hours-group code="HG-1" working-hours="1000" resource-type="WORKER" />
|
||||||
</order-line>
|
</hours-groups>
|
||||||
<order-line code="ORDER-1-OE-1-2" name="Order element 1.2">
|
</order-line>
|
||||||
<hours-groups>
|
<order-line code="ORDER-1-OE-1-2" name="Order element 1.2">
|
||||||
<hours-group code="HG-1" working-hours="2000" resource-type="WORKER" />
|
<hours-groups>
|
||||||
</hours-groups>
|
<hours-group code="HG-1" working-hours="2000" resource-type="WORKER" />
|
||||||
</order-line>
|
</hours-groups>
|
||||||
</children>
|
</order-line>
|
||||||
</order-line-group>
|
</children>
|
||||||
<order-line code="ORDER-1-OE-2" name="Order element 2">
|
</order-line-group>
|
||||||
<hours-groups>
|
<order-line code="ORDER-1-OE-2" name="Order element 2">
|
||||||
<hours-group code="HG-1" working-hours="1500" resource-type="WORKER" />
|
<hours-groups>
|
||||||
</hours-groups>
|
<hours-group code="HG-1" working-hours="1500" resource-type="WORKER" />
|
||||||
</order-line>
|
</hours-groups>
|
||||||
</children>
|
</order-line>
|
||||||
</order>
|
</children>
|
||||||
|
</order>
|
||||||
|
</order-list>
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,28 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
|
||||||
<order xmlns="http://rest.ws.navalplanner.org"
|
<order-list xmlns="http://rest.ws.navalplanner.org">
|
||||||
code="ORDER-1" name="Order" init-date="2010-01-01">
|
<order xmlns="http://rest.ws.navalplanner.org"
|
||||||
<children>
|
code="ORDER-1" name="Order" init-date="2010-01-01">
|
||||||
<order-line-group code="ORDER-1-OE-1" name="Order element 1">
|
<children>
|
||||||
<children>
|
<order-line-group code="ORDER-1-OE-1" name="Order element 1">
|
||||||
<order-line code="ORDER-1-OE-1-1" name="Order element 1.1">
|
<children>
|
||||||
<hours-groups>
|
<order-line code="ORDER-1-OE-1-1" name="Order element 1.1">
|
||||||
<hours-group code="HG-1" working-hours="1500" resource-type="WORKER" />
|
<hours-groups>
|
||||||
</hours-groups>
|
<hours-group code="HG-1" working-hours="1500" resource-type="WORKER" />
|
||||||
</order-line>
|
</hours-groups>
|
||||||
<order-line code="ORDER-1-OE-1-2" name="Order element 1.2">
|
</order-line>
|
||||||
<hours-groups>
|
<order-line code="ORDER-1-OE-1-2" name="Order element 1.2">
|
||||||
<hours-group code="HG-1" working-hours="2500" resource-type="WORKER" />
|
<hours-groups>
|
||||||
</hours-groups>
|
<hours-group code="HG-1" working-hours="2500" resource-type="WORKER" />
|
||||||
</order-line>
|
</hours-groups>
|
||||||
</children>
|
</order-line>
|
||||||
</order-line-group>
|
</children>
|
||||||
<order-line code="ORDER-1-OE-2" name="Order element 2">
|
</order-line-group>
|
||||||
<hours-groups>
|
<order-line code="ORDER-1-OE-2" name="Order element 2">
|
||||||
<hours-group code="HG-1" working-hours="1500" resource-type="WORKER" />
|
<hours-groups>
|
||||||
</hours-groups>
|
<hours-group code="HG-1" working-hours="1500" resource-type="WORKER" />
|
||||||
</order-line>
|
</hours-groups>
|
||||||
</children>
|
</order-line>
|
||||||
</order>
|
</children>
|
||||||
|
</order>
|
||||||
|
</order-list>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue