This commit is contained in:
Felix Lohmeier 2022-04-30 20:27:15 +02:00
parent 6fe0c3fbea
commit 8dbbe44718
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,35 @@
[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|553a",
"expression": "isBlank(value)",
"columnName": "M|553a",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"baseColumnName": "M|553a",
"expression": "grel:value",
"onError": "set-to-blank",
"newColumnName": "2201",
"columnInsertIndex": 3,
"description": "Create column 2201"
}
]

View File

@ -4,6 +4,7 @@ if(row.index - row.record.fromRowIndex == 0,
+ forNonBlank(cells['0500'].value, v, '002@ ' + '0' + v + '\n', '')
+ forNonBlank(cells['2000'].value, v, forEach(v.split('␟'), x, '004A ' + x + '\n').join(''), '')
+ forNonBlank(cells['2009'].value, v, forEach(v.split('␟'), x, '004D ' + x + '\n').join(''), '')
+ forNonBlank(cells['2201'].value, v, '004L ' + '0' + v + '\n', '')
+ forNonBlank(cells['2003'].value, v, forEach(v.split('␟'), x, '004P ' + '0' + x + '\n').join(''), '')
+ forNonBlank(cells['2053'].value, v, '004W ' + '0' + v + '\n', '')
+ forNonBlank(cells['2010'].value, v, forEach(v.split('␟'), x, '005A ' + x + '\n').join(''), '')