From ecfe4c582544d20525bbdfa1dd90125af63adf04 Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Sat, 30 Apr 2022 17:32:30 +0200 Subject: [PATCH] 4025 --- alephino/config/main/T_4025.json | 15 +++++++++++++++ alephino/config/main/template.txt | 1 + 2 files changed, 16 insertions(+) create mode 100644 alephino/config/main/T_4025.json diff --git a/alephino/config/main/T_4025.json b/alephino/config/main/T_4025.json new file mode 100644 index 0000000..1ae80d8 --- /dev/null +++ b/alephino/config/main/T_4025.json @@ -0,0 +1,15 @@ +[ + { + "op": "core/column-addition", + "engineConfig": { + "facets": [], + "mode": "row-based" + }, + "baseColumnName": "M|432", + "expression": "grel:value", + "onError": "set-to-blank", + "newColumnName": "4025", + "columnInsertIndex": 3, + "description": "Create column 4025" + } +] diff --git a/alephino/config/main/template.txt b/alephino/config/main/template.txt index 8995b52..9da1960 100644 --- a/alephino/config/main/template.txt +++ b/alephino/config/main/template.txt @@ -20,6 +20,7 @@ if(row.index - row.record.fromRowIndex == 0, + forNonBlank(cells['3010'].value, v, forEach(v.split('␟'), x, '028C ' + x + '\n').join(''), '') + forNonBlank(cells['3100'].value, v, '029A ' + v + '\n', '') + 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['4026'].value, v, '035E ' + 'a' + v + '\n', '') + forNonBlank(cells['4030'].value, v, forEach(v.split('␟'), x, '033A ' + x + '\n').join(''), '')