Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('stock_quant_id_seq'::regclass) |
|
|
|||||||||||||||||||||||
| product_id | int4 | 10 | null |
|
|
Product |
|||||||||||||||||||||||
| company_id | int4 | 10 | √ | null |
|
|
Company |
||||||||||||||||||||||
| location_id | int4 | 10 | null |
|
|
Location |
|||||||||||||||||||||||
| storage_category_id | int4 | 10 | √ | null |
|
|
Storage Category |
||||||||||||||||||||||
| lot_id | int4 | 10 | √ | null |
|
|
Lot/Serial Number |
||||||||||||||||||||||
| package_id | int4 | 10 | √ | null |
|
|
Package |
||||||||||||||||||||||
| owner_id | int4 | 10 | √ | null |
|
|
Owner |
||||||||||||||||||||||
| user_id | int4 | 10 | √ | null |
|
|
Assigned To |
||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
||||||||||||||||||||||
| inventory_date | date | 13 | √ | null |
|
|
Scheduled Date |
||||||||||||||||||||||
| quantity | numeric | 0 | √ | null |
|
|
Quantity |
||||||||||||||||||||||
| reserved_quantity | numeric | 0 | null |
|
|
Reserved Quantity |
|||||||||||||||||||||||
| inventory_quantity | numeric | 0 | √ | null |
|
|
Counted Quantity |
||||||||||||||||||||||
| inventory_diff_quantity | numeric | 0 | √ | null |
|
|
Difference |
||||||||||||||||||||||
| inventory_quantity_set | bool | 1 | √ | null |
|
|
Inventory Quantity Set |
||||||||||||||||||||||
| in_date | timestamp | 29,6 | null |
|
|
Incoming Date |
|||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
||||||||||||||||||||||
| accounting_date | date | 13 | √ | null |
|
|
Accounting Date |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| stock_quant_pkey | Primary key | Asc | id |
| stock_quant__location_id_index | Performance | Asc | location_id |
| stock_quant__lot_id_index | Performance | Asc | lot_id |
| stock_quant__owner_id_index | Performance | Asc | owner_id |
| stock_quant__package_id_index | Performance | Asc | package_id |
| stock_quant__product_id_index | Performance | Asc | product_id |

