Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('reporting.order_id_seq'::regclass) |
|
|
|||||||||||||||||
| shipping_method | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| shipping_method_code | varchar | 1000 | √ | null |
|
|
|||||||||||||||||
| customer_currency_code | varchar | 100 | √ | null |
|
|
|||||||||||||||||
| payment_method | varchar | 200 | √ | null |
|
|
|||||||||||||||||
| tax_rates | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| checkout_attributes_info | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| payment_status | varchar | 100 | √ | null |
|
|
|||||||||||||||||
| shipping_status | varchar | 100 | √ | null |
|
|
|||||||||||||||||
| status | varchar | 300 | √ | null |
|
|
|||||||||||||||||
| purchase_order_number | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| tracking_number | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| discount_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||
| customer_id | int4 | 10 | null |
|
|
||||||||||||||||||
| impersonating_customer_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||
| billing_address_id | int4 | 10 | null |
|
|
||||||||||||||||||
| shipping_address_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||
| storefront_id | int4 | 10 | null |
|
|
||||||||||||||||||
| total | numeric | 18,4 | null |
|
|
||||||||||||||||||
| discount | numeric | 18,4 | null |
|
|
||||||||||||||||||
| subtotal_incl_tax | numeric | 18,4 | null |
|
|
||||||||||||||||||
| sub_total_discount_incl_tax | numeric | 18,4 | null |
|
|
||||||||||||||||||
| shipping_incl_tax | numeric | 18,4 | null |
|
|
||||||||||||||||||
| shipping_excl_tax | numeric | 18,4 | null |
|
|
||||||||||||||||||
| order_tax | numeric | 18,4 | null |
|
|
||||||||||||||||||
| tax_rate | numeric | 18,4 | null |
|
|
||||||||||||||||||
| created_date | timestamp | 29,6 | null |
|
|
||||||||||||||||||
| shipped_date | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||
| deliver_by | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||
| dispatch_by | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||
| order_guid | uuid | 2147483647 | null |
|
|
||||||||||||||||||
| weight | numeric | 18,4 | null |
|
|
||||||||||||||||||
| currency_rate | numeric | 18,4 | null |
|
|
||||||||||||||||||
| paid_date | timestamp | 29,6 | √ | null |
|
|
|||||||||||||||||
| external_ref | uuid | 2147483647 | null |
|
|
||||||||||||||||||
| source_id | int4 | 10 | null |
|
|
||||||||||||||||||
| department_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||
| uid | varchar | 200 | √ | null |
|
|
|||||||||||||||||
| delivery_method_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||
| payment_transaction_id | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| refund_amount | numeric | 18,4 | 0 |
|
|
||||||||||||||||||
| chameleon_group_id | int4 | 10 | √ | null |
|
|
|||||||||||||||||
| order_processing_fee_tax | numeric | 10,4 | 0 |
|
|
||||||||||||||||||
| order_line_handling_fee_tax | numeric | 10,4 | 0 |
|
|
||||||||||||||||||
| product_handling_fee_tax | numeric | 10,4 | 0 |
|
|
||||||||||||||||||
| custom_tag_1 | varchar | 255 | √ | null |
|
|
|||||||||||||||||
| custom_tag_2 | varchar | 255 | √ | null |
|
|
|||||||||||||||||
| custom_tag_3 | varchar | 255 | √ | null |
|
|
|||||||||||||||||
| custom_tag_4 | varchar | 255 | √ | null |
|
|
|||||||||||||||||
| custom_data_1 | text | 2147483647 | √ | null |
|
|
|||||||||||||||||
| cost_code | varchar | 400 | √ | null |
|
|