Delete record
BetaChanges data
Deletes a record from AFAS Profit, like a debtor or an employee.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The AFAS Profit connection the step signs in with. |
| UpdateConnectorRequired | The node sends it a DELETE — AFAS's verb for removing a record. |
| Delete pathRequired | Three steps, separated by slashes: the element, the element with its key field, and the key's value — <Element>/<Element>@<KeyField>/<value>. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `afas-profit`) |
connector | texta value from the vendor's own list |
path | text |
Output
| Field | Type |
|---|---|
deleted | boolean |
Sample output, and the expression for each field
- deletedtrue
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>",
"connector": "<updateconnector>",
"path": "<delete path>"
},
"label": "Delete record",
"type": "afas.delete",
"version": 1
}