Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mp_ot_id | numeric | 10 | null |
|
|
||||||||||||
ad_client_id | numeric | 10 | null |
|
|
||||||||||||
documentno | varchar | 30 | null |
|
|
||||||||||||
updatedby | numeric | 10 | null |
|
|
||||||||||||
ad_user_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||
a_asset_id | numeric | 10 | √ | null |
|
|
|||||||||||
created | timestamp | 29,6 | null |
|
|
||||||||||||
createdby | numeric | 10 | null |
|
|
||||||||||||
datetrx | timestamp | 29,6 | null |
|
|
||||||||||||
description | varchar | 255 | √ | NULL::character varying |
|
|
|||||||||||
docaction | bpchar | 2 | 'CO'::bpchar |
|
|
||||||||||||
docstatus | varchar | 2 | 'DR'::character varying |
|
|
||||||||||||
isactive | bpchar | 1 | null |
|
|
||||||||||||
mp_maintain_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||
processed | bpchar | 1 | null |
|
|
||||||||||||
processing | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||||||||
updated | timestamp | 29,6 | null |
|
|
||||||||||||
ad_org_id | numeric | 10 | null |
|
|
||||||||||||
mp_ot_request_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||
mp_jobstandar_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||
c_doctype_id | numeric | 10 | NULL::numeric |
|
|
||||||||||||
mp_ot_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||
cof_processing | bpchar | 5 | √ | NULL::bpchar |
|
|
|||||||||||
cof_equipments_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
mp_ot_key | Primary key | Asc | mp_ot_id |
mp_ot_uu_idx | Must be unique | Asc | mp_ot_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
mp_ot_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
mp_ot_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |