Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('purchase_order_id_seq'::regclass) |
|
|
||||||||||||||
| partner_id | int4 | 10 | null |
|
|
Vendor |
||||||||||||||
| dest_address_id | int4 | 10 | √ | null |
|
|
Dropship Address |
|||||||||||||
| currency_id | int4 | 10 | null |
|
|
Currency |
||||||||||||||
| invoice_count | int4 | 10 | √ | null |
|
|
Bill Count |
|||||||||||||
| fiscal_position_id | int4 | 10 | √ | null |
|
|
Fiscal Position |
|||||||||||||
| payment_term_id | int4 | 10 | √ | null |
|
|
Payment Terms |
|||||||||||||
| incoterm_id | int4 | 10 | √ | null |
|
|
Incoterm |
|||||||||||||
| user_id | int4 | 10 | √ | null |
|
|
Buyer |
|||||||||||||
| company_id | int4 | 10 | null |
|
|
Company |
||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||||||||
| access_token | varchar | 2147483647 | √ | null |
|
|
Security Token |
|||||||||||||
| name | varchar | 2147483647 | null |
|
|
Order Reference |
||||||||||||||
| priority | varchar | 2147483647 | √ | null |
|
|
Priority |
|||||||||||||
| origin | varchar | 2147483647 | √ | null |
|
|
Source Document |
|||||||||||||
| partner_ref | varchar | 2147483647 | √ | null |
|
|
Vendor Reference |
|||||||||||||
| state | varchar | 2147483647 | √ | null |
|
|
Status |
|||||||||||||
| invoice_status | varchar | 2147483647 | √ | null |
|
|
Billing Status |
|||||||||||||
| notes | text | 2147483647 | √ | null |
|
|
Terms and Conditions |
|||||||||||||
| amount_untaxed | numeric | 0 | √ | null |
|
|
Untaxed Amount |
|||||||||||||
| amount_tax | numeric | 0 | √ | null |
|
|
Taxes |
|||||||||||||
| amount_total | numeric | 0 | √ | null |
|
|
Total |
|||||||||||||
| amount_total_cc | numeric | 0 | √ | null |
|
|
Company Total |
|||||||||||||
| currency_rate | numeric | 0 | √ | null |
|
|
Currency Rate |
|||||||||||||
| mail_reminder_confirmed | bool | 1 | √ | null |
|
|
Reminder Confirmed |
|||||||||||||
| mail_reception_confirmed | bool | 1 | √ | null |
|
|
Reception Confirmed |
|||||||||||||
| mail_reception_declined | bool | 1 | √ | null |
|
|
Reception Declined |
|||||||||||||
| date_order | timestamp | 29,6 | null |
|
|
Order Deadline |
||||||||||||||
| date_approve | timestamp | 29,6 | √ | null |
|
|
Confirmation Date |
|||||||||||||
| date_planned | timestamp | 29,6 | √ | null |
|
|
Expected Arrival |
|||||||||||||
| date_calendar_start | timestamp | 29,6 | √ | null |
|
|
Date Calendar Start |
|||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
|||||||||||||
| picking_type_id | int4 | 10 | null |
|
|
Deliver To |
||||||||||||||
| group_id | int4 | 10 | √ | null |
|
|
Procurement Group |
|||||||||||||
| incoterm_location | varchar | 2147483647 | √ | null |
|
|
Incoterm Location |
|||||||||||||
| receipt_status | varchar | 2147483647 | √ | null |
|
|
Receipt Status |
|||||||||||||
| effective_date | timestamp | 29,6 | √ | null |
|
|
Arrival |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| purchase_order_pkey | Primary key | Asc | id |
| purchase_order__company_id_index | Performance | Asc | company_id |
| purchase_order__date_approve_index | Performance | Asc | date_approve |
| purchase_order__date_order_index | Performance | Asc | date_order |
| purchase_order__date_planned_index | Performance | Asc | date_planned |
| purchase_order__name_index | Performance | Asc | name |
| purchase_order__partner_id_index | Performance | Asc | partner_id |
| purchase_order__priority_index | Performance | Asc | priority |
| purchase_order__state_index | Performance | Asc | state |
| purchase_order__user_id_index | Performance | Asc | user_id |