View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

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

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_Location

This table contains the following columns:

Name Nullable Data Type Description


C_City_ID Yes VARCHAR (32) City in a country
RegionName Yes NVARCHAR (40) The Region Name defines the name that will print when this region is used in a document.
Address1 Yes NVARCHAR (60) The Address 1 identifies the address for an entity's location
Address2 Yes NVARCHAR (60) The Address 2 provides additional address information for an entity. It can be used for building location, apartment number or similar information.
Postal Yes VARCHAR (10) The Postal Code field identifies the postal code for this entity's address.
City Yes NVARCHAR (60) The City identifies a unique City for this Country or Region.
C_Region_ID Yes VARCHAR (32) The Region identifies a unique Region for this Country.
C_Country_ID No VARCHAR (32) The Country defines a Country. Each Country must be defined before it can be used in any document.
Postal_Add Yes VARCHAR (10) The Additional ZIP or Postal Code identifies, if appropriate, any additional Postal Code information.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
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.
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.

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.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
C_Location_ID No VARCHAR (32) The Location / Address field defines the location of an entity.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.

Columns

City


Foreign key column to C_City table, (column: C_City_ID)

top


Region Name



top


Address Line 1


top


Address Line 2


top


Postal Code


top


City Name


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


Country

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

top


Postal add



top


Updated By


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

top


Created By


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

top


Creation Date



top


Active



top


Organization


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

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


Location / Address



top


Updated



top


Other Info

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_Location"

This page has been accessed 1,812 times. This page was last modified on 1 December 2016, at 02:14. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.