146 lines
3.7 KiB
JSON
146 lines
3.7 KiB
JSON
[
|
|
{
|
|
"op": "core/column-addition",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"baseColumnName": "M|IDN",
|
|
"expression": "grel:coalesce(cells['M|425'].value.split('␟')[0], forNonBlank(cells['M|419'].value.split('␟')[0].split('\u001fc')[1],v,v,null))",
|
|
"onError": "set-to-blank",
|
|
"newColumnName": "1100n",
|
|
"columnInsertIndex": 3,
|
|
"description": "Create column 1100n"
|
|
},
|
|
{
|
|
"op": "core/column-addition",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"baseColumnName": "M|IDN",
|
|
"expression": "grel:coalesce(cells['M|425a'].value, cells['M|425b'].value).find(/\\d{4}/)[0]",
|
|
"onError": "set-to-blank",
|
|
"newColumnName": "1100a",
|
|
"columnInsertIndex": 3,
|
|
"description": "Create column 1100a"
|
|
},
|
|
{
|
|
"op": "core/text-transform",
|
|
"engineConfig": {
|
|
"facets": [
|
|
{
|
|
"type": "list",
|
|
"name": "1100n",
|
|
"expression": "isBlank(value)",
|
|
"columnName": "1100n",
|
|
"invert": false,
|
|
"omitBlank": false,
|
|
"omitError": false,
|
|
"selection": [
|
|
{
|
|
"v": {
|
|
"v": false,
|
|
"l": "false"
|
|
}
|
|
}
|
|
],
|
|
"selectBlank": false,
|
|
"selectError": false
|
|
},
|
|
{
|
|
"type": "list",
|
|
"name": "1100a",
|
|
"expression": "isBlank(value)",
|
|
"columnName": "1100a",
|
|
"invert": false,
|
|
"omitBlank": false,
|
|
"omitError": false,
|
|
"selection": [
|
|
{
|
|
"v": {
|
|
"v": true,
|
|
"l": "true"
|
|
}
|
|
}
|
|
],
|
|
"selectBlank": false,
|
|
"selectError": false
|
|
}
|
|
],
|
|
"mode": "row-based"
|
|
},
|
|
"columnName": "1100a",
|
|
"expression": "grel:cells['1100n'].value.find(/\\d{4}/)[0]",
|
|
"onError": "keep-original",
|
|
"repeat": false,
|
|
"repeatCount": 10,
|
|
"description": "Text transform on cells in column 1100a using expression grel:cells['1100n'].value.find(/\\d{4}/)[0]"
|
|
},
|
|
{
|
|
"op": "core/text-transform",
|
|
"engineConfig": {
|
|
"facets": [
|
|
{
|
|
"type": "list",
|
|
"name": "M|IDN",
|
|
"expression": "isBlank(value)",
|
|
"columnName": "M|IDN",
|
|
"invert": false,
|
|
"omitBlank": false,
|
|
"omitError": false,
|
|
"selection": [
|
|
{
|
|
"v": {
|
|
"v": false,
|
|
"l": "false"
|
|
}
|
|
}
|
|
],
|
|
"selectBlank": false,
|
|
"selectError": false
|
|
},
|
|
{
|
|
"type": "list",
|
|
"name": "1100a",
|
|
"expression": "isBlank(value)",
|
|
"columnName": "1100a",
|
|
"invert": false,
|
|
"omitBlank": false,
|
|
"omitError": false,
|
|
"selection": [
|
|
{
|
|
"v": {
|
|
"v": true,
|
|
"l": "true"
|
|
}
|
|
}
|
|
],
|
|
"selectBlank": false,
|
|
"selectError": false
|
|
}
|
|
],
|
|
"mode": "row-based"
|
|
},
|
|
"columnName": "1100a",
|
|
"expression": "grel:'20XX'",
|
|
"onError": "keep-original",
|
|
"repeat": false,
|
|
"repeatCount": 10,
|
|
"description": "Text transform on cells in column 1100a using expression grel:'20XX'"
|
|
},
|
|
{
|
|
"op": "core/column-addition",
|
|
"engineConfig": {
|
|
"facets": [],
|
|
"mode": "row-based"
|
|
},
|
|
"baseColumnName": "M|IDN",
|
|
"expression": "grel:cells['M|425c'].value.find(/\\d{4}/)[0]",
|
|
"onError": "set-to-blank",
|
|
"newColumnName": "1100b",
|
|
"columnInsertIndex": 3,
|
|
"description": "Create column 1100b"
|
|
}
|
|
]
|