From 41de223b3441151ed9d09c80fb42d0e69b8a06f3 Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Sat, 30 Apr 2022 18:45:46 +0200 Subject: [PATCH] 4204 --- alephino/config/main/T_4204.json | 15 +++++++++++++++ alephino/config/main/template.txt | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 alephino/config/main/T_4204.json diff --git a/alephino/config/main/T_4204.json b/alephino/config/main/T_4204.json new file mode 100644 index 0000000..63d5727 --- /dev/null +++ b/alephino/config/main/T_4204.json @@ -0,0 +1,15 @@ +[ + { + "op": "core/column-addition", + "engineConfig": { + "facets": [], + "mode": "row-based" + }, + "baseColumnName": "M|519", + "expression": "grel:value", + "onError": "set-to-blank", + "newColumnName": "4204", + "columnInsertIndex": 3, + "description": "Create column 4204" + } +] diff --git a/alephino/config/main/template.txt b/alephino/config/main/template.txt index c974109..776a077 100644 --- a/alephino/config/main/template.txt +++ b/alephino/config/main/template.txt @@ -22,12 +22,13 @@ if(row.index - row.record.fromRowIndex == 0, + forNonBlank(cells['3110'].value, v, forEach(v.split('␟'), x, '029F ' + x + '\n').join(''), '') + forNonBlank(cells['4025'].value, v, '031@ ' + 'a' + v + '\n', '') + forNonBlank(cells['4020'].value, v, '032@ ' + 'a' + v + '\n', '') ++ forNonBlank(cells['4030'].value, v, forEach(v.split('␟'), x, '033A ' + x + '\n').join(''), '') + forNonBlank(cells['4060'].value, v, '034D ' + 'a' + v + '\n', '') + forNonBlank(cells['4061'].value, v, '034M ' + 'a' + v + '\n', '') + forNonBlank(cells['4062'].value, v, '034I ' + 'a' + v + '\n', '') + forNonBlank(cells['4063'].value, v, '034K ' + 'a' + v + '\n', '') + forNonBlank(cells['4026'].value, v, '035E ' + 'a' + v + '\n', '') -+ forNonBlank(cells['4030'].value, v, forEach(v.split('␟'), x, '033A ' + x + '\n').join(''), '') ++ forNonBlank(cells['4204'].value, v, '037C ' + 'a' + v + '\n', '') + forNonBlank(cells['4212'].value, v, '046C ' + v + '\n', '') + forNonBlank(cells['4222'].value, v, '046M ' + 'a' + v + '\n', '') ,'')