# PurchaseOrderRowNotesById: Fortnox Purchase Order Row Notes by ID Get Purchase Order - Catalog: `Fortnox` - Schema: `WarehousePurchaseOrders` - Label: Purchase Order Row Notes by ID 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 `PurchaseOrderRowNotesById`. 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` | `` | ☐ | | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | | `id` | `` | ☑ | | Purchase order id. | | `ignoreIncomingGoodsId` | `` | ☐ | | used for calculating the remaining ordered quantity. null will take the received quantity from all incoming goods | | `lastmodified` | `` | ☐ | | Retrieves all records since the provided timestamp (does not work on every table). | | `todate` | `` | ☐ | | 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 `PurchaseOrderRowNotesById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `backOrderQuantity` | `decimal` | Backorder Quantity | ☐ | | | `confirmationEmail` | `varchar2(100)` | Confirmation Email | ☐ | | | `costCenterCode_2` | `varchar2(25)` | Cost Centre Code 2 | ☐ | | | `costCenterCode` | `varchar2(25)` | Cost Centre Code | ☐ | | | `currencyCode_2` | `varchar2(3)` | Currency Code 2 | ☐ | | | `currencyCode` | `varchar2(3)` | Currency Code | ☐ | | | `currencyRate` | `decimal` | Currency Rate | ☐ | | | `currencyUnit` | `int32` | Currency Unit | ☐ | | | `customerId` | `varchar2(25)` | Customer ID | ☐ | | | `customerName` | `varchar2(1024)` | Customer Name | ☐ | | | `customerNumber` | `varchar2(1024)` | Customer Number | ☐ | | | `deliveryAddress2` | `varchar2(1024)` | Delivery Address 2 | ☐ | | | `deliveryAddress` | `varchar2(1024)` | Delivery Address | ☐ | | | `deliveryCity` | `varchar2(50)` | Delivery City | ☐ | | | `deliveryCountryCode` | `varchar2(3)` | Delivery Country Code | ☐ | | | `deliveryDate` | `datetime` | Delivery Date | ☐ | | | `deliveryName` | `varchar2(50)` | Delivery Name | ☐ | | | `deliveryZipCode` | `varchar2(10)` | Delivery Zip Code | ☐ | | | `dropship` | `char` | Dropship | ☐ | | | `id_2` | `int64` | ID | ☐ | | | `id` | `guid` | ID | ☐ | | | `internalReference` | `varchar2(50)` | Internal Reference | ☐ | | | `isStockItem` | `char` | Is Stock Item | ☐ | | | `itemDescription` | `varchar2` | Item Description | ☐ | | | `itemId` | `varchar2(50)` | Item ID | ☐ | | | `itemUnit` | `varchar2` | Item Unit | ☐ | | | `languageCode` | `varchar2(3)` | Language Code | ☐ | | | `manuallyCompleted` | `char` | Manually Completed | ☐ | | | `messageToSupplier` | `varchar2(1000)` | Message to Supplier | ☐ | | | `note_2` | `varchar2(1000)` | Note 2 | ☐ | | | `note` | `varchar2` | Note | ☐ | | | `orderDate` | `datetime` | Order Date | ☐ | | | `orderValueInSEK` | `decimal` | Order Value in SEK | ☐ | | | `orderValue` | `decimal` | Order Value | ☐ | | | `orderedQuantity` | `decimal` | Ordered Quantity | ☐ | | | `ourReference` | `varchar2(50)` | Ourreference | ☐ | | | `outboundDocumentReference_id` | `varchar2` | Outbound Document Reference ID | ☐ | | | `outboundDocumentReference_type` | `varchar2` | Outbound Document Reference Type | ☐ | | | `paymentTermsCode` | `varchar2(20)` | Payment Terms Code | ☐ | | | `price` | `decimal` | Price | ☐ | | | `projectId_2` | `varchar2(25)` | Projectid 2 | ☐ | | | `projectId` | `varchar2(25)` | Project ID | ☐ | | | `purchaseOrderId_2` | `int64` | Purchase Order ID 2 | ☐ | | | `purchaseOrderId` | `int64` | Purchase Order ID | ☐ | | | `purchaseOrderRowId` | `guid` | Purchase Order Rowid | ☐ | | | `purchaseOrderState` | `varchar2` | Purchase Order State | ☐ | | | `purchaseType` | `varchar2` | Purchase Type | ☐ | | | `receivedQuantity` | `decimal` | Received Quantity | ☐ | | | `remainingOrderedQuantity` | `decimal` | Remaining Ordered Quantity | ☐ | | | `responseState` | `varchar2` | Response State | ☐ | | | `rowNum_2` | `int64` | Row Number 2 | ☐ | | | `rowNum` | `int64` | Row Number | ☐ | | | `stockLocationCode` | `varchar2` | Stock Location Code | ☐ | | | `stockLocationId` | `guid` | Stock Location ID | ☐ | | | `stockLocationName` | `varchar2` | Stock Location Name | ☐ | | | `stockPointCode_2` | `varchar2` | Stock Point Code 2 | ☐ | | | `stockPointCode` | `varchar2` | Stock Point Code | ☐ | | | `stockPointId_2` | `guid` | Stock Point ID 2 | ☐ | | | `stockPointId` | `guid` | Stock Point ID | ☐ | | | `stockPointName` | `varchar2` | Stock Point Name | ☐ | | | `supplierAddress2` | `varchar2(1024)` | Supplier Address 2 | ☐ | | | `supplierAddress` | `varchar2(1024)` | Supplier Address | ☐ | | | `supplierCity` | `varchar2(1024)` | Supplier City | ☐ | | | `supplierCountryCode` | `varchar2(3)` | Supplier Country Code | ☐ | | | `supplierEmail` | `varchar2(100)` | Supplier Email | ☐ | | | `supplierName` | `varchar2(1024)` | Supplier Name | ☐ | | | `supplierNumber` | `varchar2(1024)` | Supplier Number | ☐ | | | `supplierPostCode` | `varchar2(1024)` | Supplier Postcode | ☐ | | | `supplier` | `varchar2` | Supplier | ☐ | | | `totalReceivedQuantity` | `decimal` | Total Received Quantity | ☐ | | | `translatedResponseState` | `varchar2` | Translated Response State | ☐ | | | `voided` | `char` | Voided | ☐ | | | `yourReference` | `varchar2(50)` | Your Reference | ☐ | |