Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
lbr_issmatrix_id | numeric | 10 | null |
|
|
||||||
ad_org_id | numeric | 10 | null |
|
|
||||||
ad_client_id | numeric | 10 | null |
|
|
||||||
isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
created | timestamp | 29,6 | null |
|
|
||||||
createdby | numeric | 10 | null |
|
|
||||||
updated | timestamp | 29,6 | null |
|
|
||||||
updatedby | numeric | 10 | null |
|
|
||||||
m_product_id | numeric | 10 | √ | null |
|
|
|||||
c_region_id | numeric | 10 | null |
|
|
||||||
c_city_id | numeric | 10 | null |
|
|
||||||
lbr_tax_id | numeric | 10 | √ | null |
|
|
|||||
validfrom | timestamp | 29,6 | √ | null |
|
|
|||||
lbr_issmatrix_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
cof_nbs_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
lbr_servicecode | varchar | 20 | √ | NULL::character varying |
|
|
|||||
cof_cidadeservico | bpchar | 1 | √ | 'E'::bpchar |
|
|
|||||
cof_exigibilidadeiss | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_codigocnae | varchar | 7 | √ | NULL::character varying |
|
|
|||||
cof_operacao | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_tipotributacao | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_naturezatributacao | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_prioridaderelativa | numeric | 0 | '1'::numeric |
|
|
||||||
c_bpartner_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
lbr_issmatrix_key | Primary key | Asc | lbr_issmatrix_id |
lbr_issmatrix_unique | Must be unique | Asc/Asc/Asc/Asc | ad_client_id + c_city_id + c_region_id + m_product_id |
lbr_issmatrix_uu_idx | Must be unique | Asc | lbr_issmatrix_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
lbr_issmatrix_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |