FlowmageDocs

Delete dimension

BetaChanges data

Hides a Twinfield customer, supplier, account, cost centre or project.

Settings

SettingWhat it is
ConnectionRequiredThe Twinfield connection the step signs in with.
Company codeLeave empty to use the company code on the connection.
Kind"DEB" or "CRD" or "BAS" or "PNL" or "KPL" or "PRJ"
CodeRequiredTwinfield hides the record rather than erasing it; the Create or update node brings it back.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `twinfield`)
officetext
dimtype"DEB" or "CRD" or "BAS" or "PNL" or "KPL" or "PRJ", by default "DEB"
codetext

Output

FieldType
dimensionobject
codestring
statusstring
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
}