Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_inventoryline_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 | now() |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| createdby | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updated | timestamp | 29,6 | now() |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| updatedby | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_inventory_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_locator_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_product_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| line | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| qtybook | numeric | 0 | 0 |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| qtycount | numeric | 0 | 0 |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_attributesetinstance_id | numeric | 10 | √ | 0 |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| c_charge_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| inventorytype | bpchar | 1 | 'D'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| qtyinternaluse | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| reversalline_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| qtycsv | numeric | 0 | 0 |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_inventoryline_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| currentcostprice | numeric | 0 | √ | (0)::numeric |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| newcostprice | numeric | 0 | √ | (0)::numeric |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_valuenumber | varchar | 45 | √ | NULL::character varying |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| cof_adjustmentqty | numeric | 0 | √ | '0'::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_inventoryline_pkey | Primary key | Asc | m_inventoryline_id |
| m_inventoryline_productlocattr | Must be unique | Asc/Asc/Asc/Asc | m_inventory_id + m_locator_id + m_product_id + m_attributesetinstance_id |
| m_inventoryline_uu_idx | Must be unique | Asc | m_inventoryline_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| m_inventoryline_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |