Optimierung Abschlussarbeiten

This commit is contained in:
Felix Lohmeier 2021-04-28 19:48:41 +02:00
parent aa6395a25e
commit 66a4e4616c
8 changed files with 168 additions and 123 deletions

View File

@ -120,31 +120,6 @@
], ],
"selectBlank": false, "selectBlank": false,
"selectError": false "selectError": false
},
{
"type": "list",
"name": "7100f",
"expression": "value",
"columnName": "7100f",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "EH",
"l": "EH"
}
},
{
"v": {
"v": "EH-Theke",
"l": "EH-Theke"
}
}
],
"selectBlank": false,
"selectError": false
} }
], ],
"mode": "row-based" "mode": "row-based"

View File

@ -45,37 +45,6 @@
], ],
"selectBlank": false, "selectBlank": false,
"selectError": false "selectError": false
},
{
"type": "list",
"name": "7100f",
"expression": "value",
"columnName": "7100f",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BB",
"l": "BB"
}
},
{
"v": {
"v": "EH",
"l": "EH"
}
},
{
"v": {
"v": "EH-Theke",
"l": "EH-Theke"
}
}
],
"selectBlank": false,
"selectError": false
} }
], ],
"mode": "row-based" "mode": "row-based"

View File

@ -202,5 +202,43 @@
"onError": "keep-original", "onError": "keep-original",
"repeat": false, "repeat": false,
"repeatCount": 10 "repeatCount": 10
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|MEDGR",
"expression": "value",
"columnName": "M|MEDGR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BAC",
"l": "BAC"
}
},
{
"v": {
"v": "DIP",
"l": "DIP"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "4170_1",
"expression": "grel:null",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
} }
] ]

View File

@ -45,37 +45,6 @@
], ],
"selectBlank": false, "selectBlank": false,
"selectError": false "selectError": false
},
{
"type": "list",
"name": "7100f",
"expression": "value",
"columnName": "7100f",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BB",
"l": "BB"
}
},
{
"v": {
"v": "EH",
"l": "EH"
}
},
{
"v": {
"v": "EH-Theke",
"l": "EH-Theke"
}
}
],
"selectBlank": false,
"selectError": false
} }
], ],
"mode": "row-based" "mode": "row-based"

View File

@ -60,7 +60,44 @@
"expression": "grel:row.record.cells[columnName].value[0]", "expression": "grel:row.record.cells[columnName].value[0]",
"onError": "set-to-blank", "onError": "set-to-blank",
"newColumnName": "67XX", "newColumnName": "67XX",
"columnInsertIndex": 3, "columnInsertIndex": 3
"description": "Create column 67XX at index 3 based on column M|SYST using expression grel:row.record.cells[columnName].value[0]" },
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|MEDGR",
"expression": "value",
"columnName": "M|MEDGR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BAC",
"l": "BAC"
}
},
{
"v": {
"v": "DIP",
"l": "DIP"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "67XX",
"expression": "grel:null",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
} }
] ]

View File

@ -35,6 +35,94 @@
"expression": "grel:value", "expression": "grel:value",
"onError": "set-to-blank", "onError": "set-to-blank",
"newColumnName": "6800", "newColumnName": "6800",
"columnInsertIndex": 124 "columnInsertIndex": 3
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|MEDGR",
"expression": "value",
"columnName": "M|MEDGR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "DI",
"l": "DI"
}
},
{
"v": {
"v": "MA",
"l": "MA"
}
},
{
"v": {
"v": "BA",
"l": "BA"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "6800",
"expression": "grel:cells['M|SYST'].value",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
},
{
"op": "core/text-transform",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|MEDGR",
"expression": "value",
"columnName": "M|MEDGR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "DI",
"l": "DI"
}
},
{
"v": {
"v": "MA",
"l": "MA"
}
},
{
"v": {
"v": "BA",
"l": "BA"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"columnName": "6800",
"expression": "grel:value + forNonBlank(cells['M|SW0'].value, v, '␟' + v,'')",
"onError": "keep-original",
"repeat": false,
"repeatCount": 10
} }
] ]

View File

@ -45,37 +45,6 @@
], ],
"selectBlank": false, "selectBlank": false,
"selectError": false "selectError": false
},
{
"type": "list",
"name": "7100f",
"expression": "value",
"columnName": "7100f",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BB",
"l": "BB"
}
},
{
"v": {
"v": "EH",
"l": "EH"
}
},
{
"v": {
"v": "EH-Theke",
"l": "EH-Theke"
}
}
],
"selectBlank": false,
"selectError": false
} }
], ],
"mode": "row-based" "mode": "row-based"

View File

@ -45,7 +45,7 @@ with(with(rowIndex - row.record.fromRowIndex + 1, i, '00'[0,2-i.length()] + i),e
+ forNonBlank(cells['8200'].value, v, '209G/' + exnr + ' a' + v + '\n', '') + forNonBlank(cells['8200'].value, v, '209G/' + exnr + ' a' + v + '\n', '')
+ forNonBlank(cells['8600'].value, v, '209O/' + exnr + ' a' + v + 'x00' + '\n', '') + forNonBlank(cells['8600'].value, v, '209O/' + exnr + ' a' + v + 'x00' + '\n', '')
+ forNonBlank(cells['8515'].value, v, '220B/' + exnr + ' a' + v + '\n', '') + forNonBlank(cells['8515'].value, v, '220B/' + exnr + ' a' + v + '\n', '')
+ forNonBlank(cells['6800'].value, v, '244Z/' + exnr + ' a' + v + 'x00' + '\n', '') + forNonBlank(cells['6800'].value, v, forEachIndex(v.split('␟'), i, x, '244Z/' + exnr + ' a' + x.trim() + 'x' + '00'[0,2-i.split('␟').length().length()] + i.split('␟').length() + '\n').join(''), '')
+ forNonBlank(cells['67XX'].value, v, forEachIndex(v.split('||'), i, x, '245Z/' + exnr + ' a' + x.trim() + 'x0' + i + '\n').join(''), '') + forNonBlank(cells['67XX'].value, v, forEachIndex(v.split('||'), i, x, '245Z/' + exnr + ' a' + x.trim() + 'x' + '00'[0,2-i.split('␟').length().length()] + i.split('␟').length() + '\n').join(''), '')
), '') ), '')
}} }}