# SO_LINE: Sales order lines
- Name: `SO_LINE`
- Catalog: `AccountView`
- Label: Sales order lines
- Partition-specific: true
- Select: true
- Insert: false
- Update: false
- Delete: false
## Table Columns
The columns of the table `SO_LINE` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `AMT_BCK` | `int64` | Amount on backorder | ☐ | |
| `AMT_GROSS` | `int64` | Item amount (gross) | ☐ | |
| `AMT_HOME` | `int64` | Item amount in administration currency | ☐ | |
| `AMT_INV_GR` | `int64` | Total order line amount | ☐ | |
| `AMT_NET` | `int64` | Item amount (net) | ☐ | |
| `AMT_UNIT` | `int64` | Item unit price | ☐ | |
| `ART_AM_ADM` | `int64` | Item amount in country currency | ☐ | |
| `ART_AMT` | `int64` | Item amount | ☐ | |
| `ART_AMT_EU` | `int64` | Item amount in euros | ☐ | |
| `ART_CA` | `boolean` | Composite item | ☐ | |
| `ART_CODE` | `string(15)` | Article Code | ☐ | |
| `ART_DEL_DA` | `string(40)` | Item delivery date written out | ☐ | |
| `ART_DESC1` | `string(4)` | Order line description | ☐ | |
| `ART_GEN` | `string(15)` | Item code generating line | ☐ | |
| `ART_LEVEL` | `int32` | Explosion level | ☐ | |
| `ART_PX` | `decimal` | Sales price | ☐ | |
| `ART_PX_EUR` | `int64` | Sales price per piece in euros | ☐ | |
| `ART_QTY` | `decimal` | Quantity to deliver | ☐ | |
| `ART_QTYP` | `decimal` | Quantity to deliver (price unit) | ☐ | |
| `ART_QTYU` | `decimal` | Quantity to deliver (unit) | ☐ | |
| `ART_UNIT` | `string(5)` | Item sales unit | ☐ | |
| `BM_TAG` | `string(10)` | Unique key item composition | ☐ | |
| `BO_QTY` | `decimal` | Quantity on backorder | ☐ | |
| `BO_QTYP` | `decimal` | Quantity on backorder (price unit) | ☐ | |
| `BO_QTYSP` | `decimal` | Quantity on backorder or space | ☐ | |
| `BO_QTYU` | `decimal` | Quantity on backorder (unit) | ☐ | |
| `CANC_QTY` | `decimal` | Quantity cancelled | ☐ | |
| `CANC_QTYP` | `decimal` | Quantity cancelled (price unit) | ☐ | |
| `CANC_QTYU` | `decimal` | Quantity cancelled (unit) | ☐ | |
| `COST_CODE` | `string(10)` | Cost centre code | ☐ | |
| `CUR_LAY` | `string(3)` | Currency code of order or administration | ☐ | |
| `DEL_DATE` | `datetime` | Delivery date | ☐ | |
| `DEL_STATUS` | `int32` | Delivery status | ☐ | |
| `DEL_WEEK` | `int32` | Delivery date (week) | ☐ | |
| `DIS_AMT_EU` | `int64` | Discount amount in euros | ☐ | |
| `DISC_AMT_G` | `int64` | Discount amount (gross) | ☐ | |
| `DISC_AMT_N` | `int64` | Discount amount (net) | ☐ | |
| `DISC_PCT` | `decimal` | Discount percentage | ☐ | |
| `DSP_LEVEL` | `int32` | Order line level | ☐ | |
| `EMP_NR` | `string(10)` | Salesperson | ☐ | |
| `ICAT_CODE` | `string(1)` | IS goods flow category | ☐ | |
| `ICNT_SRC` | `string(2)` | IS country of origin | ☐ | |
| `ICNT_TGT` | `string(2)` | IS country of destination | ☐ | |
| `INFO_PRES` | `boolean` | Sales advice present | ☐ | |
| `INV_QTY` | `decimal` | Total quantity invoiced | ☐ | |
| `INV_QTYP` | `decimal` | Total quantity invoiced (price unit) | ☐ | |
| `INV_QTYU` | `decimal` | Total quantity invoiced (unit) | ☐ | |
| `IS_CNTNR` | `decimal` | IS container | ☐ | |
| `IS_CUSTCD` | `decimal` | IS TARIC code (customs code) | ☐ | |
| `IS_MONTH` | `int32` | IS dating | ☐ | |
| `IS_WEIGHT` | `decimal` | IS weight | ☐ | |
| `ISHP_CODE` | `string(1)` | IS mode of transport | ☐ | |
| `ISXF_CODE` | `string(3)` | IS statistical factor code | ☐ | |
| `ISYS_CODE` | `string(2)` | IS regime | ☐ | |
| `ITYP_CODE` | `string(1)` | IS transaction code | ☐ | |
| `LOC_CODE` | `string(5)` | Warehouse location | ☐ | |
| `MINUS_SIGN` | `string(1)` | Minus sign for discount amount | ☐ | |
| `NO_RES` | `boolean` | Do not reserve item | ☐ | |
| `ORD_AMT` | `int64` | Amount ordered (sales) | ☐ | |
| `ORD_NR` | `string(10)` | Sales order no. | ☐ | |
| `ORD_QTY` | `decimal` | Quantity ordered | ☐ | |
| `ORD_QTYP` | `decimal` | Quantity ordered (price unit) | ☐ | |
| `ORD_QTYU` | `decimal` | Quantity ordered (unit) | ☐ | |
| `ORG_ORDNR` | `string(10)` | Original order number | ☐ | |
| `PACK_PX` | `decimal` | Sales price per unit | ☐ | |
| `PACKS_QTY` | `decimal` | Number of pieces packaging unit * quantity | ☐ | |
| `PARENT_ID` | `string(10)` | Parent item | ☐ | |
| `partition_code` | `string` | Partition code | ☑ | |
| `partition_name` | `string` | Partition name | ☑ | |
| `PC_CODE` | `string(5)` | Cost type | ☐ | |
| `PCT_SIGN` | `string(1)` | Discount sign % | ☐ | |
| `POL_ID` | `string(10)` | Draft order line identification | ☐ | |
| `POL_LINK` | `boolean` | Order present | ☐ | |
| `POL_PB` | `boolean` | Purchase order definitively ordered | ☐ | |
| `POL_PRIO` | `decimal` | Delivery priority | ☐ | |
| `PREF_DATE` | `datetime` | Promised delivery date | ☐ | |
| `PREF_WEEK` | `int32` | Promised delivery date (week) | ☐ | |
| `PROJ_CODE` | `string(10)` | Project code | ☐ | |
| `PX_CALC` | `int64` | Cost price per piece | ☐ | |
| `QTY_SENT` | `decimal` | Quantity shipped | ☐ | |
| `REC_ID` | `string(10)` | Unique code | ☐ | |
| `REC_ORD` | `int32` | Line sequence | ☐ | |
| `REL_GEN` | `decimal` | Relation type generating line | ☐ | |
| `REMBO_AMT` | `int64` | Cash on delivery amount | ☐ | |
| `SBSL_ID` | `string(10)` | Subscription line identification | ☐ | |
| `SELL_INFO` | `string(4)` | Sales advice | ☐ | |
| `SHIP_COMP` | `boolean` | Deliver line complete | ☐ | |
| `SHIP_QTY` | `decimal` | Total quantity shipped | ☐ | |
| `SHIP_QTYP` | `decimal` | Total quantity shipped (price unit) | ☐ | |
| `SHIP_QTYU` | `decimal` | Total quantity shipped (unit) | ☐ | |
| `SOL_HIDE` | `boolean` | Show order line in window | ☐ | |
| `SOL_NOCAL` | `boolean` | Use line in calculation | ☐ | |
| `STAT_INFO` | `int32` | Sales advice buttons status | ☐ | |
| `STD_QTY` | `decimal` | Number of components required | ☐ | |
| `SUBTOT_COL` | `decimal` | Total number of packages (line) | ☐ | |
| `SUBTOT_WT` | `decimal` | Total weight (line) | ☐ | |
| `SYS_GEN` | `string(10)` | Line generated by other line | ☐ | |
| `TEXT_DISCO` | `string(10)` | Text 'Discount' | ☐ | |
| `TINV_QTY` | `decimal` | Quantity to be invoiced | ☐ | |
| `TINV_QTYU` | `decimal` | Quantity to be invoiced (unit) | ☐ | |
| `TRANSPORT` | `string(16)` | Carried-forward amount | ☐ | |
| `UNIT_CUR` | `int64` | Item unit price in currency | ☐ | |
| `UNT_BASE` | `string(10)` | Base unit | ☐ | |
| `UNT_CODE` | `string(10)` | Unit | ☐ | |
| `UNT_CODEP` | `string(10)` | Price unit | ☐ | |
| `UNT_DESC` | `string(40)` | Unit description | ☐ | |
| `UNT_DESCP` | `string(40)` | Price unit description | ☐ | |
| `UNT_PR_GR` | `int64` | Item price per piece (gross) | ☐ | |
| `UNT_PR_NT` | `int64` | Item price per piece (net) | ☐ | |
| `UNT_PX` | `decimal` | Sales price per price unit | ☐ | |
| `VART_CODE` | `string(15)` | Item code (not editable) | ☐ | |
| `VAT_AMT` | `int64` | VAT Amount | ☐ | |
| `VAT_AMT_EU` | `int64` | VAT amount in euros | ☐ | |
| `VAT_C_1` | `int64` | VAT amount VAT code 1 | ☐ | |
| `VAT_C_2` | `int64` | VAT amount VAT code 2 | ☐ | |
| `VAT_CODE` | `string(2)` | VAT Code | ☐ | |
| `VAT_N_1` | `int64` | Net amount VAT code 1 | ☐ | |
| `VAT_N_2` | `int64` | Net amount VAT code 2 | ☐ | |
| `VAT_PCT` | `decimal` | Item VAT percentage | ☐ | |
| `VWHS_CODE` | `string(5)` | Warehouse code (not editable) | ☐ | |
| `WHS_CODE` | `string(5)` | Warehouse code | ☐ | |
| `WHS_LOC` | `string(15)` | Item warehouse location (item file) | ☐ | |
| `WHS_LOC_IN` | `string(15)` | Item warehouse location (order) | ☐ | |