Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_inventory_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 |
|
|
|||||||||||||||||||||||
| m_warehouse_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| movementdate | timestamp | 29,6 | null |
|
|
||||||||||||||||||||||||
| posted | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||||||||||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||||||||||||||
| processing | bpchar | 1 | √ | null |
|
|
|||||||||||||||||||||||
| updateqty | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||||||||||||||||||||
| generatelist | bpchar | 1 | √ | 'Y'::bpchar |
|
|
|||||||||||||||||||||||
| m_perpetualinv_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| ad_orgtrx_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| c_project_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| c_campaign_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| c_activity_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| user1_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| user2_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| isapproved | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||||||||||||||
| docstatus | bpchar | 2 | null |
|
|
||||||||||||||||||||||||
| docaction | bpchar | 2 | null |
|
|
||||||||||||||||||||||||
| approvalamt | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||
| c_doctype_id | numeric | 10 | null |
|
|
||||||||||||||||||||||||
| reversal_id | numeric | 10 | √ | null |
|
|
|||||||||||||||||||||||
| processedon | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||
| m_inventory_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||||||||||||||
| costingmethod | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||||||||||||||||||||
| c_conversiontype_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||||||||
| c_currency_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||||||||
| cof_isopeningbalance | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||||||||||||||||||||
| cof_inventorytype | varchar | 2 | √ | NULL::character varying |
|
|
|||||||||||||||||||||||
| mp_ot_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||||||||
| ad_user_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||||||||||||||
| ad_role_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_inventory_pkey | Primary key | Asc | m_inventory_id |
| idxm_inventory_proc_on | Performance | Asc/Asc/Asc/Asc | posted + processed + processedon + ad_client_id |
| m_inventory_uu_idx | Must be unique | Asc | m_inventory_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| m_inventory_updateqty_check | ((updateqty = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_inventory_cof_isopeningbalance_check | ((cof_isopeningbalance = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_inventory_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_inventory_generatelist_check | ((generatelist = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| m_inventory_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |