Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| i_inventory_id | numeric | 10 | null |
|
|
||||||
| ad_client_id | numeric | 10 | √ | null |
|
|
|||||
| ad_org_id | numeric | 10 | √ | null |
|
|
|||||
| isactive | bpchar | 1 | √ | 'Y'::bpchar |
|
|
|||||
| created | timestamp | 29,6 | statement_timestamp() |
|
|
||||||
| createdby | numeric | 10 | √ | null |
|
|
|||||
| updated | timestamp | 29,6 | statement_timestamp() |
|
|
||||||
| updatedby | numeric | 10 | √ | null |
|
|
|||||
| i_isimported | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| i_errormsg | varchar | 2000 | √ | null |
|
|
|||||
| m_product_id | numeric | 10 | √ | null |
|
|
|||||
| upc | varchar | 30 | √ | null |
|
|
|||||
| value | varchar | 40 | √ | null |
|
|
|||||
| lot | varchar | 20 | √ | null |
|
|
|||||
| serno | varchar | 20 | √ | null |
|
|
|||||
| m_locator_id | numeric | 10 | √ | null |
|
|
|||||
| m_warehouse_id | numeric | 10 | √ | null |
|
|
|||||
| warehousevalue | varchar | 40 | √ | null |
|
|
|||||
| locatorvalue | varchar | 40 | √ | null |
|
|
|||||
| x | varchar | 60 | √ | null |
|
|
|||||
| y | varchar | 60 | √ | null |
|
|
|||||
| z | varchar | 60 | √ | null |
|
|
|||||
| m_inventory_id | numeric | 10 | √ | null |
|
|
|||||
| m_inventoryline_id | numeric | 10 | √ | null |
|
|
|||||
| qtybook | numeric | 0 | √ | 0 |
|
|
|||||
| qtycount | numeric | 0 | √ | 0 |
|
|
|||||
| movementdate | timestamp | 29,6 | √ | null |
|
|
|||||
| description | varchar | 255 | √ | null |
|
|
|||||
| processing | bpchar | 1 | √ | null |
|
|
|||||
| processed | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
| currentcostprice | numeric | 0 | √ | null |
|
|
|||||
| i_inventory_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
| doctypename | varchar | 60 | √ | NULL::character varying |
|
|
|||||
| c_doctype_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| qtyinternaluse | numeric | 0 | √ | null |
|
|
|||||
| c_charge_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| chargename | varchar | 60 | √ | NULL::character varying |
|
|
|||||
| m_costingline_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
| cof_attributesetinstancevalue | varchar | 2000 | √ | NULL::character varying |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| i_inventory_pkey | Primary key | Asc | i_inventory_id |
| i_inventory_uu_idx | Must be unique | Asc | i_inventory_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| i_inventory_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| i_inventory_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |