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

# ArticleLinesByCode: Twinfield Item Lines by Code

`read only` `per partition` `XML`

- Catalog: `Twinfield`
- Schema: `Settings`
- Label: Item Lines by Code

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

Can only retrieve data.

## Summary

The sub-items of one item with their prices. The finder answers a sub-item as a code and a name; the price is only here. Every item of a company is answered by the view ArticleLines.

## API Source

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

## 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 `ArticleLinesByCode` 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 |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `FREETEXT1` | `varchar2` | Free Text 1 | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/freetext1` |  |
| `FREETEXT2` | `varchar2` | Free Text 2 | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/freetext2` |  |
| `FREETEXT3` | `varchar2` | Free Text 3 | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/freetext3` |  |
| `NAME` | `varchar2` | Name | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/name` |  |
| `SHORTNAME` | `varchar2` | Short Name | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/shortname` |  |
| `SUBCODE` | `varchar2` | Sub-item Code | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/subcode` |  |
| `UNITS` | `double` | Units | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/units` |  |
| `UNITSPRICEEXCL` | `decimal` | Unit Price Excluding VAT | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/unitspriceexcl` |  |
| `UNITSPRICEINC` | `decimal` | Unit Price Including VAT | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/article/lines/line/unitspriceinc` |  |



## 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-D004">

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

The table function has 11 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)

