View source | Discuss this page | Page history | Printable version   

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.geography/C City

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.geography


Contents

C_City

This table contains the following columns:

Name Nullable Data Type Description


Locode Yes VARCHAR (10) UN/Locode is a combination of a 2-character country code and a 3-character location code, e.g. BEANR is known as the city of Antwerp (ANR) which is located in Belgium (BE).

See: http://www.unece.org/cefact/locode/service/main.htm

IsActive No CHAR (1) There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

AreaCode Yes VARCHAR (10) Phone Area Code
C_City_ID No VARCHAR (32) City in a country
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Coordinates Yes VARCHAR (15) This column contains the geographical coordinates (latitude/longitude) of the location.<p>In order to avoid unnecessary use of non-standard characters and space, the following standard presentation is used:
0000N 00000W 0000S 00000E
where the tw
C_Country_ID Yes VARCHAR (32) The Country defines a Country. Each Country must be defined before it can be used in any document.
CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.
Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
Name No NVARCHAR (60) A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
AD_Org_ID No VARCHAR (32) An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
Postal Yes VARCHAR (10) The Postal Code field identifies the postal code for this entity's address.
C_Region_ID Yes VARCHAR (32) The Region identifies a unique Region for this Country.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.

Columns

Abbreviation



top


Active



top


Area Code



top


City



top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID) It has a validation "AD_Client Security validation", with the following code

AD_Client.AD_Client_ID in (@#User_Client@)

top


Coordinates



top


Country


Foreign key column to C_Country table, (column: C_Country_ID)

top


Created By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Creation Date



top


Name


top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID)

top


Postal Code



top


Region


Foreign key column to C_Region table, (column: C_Region_ID) It has a validation "C_Region of Country", with the following code

C_Region.C_Country_ID=@C_Country_ID@

top


Updated



top


Updated By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Other Info

Indices

These are the indices for this table (for each index there is a list of all the columns included within it):

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.common.geography

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.common.geography/C_City"

This page has been accessed 3,249 times. This page was last modified on 7 September 2020, at 01:57. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.