4204 erweitert
This commit is contained in:
parent
41de223b34
commit
de513593b4
|
@ -6,10 +6,43 @@
|
|||
"mode": "row-based"
|
||||
},
|
||||
"baseColumnName": "M|519",
|
||||
"expression": "grel:value",
|
||||
"expression": "grel:'\u001fa' + value",
|
||||
"onError": "set-to-blank",
|
||||
"newColumnName": "4204",
|
||||
"columnInsertIndex": 3,
|
||||
"description": "Create column 4204"
|
||||
"description": "Create column 4204 at index 3 based on column M|519 using expression grel:'\u001fa' + value"
|
||||
},
|
||||
{
|
||||
"op": "core/text-transform",
|
||||
"engineConfig": {
|
||||
"facets": [
|
||||
{
|
||||
"type": "list",
|
||||
"name": "M|520",
|
||||
"expression": "isBlank(value)",
|
||||
"columnName": "M|520",
|
||||
"invert": false,
|
||||
"omitBlank": false,
|
||||
"omitError": false,
|
||||
"selection": [
|
||||
{
|
||||
"v": {
|
||||
"v": false,
|
||||
"l": "false"
|
||||
}
|
||||
}
|
||||
],
|
||||
"selectBlank": false,
|
||||
"selectError": false
|
||||
}
|
||||
],
|
||||
"mode": "row-based"
|
||||
},
|
||||
"columnName": "4204",
|
||||
"expression": "grel:coalesce(forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'a')[0].slice(1), x, '\u001fa' + x, '') + forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'b')[0].slice(1), x, '\u001fd' + x, '') + forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'c')[0].slice(1), x, '\u001fe' + x, '') + forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'd')[0].slice(1), x, '\u001ff' + x, ''), value)",
|
||||
"onError": "keep-original",
|
||||
"repeat": false,
|
||||
"repeatCount": 10,
|
||||
"description": "Text transform on cells in column 4204 using expression grel:coalesce(forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'a')[0].slice(1), x, '\u001fa' + x, '') + forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'b')[0].slice(1), x, '\u001fd' + x, '') + forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'c')[0].slice(1), x, '\u001fe' + x, '') + forNonBlank(filter(cells['M|520'].value.split('\u001f'), f, f[0] == 'd')[0].slice(1), x, '\u001ff' + x, ''), value)"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -28,7 +28,7 @@ if(row.index - row.record.fromRowIndex == 0,
|
|||
+ 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['4204'].value, v, '037C ' + 'a' + v + '\n', '')
|
||||
+ forNonBlank(cells['4204'].value, v, '037C ' + v + '\n', '')
|
||||
+ forNonBlank(cells['4212'].value, v, '046C ' + v + '\n', '')
|
||||
+ forNonBlank(cells['4222'].value, v, '046M ' + 'a' + v + '\n', '')
|
||||
,'')
|
||||
|
|
Loading…
Reference in New Issue