Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
ad_org_id | numeric | 10 | null |
|
|
||||||
ad_client_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 |
|
|
||||||
c_location_id | numeric | 10 | √ | null |
|
|
|||||
duns | varchar | 11 | null |
|
|
||||||
taxid | varchar | 20 | null |
|
|
||||||
pa_goal_id | numeric | 10 | √ | null |
|
|
|||||
supervisor_id | numeric | 10 | √ | null |
|
|
|||||
parent_org_id | numeric | 10 | √ | null |
|
|
|||||
ad_orgtype_id | numeric | 10 | √ | null |
|
|
|||||
m_warehouse_id | numeric | 10 | √ | null |
|
|
|||||
transferbank_id | numeric | 0 | √ | null |
|
|
|||||
transfercashbook_id | numeric | 0 | √ | null |
|
|
|||||
varchar | 1023 | √ | null |
|
|
||||||
dropship_warehouse_id | numeric | 10 | √ | null |
|
|
|||||
c_calendar_id | numeric | 10 | √ | null |
|
|
|||||
logo_id | numeric | 10 | √ | NULL::numeric |
|
|
|||||
phone | varchar | 40 | √ | NULL::character varying |
|
|
|||||
phone2 | varchar | 40 | √ | NULL::character varying |
|
|
|||||
fax | varchar | 40 | √ | NULL::character varying |
|
|
|||||
varchar | 60 | √ | NULL::character varying |
|
|
||||||
ad_orginfo_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
lbr_cnpj | varchar | 18 | √ | null |
|
|
|||||
lbr_ie | varchar | 30 | √ | null |
|
|
|||||
lbr_ccm | varchar | 30 | √ | null |
|
|
|||||
lbr_suframa | varchar | 30 | √ | null |
|
|
|||||
lbr_tax_id | numeric | 0 | √ | null |
|
|
|||||
lbr_legalentity | varchar | 60 | √ | null |
|
|
|||||
contactname | varchar | 60 | √ | null |
|
|
|||||
lbr_dc_org_id | numeric | 10 | √ | null |
|
|
|||||
lbr_dc_ws_id | numeric | 10 | √ | null |
|
|
|||||
lbr_cnae | varchar | 10 | √ | null |
|
|
|||||
lbr_nfeenv | bpchar | 1 | √ | '1'::bpchar |
|
|
|||||
lbr_fantasia | varchar | 255 | √ | null |
|
|
|||||
lbr_nire | varchar | 60 | √ | NULL::character varying |
|
|
|||||
lbr_nfetpemi | bpchar | 1 | √ | '1'::bpchar |
|
|
|||||
cof_taxregimecode | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_simplestaxrate | numeric | 0 | √ | null |
|
|
|||||
cof_procemi | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_form_trib | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_entityindicator | bpchar | 1 | '0'::bpchar |
|
|
||||||
cof_dtarq | timestamp | 29,6 | √ | null |
|
|
|||||
cof_dtarqconv | timestamp | 29,6 | √ | null |
|
|
|||||
cof_indie | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_dhcont | timestamp | 29,6 | √ | null |
|
|
|||||
cof_xjust | varchar | 256 | √ | NULL::character varying |
|
|
|||||
cof_tabelaanexos | varchar | 50 | √ | NULL::character varying |
|
|
|||||
cof_tipotributacao | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_regimeespecialtributacao | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
cof_naturezatributacao | bpchar | 1 | √ | NULL::bpchar |
|
|
|||||
infresptec_cnpj | varchar | 18 | √ | null |
|
|
|||||
infresptec_xcontato | varchar | 60 | √ | NULL::character varying |
|
|
|||||
infresptec_email | varchar | 60 | √ | NULL::character varying |
|
|
|||||
infresptec_fone | varchar | 14 | √ | NULL::character varying |
|
|
|||||
infresptec_idcsrt | varchar | 2 | √ | null |
|
|
|||||
infresptec_csrt | varchar | 36 | √ | NULL::character varying |
|
|
|||||
cof_clas_estab_ind | varchar | 2 | √ | NULL::character varying |
|
|
|||||
lbr_contatonfe_id | numeric | 10 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
ad_orginfo_pkey | Primary key | Asc | ad_org_id |
ad_orginfo_uu_idx | Must be unique | Asc | ad_orginfo_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
ad_orginfo_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |