2010
This commit is contained in:
parent
c5bf42f028
commit
7e6878b7be
|
@ -0,0 +1,15 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"op": "core/column-addition",
|
||||||
|
"engineConfig": {
|
||||||
|
"facets": [],
|
||||||
|
"mode": "row-based"
|
||||||
|
},
|
||||||
|
"baseColumnName": "M|542a",
|
||||||
|
"expression": "grel:forEach(value.split('␟'), v, forNonBlank(filter(v.split('\u001f'), f, f[0] == 'a')[0].slice(1), x, '\u001f0' + x.replace('x','X'), '') + forNonBlank(filter(v.split('\u001f'), f, f[0] == 'b')[0].slice(1), x, '\u001ff' + x, '') ).join('␟')",
|
||||||
|
"onError": "set-to-blank",
|
||||||
|
"newColumnName": "2010",
|
||||||
|
"columnInsertIndex": 3,
|
||||||
|
"description": "Create column 2010"
|
||||||
|
}
|
||||||
|
]
|
|
@ -5,6 +5,7 @@ if(row.index - row.record.fromRowIndex == 0,
|
||||||
+ forNonBlank(cells['2000'].value, v, forEach(v.split('␟'), x, '004A ' + x + '\n').join(''), '')
|
+ forNonBlank(cells['2000'].value, v, forEach(v.split('␟'), x, '004A ' + x + '\n').join(''), '')
|
||||||
+ forNonBlank(cells['2009'].value, v, forEach(v.split('␟'), x, '004D ' + x + '\n').join(''), '')
|
+ forNonBlank(cells['2009'].value, v, forEach(v.split('␟'), x, '004D ' + x + '\n').join(''), '')
|
||||||
+ forNonBlank(cells['2003'].value, v, forEach(v.split('␟'), x, '004P ' + '0' + x + '\n').join(''), '')
|
+ forNonBlank(cells['2003'].value, v, forEach(v.split('␟'), x, '004P ' + '0' + x + '\n').join(''), '')
|
||||||
|
+ forNonBlank(cells['2010'].value, v, forEach(v.split('␟'), x, '005A ' + x + '\n').join(''), '')
|
||||||
+ forNonBlank(cells['2199'].value, v, '006Y ' + '0' + v + '\n', '')
|
+ forNonBlank(cells['2199'].value, v, '006Y ' + '0' + v + '\n', '')
|
||||||
+ 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