---
title: "ArticleSettingsByCode (Twinfield)"
description: "Item Settings by Code"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Settings.ArticleSettingsByCode
original: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Settings.ArticleSettingsByCode
updated: 2026-11-01T17:45:47Z
license: https://documentation.invantive.eu/en/
---

# ArticleSettingsByCode: Twinfield Item Settings by Code

`read only` `per partition` `XML`

- Catalog: `Twinfield`
- Schema: `Settings`
- Primary Keys: `code`
- Label: Item Settings by Code

The data in this table is partitioned per value of the `COMPANY_CODE` column.

Can only retrieve data.

## Summary

Settings of one item, named by code. Every item of a company is answered by the view ArticleSettings; the sub-items and their prices by ArticleLines.

## API Source

- XML service: `webservices/processxml.asmx`
- XML topic: `article`
- XML path: `/article/header`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 54 |
| Full scan rows per minute | 1,690 |
| Point query rows per minute | 1,111 |
| Write rows per minute | 378 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `code` | `` | [x] |  | Code of the item to read. |
| `COMPANY_CODE` | `` | [x] |  | Code of company. |

## Table Columns

The columns of the table `ArticleSettingsByCode` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `ALLOWCHANGEPERFORMANCETYPE` | `char` | Allow Change Performance Type | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/allowchangeperformancetype` |  |
| `ALLOWCHANGEUNITSPRICE` | `char` | Allow Change Units Price | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/allowchangeunitsprice` |  |
| `ALLOWCHANGEVATCODE` | `char` | Allow Change VAT Code | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/allowchangevatcode` |  |
| `ALLOWDECIMALQUANTITY` | `char` | Allow Decimal Quantity | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/allowdecimalquantity` |  |
| `ALLOWDISCOUNTORPREMIUM` | `char` | Allow Discount or Premium | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/allowdiscountorpremium` |  |
| `CODE` | `varchar2` | Code | [x] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/code` |  |
| `COMPANY_CODE` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `NAME` | `varchar2` | Name | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/name` |  |
| `OFFICE` | `varchar2` | Office | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/office` | Company the item belongs to. |
| `PERCENTAGE` | `double` | Percentage | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/percentage` |  |
| `PERFORMANCETYPE` | `varchar2` | Performance Type | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/performancetype` | Either services or goods. |
| `SHORTNAME` | `varchar2` | Short Name | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/shortname` |  |
| `STATUS` | `varchar2` | Status | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/status` | One of active, deleted or hide. |
| `TYPE` | `varchar2` | Type | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/type` | One of normal, discount or premium. |
| `UNITNAMEPLURAL` | `varchar2` | Unit Name Plural | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/unitnameplural` |  |
| `UNITNAMESINGULAR` | `varchar2` | Unit Name Singular | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/unitnamesingular` |  |
| `VATCODE` | `varchar2` | VAT Code | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/header/vatcode` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Twinfield](/en/release-notes/drivers?driver=twinfield)

### Changes of This Table, 26.0 to 27.0

<div class="rn-item" id="TFD-27.0-D005">

##### Table function Twinfield.Settings.ArticleSettingsByCode is added

The table function has 18 columns and can select.

<div class="rn-chips">

- importance 3

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers?driver=twinfield&step=26.0-to-27.0#twinfield-26.0-to-27.0)

