Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
lbr_docfiscal_ref_id | numeric | 10 | null |
|
|
||||||
lbr_docfiscal_id | numeric | 10 | √ | null |
|
|
|||||
ad_client_id | numeric | 10 | null |
|
|
||||||
ad_org_id | numeric | 10 | null |
|
|
||||||
isactive | bpchar | 1 | null |
|
|
||||||
created | timestamp | 29,6 | null |
|
|
||||||
updated | timestamp | 29,6 | null |
|
|
||||||
createdby | numeric | 10 | null |
|
|
||||||
updatedby | numeric | 10 | null |
|
|
||||||
ide_nfref_refnfe | varchar | 44 | √ | NULL::character varying |
|
|
|||||
ide_nfref_refnf_cuf | numeric | 10 | √ | null |
|
|
|||||
ide_nfref_refnf_aamm | varchar | 4 | √ | null |
|
|
|||||
ide_nfref_refnf_cnpj | varchar | 14 | √ | NULL::character varying |
|
|
|||||
ide_nfref_refnf_mod | varchar | 2 | √ | '01'::character varying |
|
|
|||||
ide_nfref_refnf_serie | numeric | 10 | √ | null |
|
|
|||||
ide_nfref_refnf_nnf | numeric | 10 | √ | null |
|
|
|||||
ide_nfref_refnfp_cuf | numeric | 10 | √ | null |
|
|
|||||
ide_nfref_refnfp_aamm | varchar | 4 | √ | null |
|
|
|||||
ide_nfref_refnfp_cnpj | varchar | 14 | √ | NULL::character varying |
|
|
|||||
ide_nfref_refnfp_cpf | varchar | 11 | √ | NULL::character varying |
|
|
|||||
ide_nfref_refnfp_ie | varchar | 14 | √ | NULL::character varying |
|
|
|||||
ide_nfref_refnfp_mod | varchar | 2 | √ | null |
|
|
|||||
ide_nfref_refnfp_serie | numeric | 10 | √ | null |
|
|
|||||
ide_nfref_refnfp_nnf | numeric | 10 | √ | null |
|
|
|||||
ide_nfref_refcte | numeric | 0 | √ | null |
|
|
|||||
ide_nfref_refecf_mod | varchar | 2 | √ | NULL::character varying |
|
|
|||||
ide_nfref_refecf_necf | numeric | 0 | √ | null |
|
|
|||||
ide_nfref_refecf_ncoo | varchar | 6 | √ | null |
|
|
|||||
ref_docfiscal_id | numeric | 10 | √ | null |
|
|
|||||
lbr_docfiscal_ref_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
lbr_docfiscal_ref_key | Primary key | Asc | lbr_docfiscal_ref_id |
lbr_docfiscal_ref_uu_idx | Must be unique | Asc | lbr_docfiscal_ref_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
lbr_docfiscal_ref_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |