ba-sachsen-pica/bibliotheca/config/main/67XX.json

104 lines
2.2 KiB
JSON

[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "File",
"expression": "value",
"columnName": "File",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "BB",
"l": "BB"
}
},
{
"v": {
"v": "BZ",
"l": "BZ"
}
},
{
"v": {
"v": "GC",
"l": "GC"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|SYST",
"expression": "isBlank(value)",
"columnName": "M|SYST",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "record-based"
},
"baseColumnName": "M|SYST",
"expression": "grel:row.record.cells[columnName].value[0]",
"onError": "set-to-blank",
"newColumnName": "67XX",
"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": "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
}
]