Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| s_resource_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 |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| value | varchar | 40 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| name | varchar | 60 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| description | varchar | 255 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| s_resourcetype_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| m_warehouse_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| isavailable | bpchar | 1 | 'Y'::bpchar |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| ad_user_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| chargeableqty | numeric | 0 | √ | 0 |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| percentutilization | numeric | 0 | (100)::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
| dailycapacity | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| ismanufacturingresource | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| waitingtime | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| manufacturingresourcetype | bpchar | 2 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| queuingtime | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| planninghorizon | numeric | 10 | √ | (0)::numeric |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
| s_resource_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| s_resource_pkey | Primary key | Asc | s_resource_id |
| s_resource_uu_idx | Must be unique | Asc | s_resource_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| s_resource_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| chk_col_53272 | ((percentutilization >= (0)::numeric)) |
| s_resource_isavailable_check | ((isavailable = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| s_resource_ismanufacturingresource_check | ((ismanufacturingresource = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |