Korrektur 4160 bzw. 036D Reihenfolge Unterfelder

This commit is contained in:
Felix Lohmeier 2021-03-29 12:26:05 +02:00
parent 91da292c62
commit 3252729b3d
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
"onError": "set-to-blank",
"newColumnName": "4150",
"columnInsertIndex": 3,
"description": "Create column 4150 at index 3 based on column ueber using expression grel:with(value.cross('bibliotheca','id')[0], r, forNonBlank(r.cells['M|HST'].value, v, '\u001fa' + v, '') + forNonBlank(r.cells['M|HSTZU'].value, v, '\u001fd' + v, '') + forNonBlank(r.cells['M|VERFA'].value, v, '\u001fh' + v, '') + forNonBlank(cells['M|BANDB'].value, v, '\u001fl' + v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(cells['M|BANDN'].value, v, '\u001fl' + v, '')))"
"description": "Create column 4150"
},
{
"op": "core/column-addition",
@ -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], ''))) + 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, ''), '') ))",
"expression": "grel:with(value.cross('bibliotheca','id')[0], r, forNonBlank(r.cells['2199'].value, 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, ''), '') ) + '\u001f7' + v, '') + forNonBlank(cells['M|BANDB'].value, v, '\u001fl' + v.replace(/\\.$/,'').replace('(','').replace(')',''), forNonBlank(cells['M|BANDN'].value, v, '\u001fl' + v, '')) )",
"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], ''))) + 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, ''), '') ))"
"description": "Create column 4160"
}
]