Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('stock_scrap_id_seq'::regclass) |
|
|
||||||||
| company_id | int4 | 10 | null |
|
|
Company |
||||||||
| product_id | int4 | 10 | null |
|
|
Product |
||||||||
| product_uom_id | int4 | 10 | null |
|
|
Unit of Measure |
||||||||
| lot_id | int4 | 10 | √ | null |
|
|
Lot/Serial |
|||||||
| package_id | int4 | 10 | √ | null |
|
|
Package |
|||||||
| owner_id | int4 | 10 | √ | null |
|
|
Owner |
|||||||
| picking_id | int4 | 10 | √ | null |
|
|
Picking |
|||||||
| location_id | int4 | 10 | null |
|
|
Source Location |
||||||||
| scrap_location_id | int4 | 10 | null |
|
|
Scrap Location |
||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
|||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
|||||||
| name | varchar | 2147483647 | null |
|
|
Reference |
||||||||
| origin | varchar | 2147483647 | √ | null |
|
|
Source Document |
|||||||
| state | varchar | 2147483647 | √ | null |
|
|
Status |
|||||||
| scrap_qty | numeric | 0 | null |
|
|
Quantity |
||||||||
| should_replenish | bool | 1 | √ | null |
|
|
Replenish Quantities |
|||||||
| date_done | timestamp | 29,6 | √ | null |
|
|
Date |
|||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
|||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
|||||||
| production_id | int4 | 10 | √ | null |
|
|
Manufacturing Order |
|||||||
| workorder_id | int4 | 10 | √ | null |
|
|
Work Order |
|||||||
| bom_id | int4 | 10 | √ | null |
|
|
Kit |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| stock_scrap_pkey | Primary key | Asc | id |

