Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
cof_rps_lote_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 | null |
|
|
||||||
createdby | numeric | 10 | null |
|
|
||||||
updated | timestamp | 29,6 | null |
|
|
||||||
updatedby | numeric | 10 | null |
|
|
||||||
cof_rps_lote_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
cof_idlote | numeric | 10 | √ | NULL::numeric |
|
|
|||||
cof_numerolote | numeric | 10 | √ | NULL::numeric |
|
|
|||||
cof_quantidaderps | numeric | 10 | √ | NULL::numeric |
|
|
|||||
cof_transacao | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
cof_metodoenvio | varchar | 5 | 'WS'::character varying |
|
|
||||||
cof_cpfcnpjremetente | varchar | 18 | √ | NULL::character varying |
|
|
|||||
cof_inscricaomunicipalremetente | varchar | 15 | √ | null |
|
|
|||||
varchar | 60 | √ | NULL::character varying |
|
|
||||||
cof_codigocidaderemetente | numeric | 10 | √ | null |
|
|
|||||
cof_datainicio | timestamp | 29,6 | √ | null |
|
|
|||||
cof_datafim | timestamp | 29,6 | √ | null |
|
|
|||||
cof_valortotalservicos | numeric | 0 | (0)::numeric |
|
|
||||||
cof_valortotaldeducoes | numeric | 0 | (0)::numeric |
|
|
||||||
cof_valortotalbasecalculo | numeric | 0 | (0)::numeric |
|
|
||||||
createfrom | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
lbr_lotsent | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
lbr_lotreceived | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
documentno | varchar | 30 | null |
|
|
||||||
name | varchar | 250 | null |
|
|
||||||
cof_processing | bpchar | 1 | √ | null |
|
|
|||||
cof_processing2 | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_nfselote | numeric | 0 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
cof_rps_lote_pkey | Primary key | Asc | cof_rps_lote_id |
cof_rps_lote_cof_rps_lote_uu_key | Must be unique | Asc | cof_rps_lote_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
cof_rps_lote_lbr_lotreceived_check | ((lbr_lotreceived = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
cof_rps_lote_lbr_lotsent_check | ((lbr_lotsent = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |