FlowmageDocs

Read transaction

BetaReads data

Reads one posted Twinfield transaction with all of its lines.

Settings

SettingWhat it is
ConnectionRequiredThe Twinfield connection the step signs in with.
Company codeLeave empty to use the company code on the connection.
Day bookRequiredThe Twinfield transaction type the entry was posted in — VRK, INK, MEMO.
Transaction numberRequiredThe number Twinfield assigned when the entry was posted.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `twinfield`)
officetext
transactionCodetext
transactionNumbertext

Output

FieldType
transactionobject
transactionNumberstring
resultTwinfield's own result markerstring
Sample output, and the expression for each field
  • result"1"
  • transaction
    • header
      • [0]
        • number
          • [0]"202100095"
    • result"1"
  • transactionNumber"202100095"

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": {
    "connection": "<connection id>",
    "office": "",
    "transactionCode": "<day book>",
    "transactionNumber": "<transaction number>"
  },
  "label": "Read transaction",
  "type": "twinfield.readTransaction",
  "version": 1
}