# AccountItems: Exact Online Account Items - Catalog: `ExactOnlineREST` - Schema: `Logistics` - Primary Keys: `ID` - Label: Account Items The data in this table is partitioned per value of the `Division` column. This is a read-only table function. The Exact Online API may not support changing the data or the Invantive UniversalSQL driver for Exact Online does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Exact Online API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `AccountItems`. 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 | |---|:---:|:---:|:---:|---| | `accountId` | `guid` | ☑ | | | | `division` | `int32` | ☐ | | ID of the division to retrieve data for. | ## Columns of Table Function The columns of the table function `AccountItems` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `Account` | `guid` | Account | ☐ | Account. | | `Barcode` | `varchar2`(20) | Barcode | ☐ | Barcode. | | `Code` | `varchar2`(30) | Code | ☐ | Item code. | | `CostPriceCurrency` | `varchar2`(30) | Cost Price Currency | ☐ | Currency of cost price. | | `CostPriceNew` | `double` | Cost Price New | ☐ | New cost price. | | `CostPriceStandard` | `double` | Cost Price Standard | ☐ | Standard cost price. | | `Created` | `datetime` | Created | ☐ | Creation date. | | `CreatedUtc` | `datetime` | Created (UTC) | ☐ | Creation date in UTC. | | `Creator` | `guid` | Creator | ☐ | User ID of creator. | | `CreatorFullName` | `varchar2`(240) | Creator Full Name | ☐ | Name of creator. | | `DefaultSalesPrice` | `double` | Default Sales Price | ☐ | Default sales price. | | `Description` | `varchar2`(60) | Description | ☐ | Item Description. | | `Division` | `int32` | Division | ☐ | Division code. | | `DivisionCompanyCoCNumber` | `varchar2`(60) | Division Chamber of Commerce Number | ☐ | Chamber of commerce number of the Exact Online division. | | `DivisionCompanyIBANNumber` | `varchar2`(50) | Division IBAN Number | ☐ | IBAN number of the Exact Online division. | | `DivisionCompanyName` | `varchar2`(50) | Division Company Name | ☑ | Company name of the Exact Online division. | | `DivisionCompanyRSINNumber` | `varchar2`(9) | Division RSIN Number | ☐ | RSIN number of the Exact Online division. | | `DivisionCompanyVATNumber` | `varchar2`(35) | Division VAT Number | ☐ | VAT number of the Exact Online division. | | `DivisionCompanyWageTaxNumber` | `varchar2`(60) | Division Wage Tax Number | ☐ | Wage tax number of the Exact Online division. | | `DivisionLabel` | `varchar2`(128) | Division Label | ☑ | Label of the Exact Online division. | | `DivisionName` | `varchar2`(50) | Administration Name | ☑ | Name of the Exact Online division. | | `DivisionOwnerCompanyName` | `varchar2`(50) | Subscription Holder Name | ☑ | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | | `DivisionOwnerCompanyNumber` | `varchar2`(18) | Subscription Holder Number | ☑ | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | | `DivisionShortName` | `int64` | Division Short Name | ☑ | Short name of the Exact Online division. | | `EndDate` | `datetime` | End Date | ☐ | End date. | | `ID` | `guid` | ID | ☑ | Item. | | `IsFractionAllowedItem` | `char` | Is Fraction Allowed on Item | ☐ | Indicates if decimals are allowed in quantities. | | `IsSalesItem` | `char` | Is Sales Item | ☐ | Indicates if this is a sales item. | | `IsStockItem` | `char` | Is Stock Item | ☐ | Indicates if this is a stock item. | | `IsTaxableItem` | `int16` | Is Taxable Item | ☐ | Indicates if tax needs to be calculated for this item. | | `IsWebshopItem` | `int16` | Is Webshop Item | ☑ | Indicates if this is a webshop item. | | `ItemGroup` | `guid` | Is Item Group | ☐ | Item group. | | `ItemGroupCode` | `varchar2` | Item Group Code | ☐ | Code of Item group. | | `ItemGroupDescription` | `varchar2` | Item Group Description | ☐ | Description of Item group. | | `Margin` | `double` | Margin | ☐ | Margin. | | `Markup` | `double` | Mark-up | ☐ | Markup. | | `Modified` | `datetime` | Modified | ☐ | Last modified date. | | `ModifiedUtc` | `datetime` | Modified (UTC) | ☐ | Last modified date in UTC. | | `Modifier` | `guid` | Modifier | ☐ | User ID of modifier. | | `ModifierFullName` | `varchar2`(240) | Modified Full Name | ☐ | Name of modifier. | | `Notes` | `varchar2` | Notes | ☐ | Extra remarks. | | `PictureName` | `varchar2` | Picture Name | ☐ | File name of picture. | | `PictureThumbnailUrl` | `varchar2` | Picture Thumbnail (URL) | ☐ | Url where thumbnail picture can be retrieved. | | `PictureUrl` | `varchar2` | Picture (URL) | ☐ | Url where picture can be retrieved. | | `ProjectedStock` | `double` | Projected Stock | ☐ | | | `PurchaseLeadDays` | `int32` | Purchase Lead Days | ☐ | Number of days before purchase arrives. | | `QuantityToBeConsumed` | `double` | | ☐ | Quantity to be consumed. | | `QuantityToBeDelivered` | `double` | | ☐ | Quantity to be delivered. | | `QuantityToBeProduced` | `double` | | ☐ | Quantity to be produced. | | `QuantityToBeReceived` | `double` | | ☐ | Quantity to be received. | | `ReservedStock` | `double` | Reserved Stock | ☐ | Quantity in stock that is reserved. | | `SalesCurrency` | `varchar2`(30) | Sales Currency | ☐ | Currency of sales price. | | `SalesPrice` | `double` | Salesprice | ☐ | Sales price. | | `SalesVatCode` | `varchar2`(3) | Sales VAT Code | ☐ | Sales vat code. | | `SalesVatCodeDescription` | `varchar2`(60) | Sales VAT Code Description | ☐ | Description of Sales VAT code. | | `StartDate` | `datetime` | Start Date | ☐ | Start date. | | `Stock` | `double` | Stock | ☐ | Quantity that is in stock. | | `Unit` | `guid` | Unit | ☐ | Unit. | | `UnitCode` | `varchar2`(8) | Unit Code | ☐ | Code of unit. | | `UnitDescription` | `varchar2`(60) | Unit Description | ☐ | Description of unit. | | `UnitType` | `varchar2`(1) | Unit Type | ☐ | Type of unit: A=Area, L=Length, O=Other, T=Time, V=Volume, W=Weight. |