---
title: "SO_HDR (AccountView)"
description: "Sales orders"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/vismaaccountview/AccountView..SO_HDR
original: https://documentation.invantive.eu/en/datamodels/vismaaccountview/AccountView..SO_HDR
updated: 2026-11-16T21:15:00Z
license: https://documentation.invantive.eu/it/
---

# SO_HDR: AccountView Sales orders

`read only` `per partition`

- Catalogo: `AccountView`
- Label: Sales orders

È possibile solo recuperare i dati.

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `SO_HDR`. 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 |
|---|---|---|:---:|---|---|
| `ACCT_NAME` | `varchar2(40)` | Nome della ditta | [ ] |  |  |
| `ADDRESS1` | `varchar2(80)` | Address | [ ] |  |  |
| `APX_LIST` | `varchar2(5)` | Price list item prices | [ ] |  |  |
| `ART_DATE_W` | `varchar2(40)` | Order date written out | [ ] |  |  |
| `ASS_CODE` | `varchar2(10)` | Serial number | [ ] |  |  |
| `ASS_OLD` | `varchar2(10)` | Switch-over licence | [ ] |  |  |
| `AUTH_HIST` | `varchar2(4)` | Approval history | [ ] |  |  |
| `AVG_VAT` | `int64` | Average VAT percentage order | [ ] |  |  |
| `BCC_EMAIL` | `varchar2(4)` | Bcc | [ ] |  |  |
| `BLK_AMT` | `int64` | G-account amount | [ ] |  |  |
| `BV_AMT` | `int64` | UWV amount | [ ] |  |  |
| `CC_EMAIL` | `varchar2(4)` | Cc | [ ] |  |  |
| `CITY` | `varchar2(35)` | City | [ ] |  |  |
| `CNG_DATE` | `datetime` | Date modified | [ ] |  |  |
| `CNG_NR` | `int32` | Change number | [ ] |  |  |
| `CNG_USR` | `varchar2(20)` | Employee last modified | [ ] |  |  |
| `CNT_CODE` | `varchar2(2)` | ISO country code | [ ] |  |  |
| `COMMENT1` | `varchar2(40)` | Sales order description | [ ] |  |  |
| `COMMENT2` | `varchar2(4)` | External note | [ ] |  |  |
| `COMMENT3` | `varchar2(4)` | Internal note | [ ] |  |  |
| `COST_CODE` | `varchar2(10)` | Cost centre code | [ ] |  |  |
| `COUNTRY` | `varchar2(30)` | Country | [ ] |  |  |
| `CRED_DAYS` | `decimal` | Payment term in days | [ ] |  |  |
| `CRED_LIM_P` | `decimal` | Credit limitation percentage order | [ ] |  |  |
| `CUR_CODE` | `varchar2(3)` | Currency code | [ ] |  |  |
| `CUR_UNIT` | `int64` | Currency unit order | [ ] |  |  |
| `DATE_NOT` | `char` | Send email to salesperson when delivery date changes | [ ] |  |  |
| `DD_ACT` | `char` | Direct debit | [ ] |  |  |
| `DEL_ADDR` | `varchar2(4)` | Shipping address | [ ] |  |  |
| `DEL_CODE` | `varchar2(10)` | Delivery address code | [ ] |  |  |
| `DEL_CP` | `varchar2(40)` | Shipping customer contact | [ ] |  |  |
| `DEL_DATE` | `datetime` | Delivery date | [ ] |  |  |
| `DEL_NOT` | `char` | Send email when sales order can be delivered | [ ] |  |  |
| `DEL_PP` | `varchar2(10)` | Shipping customer contact | [ ] |  |  |
| `DEL_PP_OMS` | `varchar2(40)` | Shipping customer contact name | [ ] |  |  |
| `DEL_WEEK` | `int32` | Delivery date (week) | [ ] |  |  |
| `DISC_CODE` | `varchar2(2)` | Payment term code | [ ] |  |  |
| `DISC_DAYS` | `decimal` | Discount term in days | [ ] |  |  |
| `DISC_DESC` | `varchar2(40)` | Payment term description | [ ] |  |  |
| `EMP_NR` | `varchar2(10)` | Salesperson | [ ] |  |  |
| `EXCH_RATE` | `decimal` | Exchange rate | [ ] |  |  |
| `EXCHA_RATE` | `decimal` | Exchange rate | [ ] |  |  |
| `EXP_DATE` | `datetime` | Due date | [ ] |  |  |
| `EXP_WEEK` | `int32` | Due date (week) | [ ] |  |  |
| `GROSS_FLG` | `char` | Show base amount incl. VAT | [ ] |  |  |
| `INP_DATE` | `datetime` | Entry date | [ ] |  |  |
| `INP_USR` | `varchar2(20)` | Entered by employee | [ ] |  |  |
| `INV_ADDR` | `varchar2(4)` | Invoice address in country-specific layout | [ ] |  |  |
| `INV_CP` | `varchar2(40)` | Invoice customer contact | [ ] |  |  |
| `INV_DATE` | `datetime` | Invoice date | [ ] |  |  |
| `INV_PP` | `varchar2(10)` | Invoice customer contact | [ ] |  |  |
| `INV_PP_OMS` | `varchar2(40)` | Invoice customer contact name | [ ] |  |  |
| `INV_WEEK` | `int32` | Invoice date (week) | [ ] |  |  |
| `LB_AMT` | `int64` | Payroll tax amount | [ ] |  |  |
| `LNG_CODE` | `varchar2(5)` | Language code | [ ] |  |  |
| `MAND_B2B` | `char` | Direct debit type: business | [ ] |  |  |
| `MAND_DATE` | `datetime` | Signature date | [ ] |  |  |
| `MAND_ID` | `varchar2(35)` | Direct debit mandate reference | [ ] |  |  |
| `MAND_SEQ` | `int32` | Direct debit mandate | [ ] |  |  |
| `ORD_BO` | `char` | Items on backorder | [ ] |  |  |
| `ORD_COLL` | `char` | Order picked | [ ] |  |  |
| `ORD_COMPL` | `char` | All ordered goods processed | [ ] |  |  |
| `ORD_COST` | `int64` | Order costs | [ ] |  |  |
| `ORD_DATE` | `datetime` | Sales order date | [ ] |  |  |
| `ORD_INVD` | `char` | Order invoiced | [ ] |  |  |
| `ORD_KEEP` | `char` | Recurring order | [ ] |  |  |
| `ORD_NR` | `varchar2(10)` | Sales order no. | [ ] |  |  |
| `ORD_PROC` | `char` | Delivery processed but not invoiced | [ ] |  |  |
| `ORD_SHIP` | `char` | Quantity to deliver entered | [ ] |  |  |
| `ORD_STAT` | `decimal` | Approval stage | [ ] |  |  |
| `ORD_TOT` | `int64` | Total | [ ] |  |  |
| `ORD_WEEK` | `int32` | Sales order date (week) | [ ] |  |  |
| `PAC_NR` | `varchar2(10)` | Delivery note number | [ ] |  |  |
| `PAGE_BLK` | `char` | Sales order blocked | [ ] |  |  |
| `partition_code` | `varchar2` | Partition code | [x] |  |  |
| `partition_name` | `varchar2` | Partition name | [x] |  |  |
| `PAY_AMT` | `int64` | Deposit amount | [ ] |  |  |
| `PCT_LIST` | `varchar2(5)` | Discount percentages price list | [ ] |  |  |
| `PD_AMT` | `int64` | Payment discount amount | [ ] |  |  |
| `PD_PCT` | `decimal` | Payment discount percentage | [ ] |  |  |
| `PD_VAT` | `int64` | VAT on payment discount | [ ] |  |  |
| `PO_BOX` | `varchar2(80)` | Postal address | [ ] |  |  |
| `PO_CITY` | `varchar2(35)` | Postal address city | [ ] |  |  |
| `PO_CODE` | `varchar2(10)` | Postal address postcode | [ ] |  |  |
| `POL_PRIO` | `decimal` | Delivery priority | [ ] |  |  |
| `POST_CODE` | `varchar2(10)` | Postcode | [ ] |  |  |
| `PREF_DATE` | `datetime` | Promised delivery date | [ ] |  |  |
| `PREF_WEEK` | `int32` | Promised delivery date (week) | [ ] |  |  |
| `PROJ_CODE` | `varchar2(10)` | Project code | [ ] |  |  |
| `QT_ORD_NR` | `varchar2(10)` | Quotation number | [ ] |  |  |
| `RPL_D_OMS` | `varchar2(40)` | Shipping customer name | [ ] |  |  |
| `RPL_DEL` | `varchar2(10)` | Shipping customer | [ ] |  |  |
| `RPL_I_OMS` | `varchar2(40)` | Invoice customer name | [ ] |  |  |
| `RPL_INV` | `varchar2(10)` | Invoice customer | [ ] |  |  |
| `SALES_PERS` | `varchar2(40)` | Salesperson | [ ] |  |  |
| `SBS_NR` | `varchar2(10)` | Subscription | [ ] |  |  |
| `SEL_CODE` | `varchar2(5)` | Selection code | [ ] |  |  |
| `SG_CODE` | `varchar2(10)` | Version | [ ] |  |  |
| `SHIP_COMP` | `char` | No partial deliveries allowed | [ ] |  |  |
| `SHIP_COST` | `int64` | Transport costs | [ ] |  |  |
| `SHIP_DESC` | `varchar2(40)` | Transport method description | [ ] |  |  |
| `SHIP_MTH` | `varchar2(10)` | Transport method | [ ] |  |  |
| `SOH_TYPE` | `int32` | Order type | [ ] |  |  |
| `ST_EXTRA` | `varchar2(10)` | Address addition | [ ] |  |  |
| `ST_NR` | `varchar2(10)` | House number | [ ] |  |  |
| `ST_PROP` | `varchar2(40)` | Building | [ ] |  |  |
| `ST_REGION` | `varchar2(40)` | Address region | [ ] |  |  |
| `ST_STREET` | `varchar2(60)` | Street | [ ] |  |  |
| `STAT_DESC` | `varchar2(30)` | Sales order status | [ ] |  |  |
| `SUB_TOT` | `int64` | Total excl. VAT and payment discount | [ ] |  |  |
| `SUB_TOT_EU` | `int64` | Total excl. VAT and payment discount in euros | [ ] |  |  |
| `SUBT_M_DIS` | `int64` | Subtotal order (excl. payment discount) | [ ] |  |  |
| `SUBT_P_DIS` | `int64` | Subtotal order (incl. payment discount) | [ ] |  |  |
| `SUBT_P_VAT` | `int64` | Subtotal order (incl.VAT) | [ ] |  |  |
| `TO_EMAIL` | `varchar2(4)` | To | [ ] |  |  |
| `TO_PAY` | `int64` | Still to be paid | [ ] |  |  |
| `TOT_ADM` | `int64` | Order total in administration currency | [ ] |  |  |
| `TOT_EUR` | `int64` | Order total in euros | [ ] |  |  |
| `TOT_HOME` | `int64` | Order total in country currency | [ ] |  |  |
| `TRN_BOOK` | `char` | Process as accrual | [ ] |  |  |
| `TRN_CNT` | `int32` | Number of periods accrual processing | [ ] |  |  |
| `TRN_START` | `int32` | Start period accrual processing | [ ] |  |  |
| `VAT_ORD` | `int64` | VAT amount order costs | [ ] |  |  |
| `VAT_SHIP` | `int64` | VAT amount transport costs | [ ] |  |  |
| `VAT_TOT` | `int64` | VAT total | [ ] |  |  |
| `VAT_TOT_DI` | `int64` | VAT amount order | [ ] |  |  |
| `VAT_TOT_EU` | `int64` | VAT total in euros | [ ] |  |  |
| `VC_ORD` | `varchar2(2)` | VAT code order costs | [ ] |  |  |
| `VC_SHIP` | `varchar2(2)` | VAT code transport costs | [ ] |  |  |
| `WAGE_SH` | `int64` | Wage share | [ ] |  |  |
| `WHS_CODE` | `varchar2(5)` | Warehouse | [ ] |  |  |
