3260
This commit is contained in:
parent
3af9635f35
commit
b54e12f417
|
@ -0,0 +1,41 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"op": "core/column-addition",
|
||||||
|
"engineConfig": {
|
||||||
|
"facets": [],
|
||||||
|
"mode": "row-based"
|
||||||
|
},
|
||||||
|
"baseColumnName": "M|310",
|
||||||
|
"expression": "grel:value",
|
||||||
|
"onError": "set-to-blank",
|
||||||
|
"newColumnName": "3260",
|
||||||
|
"columnInsertIndex": 3,
|
||||||
|
"description": "Create column 3260"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"op": "core/text-transform",
|
||||||
|
"engineConfig": {
|
||||||
|
"facets": [],
|
||||||
|
"mode": "row-based"
|
||||||
|
},
|
||||||
|
"columnName": "3260",
|
||||||
|
"expression": "grel:value.replace('¬', '')",
|
||||||
|
"onError": "keep-original",
|
||||||
|
"repeat": false,
|
||||||
|
"repeatCount": 10,
|
||||||
|
"description": "Text transform on cells in column 3260"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"op": "core/text-transform",
|
||||||
|
"engineConfig": {
|
||||||
|
"facets": [],
|
||||||
|
"mode": "row-based"
|
||||||
|
},
|
||||||
|
"columnName": "3260",
|
||||||
|
"expression": "grel:with(['a', 'das', 'dem', 'den', 'der', 'des', 'die', 'ein', 'eine', 'einem', 'einen', 'einer', 'eines', 'the'], x, if(inArray(x, value.split(' ')[0].toLowercase()), value.split(' ')[0] + ' @' + value.split(' ').slice(1).join(' '), value))",
|
||||||
|
"onError": "keep-original",
|
||||||
|
"repeat": false,
|
||||||
|
"repeatCount": 10,
|
||||||
|
"description": "Text transform on cells in column 3260"
|
||||||
|
}
|
||||||
|
]
|
|
@ -11,6 +11,7 @@ if(row.index - row.record.fromRowIndex == 0,
|
||||||
+ forNonBlank(cells['1700'].value, v, '019@ ' + forEach(v.split('‡'),x,'a' + x).join('') + '\n', '')
|
+ forNonBlank(cells['1700'].value, v, '019@ ' + forEach(v.split('‡'),x,'a' + x).join('') + '\n', '')
|
||||||
+ forNonBlank(cells['3210'].value, v, '022A/00 ' + 'a' + v + '\n', '')
|
+ forNonBlank(cells['3210'].value, v, '022A/00 ' + 'a' + v + '\n', '')
|
||||||
+ forNonBlank(cells['3211'].value, v, '022A/01 ' + 'a' + v + '\n', '')
|
+ forNonBlank(cells['3211'].value, v, '022A/01 ' + 'a' + v + '\n', '')
|
||||||
|
+ forNonBlank(cells['3260'].value, v, '027A ' + 'a' + v + '\n', '')
|
||||||
+ forNonBlank(cells['3000'].value, v, '028A ' + v + '\n', '')
|
+ forNonBlank(cells['3000'].value, v, '028A ' + v + '\n', '')
|
||||||
+ forNonBlank(cells['3010'].value, v, forEach(v.split('␟'), x, '028C ' + x + '\n').join(''), '')
|
+ forNonBlank(cells['3010'].value, v, forEach(v.split('␟'), x, '028C ' + x + '\n').join(''), '')
|
||||||
+ forNonBlank(cells['3100'].value, v, '029A ' + v + '\n', '')
|
+ forNonBlank(cells['3100'].value, v, '029A ' + v + '\n', '')
|
||||||
|
|
Loading…
Reference in New Issue