Kürzel aus Dateiname und für Dresden nachrangig aus E|ZWGST

This commit is contained in:
Felix Lohmeier 2020-08-10 15:47:03 +02:00
parent 85d07a0456
commit 7cc1f8ecd2
1 changed files with 6 additions and 6 deletions

View File

@ -393,8 +393,8 @@ if curl -fs \
"facets": [], "facets": [],
"mode": "row-based" "mode": "row-based"
}, },
"baseColumnName": "E|ZWGST", "baseColumnName": "File",
"expression": "grel:value.replace('BB','Brt 1').replace('BZ','Bn 3').replace('DD','D 161').replace('EH','D 275').replace('GC','Gla 1').replace('PL','Pl 11')", "expression": "grel:with(if(value=='DD',forNonBlank(cells['E|ZWGST'].value,v,v,value),value),x,x.replace('BB','Brt 1').replace('BZ','Bn 3').replace('DD','D 161').replace('EH','D 275').replace('GC','Gla 1').replace('PL','Pl 11'))",
"onError": "set-to-blank", "onError": "set-to-blank",
"newColumnName": "7100B", "newColumnName": "7100B",
"columnInsertIndex": 3 "columnInsertIndex": 3
@ -424,8 +424,8 @@ if curl -fs \
"facets": [], "facets": [],
"mode": "row-based" "mode": "row-based"
}, },
"baseColumnName": "E|ZWGST", "baseColumnName": "File",
"expression": "grel:value", "expression": "grel:if(value=='DD',forNonBlank(cells['E|ZWGST'].value,v,v,value),value)",
"onError": "set-to-blank", "onError": "set-to-blank",
"newColumnName": "7100f", "newColumnName": "7100f",
"columnInsertIndex": 3 "columnInsertIndex": 3
@ -549,8 +549,8 @@ if curl -fs \
"facets": [], "facets": [],
"mode": "row-based" "mode": "row-based"
}, },
"baseColumnName": "E|ZWGST", "baseColumnName": "File",
"expression": "grel:value.toLowercase()", "expression": "grel:with(if(value=='DD',forNonBlank(cells['E|ZWGST'].value,v,v,value),value),x,x.toLowercase())",
"onError": "set-to-blank", "onError": "set-to-blank",
"newColumnName": "E0XXb", "newColumnName": "E0XXb",
"columnInsertIndex": 3 "columnInsertIndex": 3