1 |
4341
|
aaronmk
|
Put template:
|
2 |
|
|
<VegBIEN>
|
3 |
6403
|
aaronmk
|
<_setDefault id="-1">
|
4 |
10866
|
aaronmk
|
<source_id><source><shortname>CTFS.new</shortname></source></source_id>
|
5 |
4621
|
aaronmk
|
<path>
|
6 |
6403
|
aaronmk
|
<_simplifyPath>
|
7 |
|
|
<next>parent_id</next>
|
8 |
|
|
<path>
|
9 |
|
|
<location>
|
10 |
10419
|
aaronmk
|
<parent_id><location><sourceaccessioncode>$locationID</sourceaccessioncode></location></parent_id>
|
11 |
|
|
<authorlocationcode>$subplot</authorlocationcode>
|
12 |
4621
|
aaronmk
|
<locationevent>
|
13 |
6403
|
aaronmk
|
<parent_id>
|
14 |
|
|
<locationevent>
|
15 |
|
|
<location_id>
|
16 |
|
|
<location>
|
17 |
|
|
<sourceaccessioncode>
|
18 |
|
|
<_if name="if subplot">
|
19 |
10419
|
aaronmk
|
<cond>$subplot</cond>
|
20 |
|
|
<then>$locationID</then>
|
21 |
6403
|
aaronmk
|
</_if>
|
22 |
|
|
</sourceaccessioncode>
|
23 |
|
|
</location>
|
24 |
|
|
</location_id>
|
25 |
10419
|
aaronmk
|
<sourceaccessioncode>$eventID</sourceaccessioncode>
|
26 |
6403
|
aaronmk
|
</locationevent>
|
27 |
|
|
</parent_id>
|
28 |
11107
|
aaronmk
|
<locationevent fkey="parent_id"><sourceaccessioncode>$eventID</sourceaccessioncode></locationevent>
|
29 |
4621
|
aaronmk
|
</locationevent>
|
30 |
6403
|
aaronmk
|
<sourceaccessioncode>
|
31 |
|
|
<_join>
|
32 |
10419
|
aaronmk
|
<1>$locationID</1>
|
33 |
|
|
<2>$subplot</2>
|
34 |
6403
|
aaronmk
|
</_join>
|
35 |
|
|
</sourceaccessioncode>
|
36 |
|
|
</location>
|
37 |
|
|
</path>
|
38 |
|
|
</_simplifyPath>
|
39 |
4621
|
aaronmk
|
</path>
|
40 |
6403
|
aaronmk
|
</_setDefault>
|
41 |
4341
|
aaronmk
|
</VegBIEN>
|
42 |
4458
|
aaronmk
|
Inserted 7 new rows into database
|