Korrektur Mehrfachbelegung

This commit is contained in:
Felix Lohmeier 2022-04-30 20:53:37 +02:00
parent 8dbbe44718
commit 862fec7bb2
4 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:coalesce(cells['M|425'].value, forNonBlank(cells['M|419'].value.split('\u001fc')[1],v,v,null))",
"expression": "grel:coalesce(cells['M|425'].value.split('␟')[0], forNonBlank(cells['M|419'].value.split('␟')[0].split('\u001fc')[1],v,v,null))",
"onError": "set-to-blank",
"newColumnName": "1100n",
"columnInsertIndex": 3,

View File

@ -6,7 +6,7 @@
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:filter(cells['M|303'].value.split('\u001f'), v, v.startsWith('t'))[0].slice(1)",
"expression": "grel:filter(cells['M|303'].value.split('␟')[0].split('\u001f'), v, v.startsWith('t'))[0].slice(1)",
"onError": "set-to-blank",
"newColumnName": "3210",
"columnInsertIndex": 3,
@ -43,7 +43,7 @@
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
"description": "Text transform on cells in column 3210 using expression grel:value + forNonBlank(filter(cells['M|303'].value.split('\u001f'), v, v.startsWith('u'))[0].slice(1), x, '\u001fp' + x, '')"
"description": "Text transform on cells in column 3210"
},
{
"op": "core/text-transform",

View File

@ -6,7 +6,7 @@
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:filter(cells['M|303t'].value.split('\u001f'), v, v.startsWith('t'))[0].slice(1)",
"expression": "grel:filter(cells['M|303t'].value.split('␟')[0].split('\u001f'), v, v.startsWith('t'))[0].slice(1)",
"onError": "set-to-blank",
"newColumnName": "3211",
"columnInsertIndex": 3,
@ -39,7 +39,7 @@
"mode": "row-based"
},
"columnName": "3211",
"expression": "grel:value + forNonBlank(filter(cells['M|303t'].value.split('\u001f'), v, v.startsWith('u'))[0].slice(1), x, '\u001fp' + x, '')",
"expression": "grel:value + forNonBlank(filter(cells['M|303t'].value.split('␟')[0].split('\u001f'), v, v.startsWith('u'))[0].slice(1), x, '\u001fp' + x, '')",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,
@ -72,7 +72,7 @@
"mode": "row-based"
},
"columnName": "3211",
"expression": "grel:value + forNonBlank(filter(cells['M|303t'].value.split('\u001f'), v, v.startsWith('f'))[0].slice(1), x, '\u001ff' + x, '')",
"expression": "grel:value + forNonBlank(filter(cells['M|303t'].value.split('␟')[0].split('\u001f'), v, v.startsWith('f'))[0].slice(1), x, '\u001ff' + x, '')",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10,

View File

@ -4,7 +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['2201'].value, v, forEach(v.split('␟'), x, '004L ' + '0' + x + '\n').join(''), '')
+ 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(''), '')