ba-sachsen-pica/alephino/config/main/B_loeschen_unterordnungen.json

88 lines
2.1 KiB
JSON

[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "Starred Rows",
"expression": "row.starred",
"columnName": "",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": true,
"l": "true"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"baseColumnName": "M|IDN",
"expression": "grel:value",
"onError": "set-to-blank",
"newColumnName": "delete",
"columnInsertIndex": 3,
"description": "Create column delete at index 3 based on column M|IDN using expression grel:value"
},
{
"op": "core/row-removal",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|GT0",
"expression": "isBlank(value)",
"columnName": "M|GT0",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|GT0",
"expression": "grel:forNonBlank(forNonBlank(filter(value.split('\u001f'), f, f[0] == 'L')[0].slice(1), x, x, null).cross('alephino','delete')[0],v,'delete','')",
"columnName": "M|GT0",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "delete",
"l": "delete"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
},
"description": "Remove rows"
},
{
"op": "core/column-removal",
"columnName": "delete",
"description": "Remove column delete"
}
]