# PO_HDR: Purchase orders - Name: `PO_HDR` - Catalog: `AccountView` - Label: Purchase orders - Partition-specific: true - Select: true - Insert: false - Update: false - Delete: false ## Table Columns The columns of the table `PO_HDR` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `ACCT_NAME` | `string(40)` | Company name | ☐ | | | `ADDRESS1` | `string(80)` | Address | ☐ | | | `APX_LIST` | `string(5)` | Price list item prices | ☐ | | | `AUTH_HIST` | `string(4)` | Approval history | ☐ | | | `AVG_VAT` | `int64` | Average VAT percentage purchase order | ☐ | | | `BCC_EMAIL` | `string(4)` | Bcc | ☐ | | | `BLK_AMT` | `int64` | G-account amount | ☐ | | | `BV_AMT` | `int64` | UWV amount | ☐ | | | `CC_EMAIL` | `string(4)` | Cc | ☐ | | | `CITY` | `string(35)` | City | ☐ | | | `CNG_DATE` | `datetime` | Date modified | ☐ | | | `CNG_NR` | `int32` | Change number | ☐ | | | `CNG_USR` | `string(20)` | Employee last modified | ☐ | | | `CNT_CODE` | `string(2)` | ISO country code supplier | ☐ | | | `CNT_CODE2` | `string(2)` | ISO country code | ☐ | | | `COMMENT1` | `string(40)` | Purchase order description | ☐ | | | `COMMENT2` | `string(4)` | External note | ☐ | | | `COMMENT3` | `string(4)` | Internal note | ☐ | | | `COST_CODE` | `string(10)` | Cost centre code | ☐ | | | `COUNTRY` | `string(30)` | Country | ☐ | | | `CPY_PRN` | `string(100)` | File name copy purchase order | ☐ | | | `CPY_PRTYPE` | `string(40)` | Printer type copy purchase order | ☐ | | | `CRED_DAYS` | `decimal` | Payment term in days | ☐ | | | `CRED_LIM_P` | `decimal` | Credit limitation percentage purchase order | ☐ | | | `CUR_CODE` | `string(3)` | Currency code | ☐ | | | `CUR_UNIT` | `int64` | Currency unit purchase order | ☐ | | | `DEL_ADDR` | `string(4)` | Delivery address | ☐ | | | `DEL_CODE` | `string(10)` | Delivery address code | ☐ | | | `DEL_CP` | `string(40)` | Delivery customer contact | ☐ | | | `DEL_DATE` | `datetime` | Delivery date | ☐ | | | `DEL_PP` | `string(10)` | Contact person code | ☐ | | | `DEL_WEEK` | `int32` | Delivery date (week) | ☐ | | | `DISC_CODE` | `string(2)` | Payment term code | ☐ | | | `DISC_DAYS` | `decimal` | Discount term in days | ☐ | | | `DISC_DESC` | `string(40)` | Payment term description | ☐ | | | `EMP_NR` | `string(10)` | Buyer | ☐ | | | `EXCH_RATE` | `decimal` | Exchange rate | ☐ | | | `EXT_DESC` | `string(40)` | Payment reference | ☐ | | | `EXT_INV` | `string(10)` | External document/invoice number | ☐ | | | `GROSS_FLG` | `boolean` | Show base amount incl. VAT | ☐ | | | `INP_DATE` | `datetime` | Entry date | ☐ | | | `INP_USR` | `string(20)` | Entered by employee | ☐ | | | `INV_ADDR` | `string(4)` | Invoice address in country-specific layout | ☐ | | | `INV_CP` | `string(40)` | Supplier contact | ☐ | | | `INV_DATE` | `datetime` | Invoice date | ☐ | | | `INV_NR` | `string(10)` | Document/invoice number | ☐ | | | `INV_PP` | `string(10)` | Contact person code | ☐ | | | `INV_WEEK` | `int32` | Invoice date (week) | ☐ | | | `INVTP_PROJ` | `boolean` | Project purchase order | ☐ | | | `LB_AMT` | `int64` | Payroll tax amount | ☐ | | | `LNG_CODE` | `string(5)` | Language code | ☐ | | | `ORD_COLL` | `boolean` | Order picked | ☐ | | | `ORD_COMPL` | `boolean` | Purchase order fully received | ☐ | | | `ORD_COST` | `int64` | Order costs | ☐ | | | `ORD_DATE` | `datetime` | Purch. order date | ☐ | | | `ORD_KEEP` | `boolean` | Recurring order | ☐ | | | `ORD_NR` | `string(10)` | Order number | ☐ | | | `ORD_PROC` | `boolean` | Goods partially received | ☐ | | | `ORD_RECD` | `boolean` | Receipts to be processed | ☐ | | | `ORD_SENT` | `boolean` | On order | ☐ | | | `ORD_STAT` | `decimal` | Approval stage | ☐ | | | `ORD_TOT` | `int64` | Order total | ☐ | | | `ORD_WEEK` | `int32` | Purch. order date (week) | ☐ | | | `PAC_NR` | `string(10)` | Delivery note number (purchasing) | ☐ | | | `PAGE_BLK` | `boolean` | Purchase order blocked | ☐ | | | `partition_code` | `string` | Partition code | ☑ | | | `partition_name` | `string` | Partition name | ☑ | | | `PAY_AMT` | `int64` | Deposit amount | ☐ | | | `PAY_TOT` | `int64` | Total purchase order amount | ☐ | | | `PAY_VAT` | `int64` | VAT amount prepayment | ☐ | | | `PAY_VATC` | `string(2)` | VAT code prepayment | ☐ | | | `PCT_LIST` | `string(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` | `string(80)` | Postal address | ☐ | | | `PO_CITY` | `string(35)` | Postal address city | ☐ | | | `PO_CODE` | `string(10)` | Postal address postcode | ☐ | | | `POST_CODE` | `string(10)` | Postcode | ☐ | | | `PREF_DATE` | `datetime` | Promised delivery date | ☐ | | | `PREF_WEEK` | `int32` | Promised delivery date (week) | ☐ | | | `PROJ_CODE` | `string(10)` | Project code | ☐ | | | `RPL_DEL` | `string(10)` | Delivery customer | ☐ | | | `RPL_INV` | `string(10)` | Supplier | ☐ | | | `RPL_NAME` | `string(40)` | Supplier name | ☐ | | | `SEL_CODE` | `string(5)` | Selection code | ☐ | | | `SHIP_COST` | `int64` | Transport costs | ☐ | | | `SHIP_MTH` | `string(10)` | Transport method | ☐ | | | `ST_EXTRA` | `string(10)` | Address addition | ☐ | | | `ST_NR` | `string(10)` | House number | ☐ | | | `ST_PROP` | `string(40)` | Building | ☐ | | | `ST_REGION` | `string(40)` | Address region | ☐ | | | `ST_STREET` | `string(60)` | Street | ☐ | | | `STAT_DESC` | `string(30)` | Purchase 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 purchase order (excl. payment discount) | ☐ | | | `SUBT_P_DIS` | `int64` | Subtotal purchase order (incl. payment discount) | ☐ | | | `SUBT_P_VAT` | `int64` | Subtotal purchase order (incl. VAT) | ☐ | | | `TO_EMAIL` | `string(4)` | To | ☐ | | | `TOT_ADM` | `int64` | Order total in administration currency | ☐ | | | `TOT_EUR` | `int64` | Order total in euros | ☐ | | | `TOT_HOME` | `int64` | Order total in country currency | ☐ | | | `VAT_ORD` | `int64` | VAT amount order costs | ☐ | | | `VAT_SHIP` | `int64` | VAT amount transport costs | ☐ | | | `VAT_TOT` | `int64` | VAT total | ☐ | | | `VAT_TOT_EU` | `int64` | VAT total in euros | ☐ | | | `VC_ORD` | `string(2)` | VAT code order costs | ☐ | | | `VC_SHIP` | `string(2)` | VAT code transport costs | ☐ | |