FlowmageDocs

Read dimension

BetaReads data

Reads one Twinfield customer, supplier, ledger 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. The List offices node shows which codes this login reaches.
KindWhich master-data book this record lives in.
CodeRequiredThe record's own Twinfield code — the Find dimensions node resolves one from a name.
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
namestring
levelnumber
inUseboolean
statusstring
Sample output, and the expression for each field
  • code"1000"
  • dimension
    • code"1000"
    • name"Acme"
    • status"active"
  • inUsetrue
  • level2
  • name"Acme"
  • status"active"

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": "Read dimension",
  "type": "twinfield.readDimension",
  "version": 1
}