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.

33 lines
1.1 KiB

2 years ago
rest:
sender:
_id: "sender={_data.person._sender(_steps._nr)}"
client-name: "{_catalog.sender.name(sender)}"
client-id: "{_catalog.sender.client-id(sender)}"
client-depart: "{_catalog.sender.department(sender)}"
messages:
_foreach: "msgid={_steps._nr}"
message:
'@nr': "{msgid}"
'@action': "{_steps.args.action}"
#msgid: "{gen.genId(n8)}"
timestamp: "{_par.tctime}"
customer:
_id: "{msgid}"
_row: "{_data.person(msgid)}"
name: "{_row.person.name}"
famname: "{_row.person.famname}"
adress:
_id: "{msgid}"
_row: "{_data.adress(msgid)}"
street: "{_row.adress.street}"
city: "{_row.adress.city}"
zip: "{_row.adress.zip}"
position:
_foreach: "posid={_data.product._nr,_pos(msgid)}"
#'@id': "$i"
product:
_id: "{posid}"
_row: "{_data.product(posid)}"
description: "{_row.product.descript}"
prdtype: "{_row.product.objtype}"