Korrektur 4160x AUFL/JAHR

This commit is contained in:
Felix Lohmeier 2021-03-10 13:37:31 +01:00
parent ba14d359a0
commit 898231694d
1 changed files with 2 additions and 2 deletions

View File

@ -59,10 +59,10 @@
"mode": "row-based"
},
"baseColumnName": "ueber",
"expression": "grel:with(value.cross('bibliotheca','id')[0], r, forNonBlank(r.cells['2199'].value, v, '\u001f7' + v, '') + forNonBlank(cells['M|BANDB'].value, v, '\u001fl' + v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(cells['M|BANDN'].value, v, '\u001fl' + v, '')) + '\u001fx' + forNonBlank(cells['M|BANDN'].value, v, v, forNonBlank(cells['M|BANDB'].value, v, v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(r.cells['M|HST'].value, v, v[0,2], ''))) + forNonBlank(cells['M|AUFL'].value[0], v, v + '.', '') + forNonBlank(cells['1100a'].value, v, v, ''))",
"expression": "grel:with(value.cross('bibliotheca','id')[0], r, forNonBlank(r.cells['2199'].value, v, '\u001f7' + v, '') + forNonBlank(cells['M|BANDB'].value, v, '\u001fl' + v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(cells['M|BANDN'].value, v, '\u001fl' + v, '')) + '\u001fx' + forNonBlank(cells['M|BANDN'].value, v, v, forNonBlank(cells['M|BANDB'].value, v, v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(r.cells['M|HST'].value, v, v[0,2], ''))) + if(and(isBlank(cells['M|BANDB'].value), isBlank(cells['M|BANDN'].value), isBlank(cells['HST'].value)), forNonBlank(cells['M|AUFL'].value, v, v + '.' + forNonBlank(cells['1100a'].value, jahr, jahr, ''), forNonBlank(cells['1100a'].value, jahr, jahr, '')), forNonBlank(cells['M|AUFL'].value, v, '.' + forNonBlank(cells['1100a'].value, jahr, jahr, ''), '') ))",
"onError": "set-to-blank",
"newColumnName": "4160",
"columnInsertIndex": 3,
"description": "Create column 4160 at index 3 based on column ueber using expression grel:with(value.cross('bibliotheca','id')[0], r, forNonBlank(r.cells['2199'].value, v, '\u001f7' + v, '') + forNonBlank(cells['M|BANDB'].value, v, '\u001fl' + v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(cells['M|BANDN'].value, v, '\u001fl' + v, '')) + '\u001fx' + forNonBlank(cells['M|BANDN'].value, v, v, forNonBlank(cells['M|BANDB'].value, v, v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(r.cells['M|HST'].value, v, v[0,2], ''))) + forNonBlank(cells['M|AUFL'].value[0], v, v + '.', '') + forNonBlank(cells['1100a'].value, v, v, ''))"
"description": "Create column 4160 at index 3 based on column ueber using expression grel:with(value.cross('bibliotheca','id')[0], r, forNonBlank(r.cells['2199'].value, v, '\u001f7' + v, '') + forNonBlank(cells['M|BANDB'].value, v, '\u001fl' + v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(cells['M|BANDN'].value, v, '\u001fl' + v, '')) + '\u001fx' + forNonBlank(cells['M|BANDN'].value, v, v, forNonBlank(cells['M|BANDB'].value, v, v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(r.cells['M|HST'].value, v, v[0,2], ''))) + if(and(isBlank(cells['M|BANDB'].value), isBlank(cells['M|BANDN'].value), isBlank(cells['HST'].value)), forNonBlank(cells['M|AUFL'].value, v, v + '.' + forNonBlank(cells['1100a'].value, jahr, jahr, ''), forNonBlank(cells['1100a'].value, jahr, jahr, '')), forNonBlank(cells['M|AUFL'].value, v, '.' + forNonBlank(cells['1100a'].value, jahr, jahr, ''), '') ))"
}
]