# TimeReportingArticleRegistrations: Fortnox Time Reporting Article Registrations Get full article registrations that match filter Response property descriptions: &nbsp;&nbsp;&nbsp;&nbsp; id - The unique id of a basic common combination of article registrations. (The basic common combination means "user/purchase date/customer/project/cost center", which leads to a dialog with several article registrations.) &nbsp;&nbsp;&nbsp;&nbsp; purchaseDate - The date on which the article is purchased or registered for charging. &nbsp;&nbsp;&nbsp;&nbsp; ownerId - The user ID who creates the basic common combination. &nbsp;&nbsp;&nbsp;&nbsp; version - The version of the basic common combination (article dialog) being updated, which is used for handling the concurrency issue. &nbsp;&nbsp;&nbsp;&nbsp; registrationType - It is always "ARTICLE" for article list endpoint. &nbsp;&nbsp;&nbsp;&nbsp; Sub-Class - ArticleRegistration: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id - The unique id of an article registration. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; registrationId - The id of the basic common combination. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; orderIndex - the order index for the article registration in regard of the common combination. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ownerId - The user ID who owns the article registration. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; totalQuantity - The quantity of the article. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unitPrice - The unit price connected to the article registration, which might be locked on an invoice/order basis or for non-invoiceable. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unitCost - The unit cost connected to the article registration, which might be locked on an invoice/order basis. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; invoiceBasisId - The ID of invoice/order basis which is used for creating an invoice/order. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nonInvoiceable - If the article registration would be ignored for charging or not. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; note - The note on the article registration. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; documentId - The document ID which includes the article registration and is created in Invoicing application. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; documentType - The document type which could be "invoice" or "order". ## Documentation <p> <b>Response property descriptions:</b><br/> &nbsp;&nbsp;&nbsp;&nbsp; <b><i>id</i></b> - The unique id of a basic common combination of article registrations. (The basic common combination means "user/purchase date/customer/project/cost center", which leads to a dialog with several article registrations.)<br/> &nbsp;&nbsp;&nbsp;&nbsp; <b><i>purchaseDate</i></b> - The date on which the article is purchased or registered for charging.<br/> &nbsp;&nbsp;&nbsp;&nbsp; <b><i>ownerId</i></b> - The user ID who creates the basic common combination.<br/> &nbsp;&nbsp;&nbsp;&nbsp; <b><i>version</i></b> - The version of the basic common combination (article dialog) being updated, which is used for handling the concurrency issue.<br/> &nbsp;&nbsp;&nbsp;&nbsp; <b><i>registrationType</i></b> - It is always "ARTICLE" for article list endpoint.<br/> &nbsp;&nbsp;&nbsp;&nbsp; <b>Sub-Class - ArticleRegistration:</b><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>id</i></b> - The unique id of an article registration.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>registrationId</i></b> - The id of the basic common combination.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>orderIndex</i></b> - the order index for the article registration in regard of the common combination.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>ownerId</i></b> - The user ID who owns the article registration.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>totalQuantity</i></b> - The quantity of the article.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>unitPrice</i></b> - The unit price connected to the article registration, which might be locked on an invoice/order basis or for non-invoiceable.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>unitCost</i></b> - The unit cost connected to the article registration, which might be locked on an invoice/order basis.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>invoiceBasisId</i></b> - The ID of invoice/order basis which is used for creating an invoice/order.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>nonInvoiceable</i></b> - If the article registration would be ignored for charging or not.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>note</i></b> - The note on the article registration.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>documentId</i></b> - The document ID which includes the article registration and is created in Invoicing application.<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>documentType</i></b> - The document type which could be "invoice" or "order". </p> - Catalog: `Fortnox` - Schema: `TimeReportingArticles` - Label: Time Reporting Article Registrations This is a read-only table function. The Fortnox API may not support changing the data or the Invantive UniversalSQL driver for Fortnox does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Fortnox API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `TimeReportingArticleRegistrations`. 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 | |---|:---:|:---:|:---:|---| | `financialyear` | `` | ☐ | | Selects what financial year that should be used (does not work on every table). | | `financialyeardate` | `` | ☐ | | Selects by date, what financial year that should be used (does not work on every table). | | `fromDate` | `` | ☐ | | The start date of the search span, the max of which should be 1 year to the end date ("toDate"). Example: 2022-11-01 | | `fromdate2` | `` | ☐ | | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | | `inInvoiceBasis` | `` | ☐ | | If the article registration is locked on an invoice basis, or not. | | `includeNonInvoiceablePrice` | `` | ☐ | | If the price of the non-invoiceable article registration is included, or not. | | `includeRegistrationsWithoutProject` | `` | ☐ | | If the article registration without project is included, or not. | | `internalArticles` | `` | ☐ | | If the article registration is internal, which is registered on an internal customer, or not. | | `invoiced` | `` | ☐ | | If a document is created with the article registration, or not. | | `lastmodified` | `` | ☐ | | Retrieves all records since the provided timestamp (does not work on every table). | | `nonInvoiceable` | `` | ☐ | | If the article registration has been moved to non-invoiceable, or not. | | `toDate` | `` | ☐ | | The end date of the search span, the max of which should be 1 year back to the start date ("fromDate"). Example: 2022-11-30 | | `todate2` | `` | ☐ | | Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | ## Columns of Table Function The columns of the table function `TimeReportingArticleRegistrations` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `costCenter_active` | `varchar2` | Cost Centre Active | ☐ | | | `costCenter_id` | `varchar2(40)` | Cost Centre ID | ☐ | | | `costCenter_name` | `varchar2(255)` | Cost Centre Name | ☐ | | | `createdBy` | `varchar2` | Created by | ☐ | | | `createdTime_2` | `datetime` | Created Time 2 | ☐ | | | `createdTime` | `datetime` | Created Time | ☐ | | | `customer_accountManager` | `varchar2` | Customer Account Manager | ☐ | | | `customer_active` | `char` | Customer Active | ☐ | | | `customer_defaultProjectId` | `varchar2` | Customer Default Projectid | ☐ | | | `customer_deleted` | `char` | Customer Deleted | ☐ | | | `customer_id` | `varchar2(40)` | Customer ID | ☐ | | | `customer_invoiceCity` | `varchar2` | Customer Invoice City | ☐ | | | `customer_invoiceZipCode` | `varchar2` | Customer Invoice Zip Code | ☐ | | | `customer_isBusiness` | `int32` | Customer Is Business | ☐ | | | `customer_name` | `varchar2(255)` | Customer Name | ☐ | | | `customer_number` | `varchar2(1024)` | Customer Number | ☐ | | | `customer_priceList` | `varchar2` | Customer Pricelist | ☐ | | | `customer_propertyDesignation` | `varchar2` | Customer Property Designation | ☐ | | | `documentId` | `int64` | Document ID | ☐ | | | `documentType` | `varchar2` | Document Type | ☐ | | | `id_2` | `guid` | ID | ☐ | | | `id` | `guid` | ID | ☐ | | | `invoiceBasisId` | `int64` | Invoice Basis ID | ☐ | | | `invoiceText` | `varchar2(1000)` | Invoice Text | ☐ | | | `nonInvoiceable` | `char` | Non Invoiceable | ☐ | | | `note` | `varchar2(1000)` | Note | ☐ | | | `orderIndex` | `int32` | Order Index | ☐ | | | `ownerId_2` | `varchar2` | Owner ID 2 | ☐ | | | `ownerId` | `varchar2` | Owner ID | ☐ | | | `ownerName_2` | `varchar2` | | ☐ | | | `ownerName` | `varchar2` | | ☐ | | | `project_description` | `varchar2(50)` | Project Description | ☐ | | | `project_endDate` | `datetime` | Project End Date | ☐ | | | `project_id` | `varchar2(40)` | Project ID | ☐ | | | `project_invoicedAmount` | `double` | Project Invoiced Amount | ☐ | | | `project_orderAmount` | `double` | Project Order Amount | ☐ | | | `project_orderTime` | `double` | Project Order Time | ☐ | | | `project_projectLeader` | `varchar2` | Project Leader | ☐ | | | `project_startDate` | `datetime` | Project Start Date | ☐ | | | `project_status` | `int32` | Project Status | ☐ | | | `project_totalAmountInInvoices` | `double` | Project Total Amount in Invoices | ☐ | | | `purchaseDate` | `datetime` | Purchase Date | ☐ | | | `registeredArticle_createdBy` | `varchar2` | Registered Article Created By | ☐ | | | `registeredArticle_createdTime` | `datetime` | Registered Article Created Time | ☐ | | | `registeredArticle_documentId` | `int64` | Registered Article Document ID | ☐ | | | `registeredArticle_documentType` | `varchar2` | Registered Article Document Type | ☐ | | | `registeredArticle_id` | `guid` | Registered Article ID | ☐ | | | `registeredArticle_invoiceBasisId` | `int64` | Registered Article Invoice Basis ID | ☐ | | | `registeredArticle_invoiceText` | `varchar2(1000)` | Registered Article Invoice Text | ☐ | | | `registeredArticle_nonInvoiceable` | `char` | Registered Article Non Invoiceable | ☐ | | | `registeredArticle_note` | `varchar2(1000)` | Registered Article Note | ☐ | | | `registeredArticle_orderIndex` | `int32` | Registered Article Order Index | ☐ | | | `registeredArticle_ownerId` | `varchar2` | Registered Article Owner ID | ☐ | | | `registeredArticle_ownerName` | `varchar2` | | ☐ | | | `registeredArticle_timeLocked` | `char` | Registered Article Time Locked | ☐ | | | `registeredArticle_totalQuantity` | `decimal` | Registered Article Total Quantity | ☐ | | | `registeredArticle_unitCost` | `decimal` | Registered Article Unit Cost | ☐ | | | `registeredArticle_unitPrice` | `decimal` | Registered Article Unit Price | ☐ | | | `registrationType` | `varchar2` | Registration Type | ☐ | | | `timeLocked` | `char` | Time Locked | ☐ | | | `totalQuantity` | `decimal` | Total Quantity | ☐ | | | `unitCost` | `decimal` | Unit Cost | ☐ | | | `unitPrice` | `decimal` | Unit Price | ☐ | | | `version` | `int64` | Version | ☐ | |