2201 EAN
This commit is contained in:
parent
95bed397e7
commit
2794a7d8a1
|
@ -130,6 +130,8 @@ tasks:
|
||||||
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/2020.json > {{.LOG}}
|
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/2020.json > {{.LOG}}
|
||||||
- > # spec_B_T_29: ISSN 2010
|
- > # spec_B_T_29: ISSN 2010
|
||||||
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/2010.json > {{.LOG}}
|
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/2010.json > {{.LOG}}
|
||||||
|
- > # spec_B_T_06: EAN 2201
|
||||||
|
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/2201.json > {{.LOG}}
|
||||||
- > # spec_B_E_10: Zugangsdatum E0XX
|
- > # spec_B_E_10: Zugangsdatum E0XX
|
||||||
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/e0xx.json > {{.LOG}}
|
"$CLIENT" -P {{.PORT}} {{.PROJECT}} --apply config/main/e0xx.json > {{.LOG}}
|
||||||
- > # spec_B_E_14, spec_Z_03, spec_B_E16: Selektionsschlüssel E0XXb
|
- > # spec_B_E_14, spec_Z_03, spec_B_E16: Selektionsschlüssel E0XXb
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"op": "core/column-addition",
|
||||||
|
"engineConfig": {
|
||||||
|
"facets": [
|
||||||
|
{
|
||||||
|
"type": "list",
|
||||||
|
"name": "M|EAN",
|
||||||
|
"expression": "grel:and(value.length() == 13, isNumeric(value))",
|
||||||
|
"columnName": "M|EAN",
|
||||||
|
"invert": false,
|
||||||
|
"omitBlank": false,
|
||||||
|
"omitError": false,
|
||||||
|
"selection": [
|
||||||
|
{
|
||||||
|
"v": {
|
||||||
|
"v": true,
|
||||||
|
"l": "true"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"selectBlank": false,
|
||||||
|
"selectError": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "row-based"
|
||||||
|
},
|
||||||
|
"baseColumnName": "M|EAN",
|
||||||
|
"expression": "grel:value",
|
||||||
|
"onError": "set-to-blank",
|
||||||
|
"newColumnName": "2201",
|
||||||
|
"columnInsertIndex": 3,
|
||||||
|
}
|
||||||
|
]
|
|
@ -21,6 +21,7 @@ with(
|
||||||
'2000',
|
'2000',
|
||||||
'2010',
|
'2010',
|
||||||
'2020',
|
'2020',
|
||||||
|
'2201',
|
||||||
'4000a',
|
'4000a',
|
||||||
'4000d',
|
'4000d',
|
||||||
'4020a',
|
'4020a',
|
||||||
|
|
|
@ -10,6 +10,7 @@ if(row.index - row.record.fromRowIndex == 0,
|
||||||
+ forNonBlank(cells['2000'].value, v, forEach(v.split('␟'),x,'004A ' + '0' + x + '\n').join(''), '')
|
+ forNonBlank(cells['2000'].value, v, forEach(v.split('␟'),x,'004A ' + '0' + x + '\n').join(''), '')
|
||||||
+ forNonBlank(cells['2010'].value, v, '005A ' + '0' + v + '\n', '')
|
+ forNonBlank(cells['2010'].value, v, '005A ' + '0' + v + '\n', '')
|
||||||
+ forNonBlank(cells['2020'].value, v, '004F ' + '0' + v + '\n', '')
|
+ forNonBlank(cells['2020'].value, v, '004F ' + '0' + v + '\n', '')
|
||||||
|
+ forNonBlank(cells['2201'].value, v, '004L ' + '0' + v + '\n', '')
|
||||||
+ forNonBlank(cells['2199'].value, v, forEach(v.split('␟'),x,'006Y ' + '0' + x + '\n').join(''), '')
|
+ forNonBlank(cells['2199'].value, v, forEach(v.split('␟'),x,'006Y ' + '0' + x + '\n').join(''), '')
|
||||||
+ forNonBlank(cells['1500'].value, v, '010@ ' + forEach(v.split('␟'),x,'a' + x).join('') + '\n', '')
|
+ forNonBlank(cells['1500'].value, v, '010@ ' + forEach(v.split('␟'),x,'a' + x).join('') + '\n', '')
|
||||||
+ forNonBlank(cells['1100a'].value, v, '011@ ' + 'a' + v + forNonBlank(cells['1100b'].value, v, 'b' + v, '') + forNonBlank(cells['1100n'].value, v, 'n' + v, '') + '\n', '')
|
+ forNonBlank(cells['1100a'].value, v, '011@ ' + 'a' + v + forNonBlank(cells['1100b'].value, v, 'b' + v, '') + forNonBlank(cells['1100n'].value, v, 'n' + v, '') + '\n', '')
|
||||||
|
|
Loading…
Reference in New Issue