---
title: "SalesOrderLines (Exact Online)"
description: "Sales Order Lines"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/exactonline/ExactOnlineREST.SalesOrder.SalesOrderLines
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.SalesOrder.SalesOrderLines
updated: 2026-11-16T20:57:33Z
license: https://documentation.invantive.eu/it/
---

# SalesOrderLines: Exact Online Sales Order Lines

`insert` `update` `delete` `per partition` `webhook` `REST`

- Catalogo: `ExactOnlineREST`
- Schema: `SalesOrder`
- Chiavi primarie: `ID`
- Label: Sales Order Lines

I dati in questa tabella sono partizionati per valore della colonna `Division`.

È possibile recuperare e modificare i dati utilizzando `insert`, `update` e `delete`.

Le modifiche vengono inviate tramite il topic del webhook `SalesOrders` su `OrderID`.

## Codice sorgente dell'API

- Punto finale: `/api/v1/{division}/salesorder/SalesOrderLines`
- Metadati: `/api/v1/{division}/salesorder/$metadata`

## Caratteristiche prestazionali

| Characteristic | Value |
|---|---:|
| Latenza media di accesso (ms) | 5 |
| Righe di scansione completa al minuto | 7,200 |
| Numero di righe di Query al minuto | 300 |
| Scrittura di righe al minuto | 300 |

Il risultato può essere memorizzato nella memoria cache sul client.

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `SalesOrderLines`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `AmountDC` | `double` | Valuta della divisione degli importi | [x] | writable | Amount in the default currency of the company. |
| `AmountFC` | `double` | Importo in valuta estera | [x] | writable | Amount in the currency of the transaction. |
| `CostCenter` | `varchar2(8)` | Centro di costo | [ ] | filters on the platform, writable | Reference to Cost Center. |
| `CostCenterDescription` | `varchar2(60)` | Descrizione del centro di costo | [ ] | writable | Description of cost center. |
| `CostPriceFC` | `double` | Prezzo di costo in valuta estera | [ ] | writable | Item cost price. |
| `CostUnit` | `varchar2(8)` | Unità del costo | [ ] | filters on the platform, writable | Reference to Cost Unit. |
| `CostUnitDescription` | `varchar2(60)` | Unità del costo Descrizione | [ ] | writable | Description of cost unit. |
| `CustomField` | `varchar2` | Campo personalizzato | [ ] | filtri sulla piattaforma |  |
| `CustomerItemCode` | `varchar2` | Codice articolo cliente | [ ] |  | Code the customer uses for this item. |
| `DeliveryDate` | `datetime` | Data di consegna | [ ] | filters on the platform, writable | Delivery date of this line. |
| `DeliveryStatus` | `int16` | Stato della spedizione | [ ] | filters on the platform, writable | Shipping status of the sales order line.12=Open, 20=Partial, 21=Complete, 45=Cancelled. |
| `Description` | `varchar2` | Description | [ ] | filters on the platform, writable | Description. |
| `Discount` | `double` | Discount | [ ] | writable | Discount given on the default price.Discount = (DefaultPrice of Item - PriceItem in line) / DefaultPrice of Item. |
| `Division` | `int32` | Division | [x] |  | Division code. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | Numero di iscrizione alla Camera di Commercio della Divisione | [ ] | writable | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | Codice IBAN della divisione | [ ] | writable | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2(50)` | Divisione - Nome dell'azienda | [x] | writable | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | Numero di divisione RSIN | [ ] | writable | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2(35)` | Partita IVA della divisione | [ ] | writable | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | Codice fiscale salariale della divisione | [ ] | writable | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2(128)` | Etichetta della divisione | [x] | writable | Label of the Exact Online division. |
| `DivisionName` | `varchar2(50)` | Nome dell'amministrazione | [x] | writable | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Nome del titolare dell'abbonamento | [x] | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2(18)` | Numero di abbonato | [x] | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Nome abbreviato della divisione | [x] | writable | Short name of the Exact Online division. |
| `ID` | `guid` | ID | [x] | filters on the platform, writable | Primary key. |
| `InvoiceStatus` | `int16` | Stato della fattura | [ ] | filters on the platform, writable | Invoice status of the sales order line.12=Open, 20=Partial, 21=Complete, 45=Cancelled. |
| `Item` | `guid` | Item | [ ] | filters on the platform, writable | Reference to the Item that is sold in this sales order line. |
| `ItemCode` | `varchar2(30)` | Codice articolo | [ ] | writable | Code of the item. |
| `ItemDescription` | `varchar2(255)` | Descrizione dell'articolo | [ ] | writable | Description of Item. |
| `ItemVersion` | `guid` | Versione dell'articolo | [ ] | filters on the platform, writable | Version of item. |
| `ItemVersionDescription` | `varchar2` | Articolo Versione Descrizione | [ ] | writable | Description of Item Version. |
| `LineNumber` | `int32` | Numero della linea | [x] | filters on the platform, writable | Line number. |
| `Margin` | `double` | Margin | [ ] | writable | Sales margin of the sales order line. |
| `NetPrice` | `double` | Prezzo netto | [ ] | writable | Net price of the sales order line. |
| `Notes` | `varchar2` | Notes | [ ] | writable | Extra notes. |
| `OrderID` | `guid` | ID dell'ordine | [x] | filters on the platform, writable | Reference to Sales Order.All the lines of a sales order have the same OrderID. |
| `OrderNumber` | `int32` | Numero dell'ordine | [x] | filters on the platform, writable | Number of sales order. |
| `OrderStatus` | `int16` | Stato dell'ordine | [ ] | filters on the platform, writable | The status of the sales order line.12=Open, 20=Partial, 21=Complete, 45=Cancelled. |
| `Pricelist` | `guid` | Listino prezzi | [ ] | filters on the platform, writable | Reference to Price List. |
| `PricelistDescription` | `varchar2` | Descrizione del listino prezzi | [ ] | writable | Description of Price List. |
| `Project` | `guid` | Project | [ ] | filters on the platform, writable | Reference to Project.The project can be different per line.Sometimes also the project in the header is filled although this is not really used. |
| `ProjectDescription` | `varchar2(60)` | Descrizione del progetto | [ ] | writable | Description of Project. |
| `PurchaseOrder` | `guid` | Ordine di acquisto | [ ] | writable | Reference to Purchase Order. |
| `PurchaseOrderLine` | `guid` | Linea dell'ordine di acquisto | [ ] | writable | Reference to Purchase Order Line. |
| `PurchaseOrderLineNumber` | `int32` | Numero della riga dell'ordine di acquisto | [ ] | writable | Line number of referenced Purchase Order Line. |
| `PurchaseOrderNumber` | `int32` | Numero dell'ordine di acquisto | [ ] | writable | Number of referenced Purchase Order. |
| `Quantity` | `double` | Quantity | [ ] | writable | Number of items sold in default units.The quantity shown in the entry screen is Quantity * UnitFactor. |
| `QuantityDelivered` | `double` | Quantità consegnata | [ ] | writable | The number of items delivered. |
| `QuantityInvoiced` | `double` | Quantità fatturata | [ ] | writable | The number of items invoiced. |
| `ShopOrder` | `guid` | Ordine del negozio | [ ] | filters on the platform, writable | Reference to Shop Order. |
| `TaxSchedule` | `guid` | Calendario fiscale | [ ] | writable | Obsolete. |
| `TaxScheduleCode` | `varchar2` | Codice della tabella fiscale | [ ] | writable | Obsolete. |
| `TaxScheduleDescription` | `varchar2` | Descrizione delle fasce fiscali | [ ] | writable | Obsolete. |
| `UnitCode` | `varchar2(8)` | Codice dell'unità | [ ] | writable | Code of item unit. |
| `UnitDescription` | `varchar2(60)` | Descrizione dell'unità | [ ] | writable | Description of Item Unit. |
| `UnitPrice` | `double` | Prezzo unitario | [ ] | writable | Price per unit in the currency of the transaction. |
| `UseDropShipment` | `int16` | Utilizza la spedizione diretta | [x] | filters on the platform, writable | Indicates if drop shipment is used (delivery directly to customer, invoice to wholesaler). |
| `VATAmount` | `double` | Importo IVA | [ ] | writable | VAT amount in the currency of the transaction. |
| `VATCode` | `varchar2(3)` | Codice IVA | [ ] | filters on the platform, writable | VAT code. |
| `VATCodeDescription` | `varchar2(60)` | Descrizione del codice IVA | [ ] | writable | Description of VAT code. |
| `VATPercentage` | `double` | Percentuale IVA | [ ] | writable | The VAT percentage of the VAT code.This is the percentage at the moment the sales order is created.It's also used for the default calculation of VAT amounts and VAT base amounts. |

## Chiavi

| Key | Column | Si riferisce a | Kind | Description |
|---|---|---|---|---|
| `SalesOrderLines_CostCenter_Costcenters_fk` | `CostCenter` | [Costcenters](ExactOnlineREST.HRM.Costcenters)`.Code` | Key |  |
| `SalesOrderLines_CostUnit_Costunits_fk` | `CostUnit` | [Costunits](ExactOnlineREST.HRM.Costunits)`.Code` | Key |  |
| `SalesOrderLines_ItemVersion_ItemVersions_fk` | `ItemVersion` | [ItemVersions](ExactOnlineREST.Logistics.ItemVersions)`.ID` | Key |  |
| `SalesOrderLines_Item_Items_fk` | `Item` | [Items](ExactOnlineREST.Logistics.Items)`.ID` | Key |  |
| `SalesOrderLines_OrderID_SalesOrders_fk` | `OrderID` | [SalesOrders](ExactOnlineREST.SalesOrder.SalesOrders)`.OrderID` | Key |  |
| `SalesOrderLines_Pricelist_SalesPriceLists_fk` | `Pricelist` | [SalesPriceLists](ExactOnlineREST.Sales.SalesPriceLists)`.ID` | Key |  |
| `SalesOrderLines_Project_Projects_fk` | `Project` | [Projects](ExactOnlineREST.Project.Projects)`.ID` | Key |  |
| `SalesOrderLines_PurchaseOrderLine_PurchaseOrderLines_fk` | `PurchaseOrderLine` | [PurchaseOrderLines](ExactOnlineREST.PurchaseOrder.PurchaseOrderLines)`.ID` | Key |  |
| `SalesOrderLines_PurchaseOrder_PurchaseOrders_fk` | `PurchaseOrder` | [PurchaseOrders](ExactOnlineREST.PurchaseOrder.PurchaseOrders)`.PurchaseOrderID` | Key |  |
| `SalesOrderLines_ShopOrder_ShopOrders_fk` | `ShopOrder` | [ShopOrders](ExactOnlineREST.Manufacturing.ShopOrders)`.ID` | Key |  |
| `SalesOrderLines_VATCode_VATCodes_fk` | `VATCode` | [VATCodes](ExactOnlineREST.VAT.VATCodes)`.Code` | Key |  |

## Riferito da

- [PurchaseOrderLines](ExactOnlineREST.PurchaseOrder.PurchaseOrderLines) `SalesOrderLine` (Key)
- [SalesInvoiceLines](ExactOnlineREST.SalesInvoice.SalesInvoiceLines) `SalesOrderLine` (Key)
- [SalesInvoiceLinesBulk](ExactOnlineREST.SalesInvoice.SalesInvoiceLinesBulk) `SalesOrderLine` (Key)
- [DigitalOrderPickingLines](ExactOnlineREST.SalesOrder.DigitalOrderPickingLines) `SalesOrderLineID` (Key)
- [GoodsDeliveryLines](ExactOnlineREST.SalesOrder.GoodsDeliveryLines) `SalesOrderLineID` (Key)
- [GoodsDeliveryLinesBulk](ExactOnlineREST.SalesOrder.GoodsDeliveryLinesBulk) `SalesOrderLineID` (Key)
- [PlannedSalesReturnLines](ExactOnlineREST.SalesOrder.PlannedSalesReturnLines) `SalesOrderLineID` (Key)


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Exact Online](/it/release-notes/drivers?driver=exact-online)
