This commit is contained in:
Felix Lohmeier 2022-04-30 18:45:46 +02:00
parent b6222f7e11
commit 41de223b34
2 changed files with 17 additions and 1 deletions

View File

@ -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"
}
]

View File

@ -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['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['4030'].value, v, forEach(v.split('␟'), x, '033A ' + x + '\n').join(''), '')
+ forNonBlank(cells['4060'].value, v, '034D ' + 'a' + v + '\n', '') + forNonBlank(cells['4060'].value, v, '034D ' + 'a' + v + '\n', '')
+ forNonBlank(cells['4061'].value, v, '034M ' + 'a' + v + '\n', '') + forNonBlank(cells['4061'].value, v, '034M ' + 'a' + v + '\n', '')
+ forNonBlank(cells['4062'].value, v, '034I ' + 'a' + v + '\n', '') + forNonBlank(cells['4062'].value, v, '034I ' + 'a' + v + '\n', '')
+ forNonBlank(cells['4063'].value, v, '034K ' + '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['4204'].value, v, '037C ' + 'a' + v + '\n', '')
+ forNonBlank(cells['4212'].value, v, '046C ' + v + '\n', '') + forNonBlank(cells['4212'].value, v, '046C ' + v + '\n', '')
+ forNonBlank(cells['4222'].value, v, '046M ' + 'a' + v + '\n', '') + forNonBlank(cells['4222'].value, v, '046M ' + 'a' + v + '\n', '')
,'') ,'')