4060, 4061, 4062, 4063

This commit is contained in:
Felix Lohmeier 2022-04-30 18:14:29 +02:00
parent ecfe4c5825
commit 125e080c7c
2 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,80 @@
[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|433",
"expression": "grel:coalesce(value, cells['M|433c'].value).split(' : ')[0].split('␟')[0]",
"onError": "set-to-blank",
"newColumnName": "4060",
"columnInsertIndex": 3,
"description": "Create column 4060"
},
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|433",
"expression": "grel:coalesce(value, cells['M|433c'].value).split(' : ')[1].split(' ; ')[0].split('␟')[0]",
"onError": "set-to-blank",
"newColumnName": "4061",
"columnInsertIndex": 3,
"description": "Create column 4061"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"columnName": "4061",
"expression": "grel:[ value, forEach(cells['M|434'].value.split('␟'), v, v).join('; ') ].join('; ')",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column 4061"
},
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|433",
"expression": "grel:coalesce(value, cells['M|433c'].value).split(' : ')[1].split(' ; ')[1].split('␟')[0]",
"onError": "set-to-blank",
"newColumnName": "4062",
"columnInsertIndex": 3,
"description": "Create column 4062"
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"columnName": "4062",
"expression": "grel:coalesce(value, cells['M|435'].value)",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column 4062"
},
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "M|437",
"expression": "grel:value",
"onError": "set-to-blank",
"newColumnName": "4063",
"columnInsertIndex": 3,
"description": "Create column 4063"
}
]

View File

@ -22,6 +22,10 @@ if(row.index - row.record.fromRowIndex == 0,
+ forNonBlank(cells['3110'].value, v, forEach(v.split('␟'), x, '029F ' + x + '\n').join(''), '') + forNonBlank(cells['3110'].value, v, forEach(v.split('␟'), x, '029F ' + x + '\n').join(''), '')
+ forNonBlank(cells['4025'].value, v, '031@ ' + 'a' + v + '\n', '') + forNonBlank(cells['4025'].value, v, '031@ ' + 'a' + v + '\n', '')
+ forNonBlank(cells['4020'].value, v, '032@ ' + 'a' + v + '\n', '') + forNonBlank(cells['4020'].value, v, '032@ ' + 'a' + v + '\n', '')
+ 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['4026'].value, v, '035E ' + 'a' + v + '\n', '')
+ forNonBlank(cells['4030'].value, v, forEach(v.split('␟'), x, '033A ' + x + '\n').join(''), '') + forNonBlank(cells['4030'].value, v, forEach(v.split('␟'), x, '033A ' + x + '\n').join(''), '')
+ forNonBlank(cells['4222'].value, v, '046M ' + 'a' + v + '\n', '') + forNonBlank(cells['4222'].value, v, '046M ' + 'a' + v + '\n', '')