Löschungen spec_Z_02 erweitert

This commit is contained in:
Felix Lohmeier 2020-12-15 13:44:09 +01:00
parent c7205fdd1e
commit b705a7c21d
1 changed files with 101 additions and 6 deletions

View File

@ -145,14 +145,11 @@ else
fi fi
echo echo
# --------------- Zeitschriften löschen (Breitenbrunn, Dresden) -------------- # # ------------------ Zeitschriften und Teile von MTM löschen ----------------- #
# spec_Z_02 # spec_Z_02
# - M|ART > Facet > Text facet > "Z" und "GH" # siehe auch Spezifikation in CBS-Titeldaten Bibliotheca
# -- show as: records echo "Zeitschriften und Teile von MTM löschen..."
# --- All > Edit rows > Remove all matching rows
echo "Zeitschriften löschen (Breitenbrunn, Dresden)..."
if curl -fs \ if curl -fs \
--data project="${projects[$p]}" \ --data project="${projects[$p]}" \
--data-urlencode "operations@-" \ --data-urlencode "operations@-" \
@ -191,6 +188,104 @@ if curl -fs \
], ],
"mode": "record-based" "mode": "record-based"
} }
},
{
"op": "core/row-removal",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|ART",
"expression": "value",
"columnName": "M|ART",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "G",
"l": "G"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|UART",
"expression": "value",
"columnName": "M|UART",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "R",
"l": "R"
}
},
{
"v": {
"v": "Z",
"l": "Z"
}
}
],
"selectBlank": false,
"selectError": false
}
],
"mode": "row-based"
}
},
{
"op": "core/row-removal",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "M|ART",
"expression": "value",
"columnName": "M|ART",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": "G",
"l": "G"
}
}
],
"selectBlank": false,
"selectError": false
},
{
"type": "list",
"name": "M|MEDNR",
"expression": "grel:forEach(value.cross('bibliotheca','M|NRPRE'),r,if(and(r.cells['File'].value == cells['File'].value, isNonBlank(r.cells['M|BANDB'].value)),'vorhanden','fehlt')).inArray('vorhanden')",
"columnName": "M|MEDNR",
"invert": false,
"omitBlank": false,
"omitError": false,
"selection": [
{
"v": {
"v": false,
"l": "false"
}
}
],
"selectBlank": false,
"selectError": true
}
],
"mode": "row-based"
}
} }
] ]
JSON JSON