You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
1.7 KiB
99 lines
1.7 KiB
_option:
|
|
_input: testa
|
|
description: create 2 new contracts||||||
|
|
_steps:
|
|
- !!python/object:basic.step.Step
|
|
args:
|
|
action: new
|
|
fct: xml-rest
|
|
comp: testrest
|
|
execStep: '2'
|
|
fct: xml-rest
|
|
refLine: '1'
|
|
- !!python/object:basic.step.Step
|
|
args:
|
|
action: new
|
|
fct: json-rest
|
|
comp: testrest
|
|
execStep: '3'
|
|
fct: json-rest
|
|
refLine: 1,2
|
|
_tables:
|
|
object:
|
|
_comp:
|
|
testrest: object
|
|
_data:
|
|
- _comp:
|
|
testrest: object
|
|
_nr: '1'
|
|
descript: cat
|
|
objid: ''
|
|
objtype: animal
|
|
value: '100'
|
|
- _comp:
|
|
testrest: object
|
|
_nr: '2'
|
|
descript: dog
|
|
objid: ''
|
|
objtype: animal
|
|
value: '200'
|
|
_date: 02.07.2022
|
|
_header:
|
|
- _nr
|
|
- objid
|
|
- descript
|
|
- objtype
|
|
- value
|
|
_hit: false
|
|
person:
|
|
_comp:
|
|
testcrmdb: person
|
|
testrest: person
|
|
_data:
|
|
- _comp:
|
|
testrest: person
|
|
_nr: '1'
|
|
birth: 10.02.1898
|
|
famname: Brecht
|
|
name: Bert
|
|
sex: m
|
|
- _comp:
|
|
testcrmdb: person
|
|
testrest: person
|
|
_nr: '2'
|
|
birth: 28.09.1942
|
|
famname: Leon
|
|
name: Donna
|
|
sex: f
|
|
_date: 01.07.2022
|
|
_header:
|
|
- _nr
|
|
- famname
|
|
- name
|
|
- birth
|
|
- sex
|
|
_hit: false
|
|
product:
|
|
_comp:
|
|
testprddb: product
|
|
_count: '2'
|
|
_data:
|
|
- _comp:
|
|
testprddb: product
|
|
descript: first
|
|
factor: '1.234'
|
|
objtype: time
|
|
prdid: '4'
|
|
- _comp:
|
|
testprddb: product
|
|
descript: second
|
|
factor: '2.234'
|
|
objtype: money
|
|
prdid: '5'
|
|
_date: 29.06.2022
|
|
_header:
|
|
- prdid
|
|
- descript
|
|
- objtype
|
|
- factor
|
|
_hit: false
|
|
|