Delete dimension
BetaChanges data
Hides a Twinfield customer, supplier, account, cost centre or project.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Twinfield connection the step signs in with. |
| Company code | Leave empty to use the company code on the connection. |
| Kind | "DEB" or "CRD" or "BAS" or "PNL" or "KPL" or "PRJ" |
| CodeRequired | Twinfield hides the record rather than erasing it; the Create or update node brings it back. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `twinfield`) |
office | text |
dimtype | "DEB" or "CRD" or "BAS" or "PNL" or "KPL" or "PRJ", by default "DEB" |
code | text |
Output
| Field | Type |
|---|---|
dimension | object |
code | string |
status | string |
Sample output, and the expression for each field
- code"1000"
- dimension
- code"1000"
- result"1"
- status"deleted"
- status"deleted"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"code": "<code>",
"connection": "<connection id>",
"dimtype": "DEB",
"office": ""
},
"label": "Delete dimension",
"type": "twinfield.deleteDimension",
"version": 1
}