Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_requisition_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 | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| documentno | varchar | 30 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| description | varchar | 255 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||
| help | varchar | 2000 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||
| ad_user_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||
| m_pricelist_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||
| m_warehouse_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||
| isapproved | bpchar | 1 | 'Y'::bpchar | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| priorityrule | bpchar | 1 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| daterequired | timestamp | 29,6 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| totallines | numeric | 0 | 0 | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| docaction | bpchar | 2 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| docstatus | bpchar | 2 | null | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| processing | bpchar | 1 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||
| processed | bpchar | 1 | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| posted | bpchar | 1 | 'N'::bpchar | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| datedoc | timestamp | 29,6 | now() | 
                                         | 
                                    
                                         | 
                                    ||||||||||||
| c_doctype_id | numeric | 10 | null | 
                                         | 
                                    
                                        
  | 
                                    ||||||||||||
| processedon | numeric | 0 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||||||||
| m_requisition_uu | varchar | 36 | √ | NULL::character varying | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| m_requisition_pkey | Primary key | Asc | m_requisition_id | 
| idxm_requisition_proc_on | Performance | Asc/Asc/Asc/Asc | posted + processed + processedon + ad_client_id | 
| m_requisition_uu_idx | Must be unique | Asc | m_requisition_uu | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| m_requisition_isapproved_check | ((isapproved = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| m_requisition_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) | 
| m_requisition_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |