c_city

5571 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
c_city_id numeric 10 null
c_dunning_header_v.c_city_id Implied Constraint R
c_dunning_header_vt.c_city_id Implied Constraint R
c_invoice_header_v.c_city_id Implied Constraint R
c_invoice_header_vt.c_city_id Implied Constraint R
c_location.c_city_id ccity_clocation R
c_order_header_v.c_city_id Implied Constraint R
c_order_header_vt.c_city_id Implied Constraint R
cof_creditreferences.c_city_id ccity_cofcreditreferences R
cof_m_shipregion_city.c_city_id ccity_cofmshipregioncity R
cof_preferenciaxml.c_city_id ccity_cofpreferenciaxml N
cof_realgoods.c_city_id ccity_cofrealgoods R
cof_rps.dest_city_id destcity_cofrps R
cof_rv_confimpostos.c_city_id Implied Constraint R
cof_rv_detalheslocalizacao.c_city_id Implied Constraint R
cof_rv_lead.c_city_id Implied Constraint R
i_fixedasset.c_city_id ccity_ifixedasset R
lbr_docfiscal.retira_city_id retiracity_lbrdocfiscal R
lbr_issmatrix.c_city_id Implied Constraint R
lbr_taxdefinition.c_city_id ccity_lbrtaxdefinition R
m_inout_header_v.c_city_id Implied Constraint R
m_inout_header_vt.c_city_id Implied Constraint R
rv_bpartner.c_city_id Implied Constraint R
rv_c_invoice.c_city_id Implied Constraint R
rv_c_invoice.dunning_c_city_id Implied Constraint R
ad_client_id numeric 10 null
ad_client.ad_client_id c_cityclient R
ad_org_id numeric 10 null
ad_org.ad_org_id c_cityorg R
isactive bpchar 1 'Y'::bpchar
created timestamp 29,6 now()
createdby numeric 10 null
updated timestamp 29,6 now()
updatedby numeric 10 null
name varchar 60 null
locode varchar 10 null
coordinates varchar 15 null
postal varchar 10 null
areacode varchar 10 null
c_country_id numeric 10 null
c_country.c_country_id ccountry_ccity R
c_region_id numeric 10 null
c_region.c_region_id cregion_ccity R
c_city_uu varchar 36 NULL::character varying
lbr_citycode varchar 10 null

Indexes

Constraint Name Type Sort Column(s)
c_city_pkey Primary key Asc c_city_id
c_city_uu_idx Must be unique Asc c_city_uu

Check Constraints

Constraint Name Constraint
c_city_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships