Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| c_allocationhdr_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 |
|
|
|||||||||||
| datetrx | timestamp | 29,6 | null |
|
|
||||||||||||
| dateacct | timestamp | 29,6 | null |
|
|
||||||||||||
| c_currency_id | numeric | 10 | null |
|
|
||||||||||||
| approvalamt | numeric | 0 | 0 |
|
|
||||||||||||
| ismanual | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||
| docstatus | bpchar | 2 | null |
|
|
||||||||||||
| docaction | bpchar | 2 | null |
|
|
||||||||||||
| isapproved | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||
| processing | bpchar | 1 | √ | null |
|
|
|||||||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||
| posted | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||
| processedon | numeric | 0 | √ | null |
|
|
|||||||||||
| c_allocationhdr_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||
| reversal_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||||||||
| c_doctype_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| c_allocationhdr_pkey | Primary key | Asc | c_allocationhdr_id |
| c_allocationhdr_uu_idx | Must be unique | Asc | c_allocationhdr_uu |
| idxc_allocationhdr_proc_on | Performance | Asc/Asc/Asc/Asc | posted + processed + processedon + ad_client_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| c_allocationhdr_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_allocationhdr_isapproved_check | ((isapproved = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_allocationhdr_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| c_allocationhdr_ismanual_check | ((ismanual = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |