# ItemsEx: Exact Online Items
## Documentation:
The ExactOnlineXML table "Items" also contains the values of additional fields defined on Items in columns such as "ITEMEXTRAFIELDS_EXTRAFIELD1", which are also known as "Extra fields" or "Free fields". The REST API "ItemExtraField" is not supported since it requires one call for each Item which would quickly deplete the allowance of API requests. The REST API "Items" has no values for the free fields currently.chr(13) || chr(10) || chr(13) || chr(10)chr(13) || chr(10) || chr(13) || chr(10)Additional where-clause columns supported:chr(13) || chr(10) || chr(13) || chr(10)- divisionchr(13) || chr(10) || chr(13) || chr(10)- downloadidchr(13) || chr(10) || chr(13) || chr(10)- codechr(13) || chr(10) || chr(13) || chr(10)- assortmentcodechr(13) || chr(10) || chr(13) || chr(10)- topselectionchr(13) || chr(10) || chr(13) || chr(10)- itemstatuschr(13) || chr(10) || chr(13) || chr(10)- ispurchasechr(13) || chr(10) || chr(13) || chr(10)- isstockchr(13) || chr(10) || chr(13) || chr(10)- issaleschr(13) || chr(10) || chr(13) || chr(10)- ismakechr(13) || chr(10) || chr(13) || chr(10)- isordercontroledchr(13) || chr(10) || chr(13) || chr(10)- istimechr(13) || chr(10) || chr(13) || chr(10)- iswebshopchr(13) || chr(10) || chr(13) || chr(10)- isserialchr(13) || chr(10) || chr(13) || chr(10)- isbatch
- Catalog: `ExactOnlineXML`
- Schema: `XML`
- Primary Keys: `code_attr`
- Label: Items
The data in this table is partitioned per value of the `Division` column.
- Retrieve: True
- Insert: True
- Update: True
- Delete: False
- Filters on API Server: division
- downloadid
- code
- assortmentcode
- topselection
- itemstatus
- ispurchase
- isstock
- issales
- ismake
- isordercontroled
- istime
- iswebshop
- isserial
- isbatch
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `ItemsEx`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `division` | `int32` | ☐ | | Company code. |
| `Params_AssortmentCode` | `varchar2` | ☐ | | Code. |
| `Params_ClassName1` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName10` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName2` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName3` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName4` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName5` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName6` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName7` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName8` | `varchar2` | ☐ | | Class code. |
| `Params_ClassName9` | `varchar2` | ☐ | | Class code. |
| `Params_Code` | `varchar2` | ☐ | | Assortment code. |
| `Params_DownloadID` | `varchar2` | ☐ | | Data subscription token. |
| `Params_IsBatch` | `boolean` | ☐ | | Property: batch. |
| `Params_IsMake` | `boolean` | ☐ | | Property: make. |
| `Params_IsOrderControled` | `boolean` | ☐ | | Property: order controlled. |
| `Params_IsPurchase` | `boolean` | ☐ | | Property: purchase. |
| `Params_IsSales` | `boolean` | ☐ | | Property: sales. |
| `Params_IsSerial` | `boolean` | ☐ | | Property: serial number. |
| `Params_IsStock` | `boolean` | ☐ | | Property: stock. |
| `Params_IsTime` | `boolean` | ☐ | | Property: time. |
| `Params_IsWebshop` | `boolean` | ☐ | | Property: web shop. |
| `Params_ItemStatus` | `varchar2` | ☐ | | Multi-select; 1: active, 2: future, 4: inactive. |
| `Params_TopSelection` | `int32` | ☐ | | Maximum number to retrieve. |
## Columns of Table Function
This table has too many columns to be included. Please enter the table name in Invantive Query Tool and press F4 (Describe) to get the column list.