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 Country

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_Country

This table contains the following columns:

Name Nullable Data Type Description


AD_Language Yes VARCHAR (6) The Language identifies the language to use for display
C_Currency_ID Yes VARCHAR (32) Indicates the currency to be used when processing this document.
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.
IBANNoDigits Yes DECIMAL Then International Bank Account Number structure do not stablish a specific length: it depends on the country. This field will define the length of the IBAN codes for that country.
IBANCountry Yes NVARCHAR (2) Then International Bank Account Number structure stablish that the first two digits will belong to the country. This country code is the one associated to a country of the application in this field.
Decimalseparator Yes VARCHAR (60)
Groupingseparator Yes VARCHAR (60)
Numericmask Yes VARCHAR (32)
Dateformat Yes VARCHAR (32)
Datetimeformat Yes VARCHAR (32)
ExpressionPhone Yes NVARCHAR (20) Phone Format
DisplaySequence No NVARCHAR (20) The Address Print format defines the format to be used when this address prints. The following notations are used: @C@=City @P@=Postal @A@=PostalAdd @R@=Region
RegionName Yes NVARCHAR (60) The Region Name defines the name that will print when this region is used in a document.
HasRegion No CHAR (1) The Country has Region checkbox is selected if the Country being defined is divided into regions. If this checkbox is selected, the Region Tab is accessible.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
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_Country_ID No VARCHAR (32) The Country defines a Country. Each Country must be defined before it can be used in any document.
CountryCode No CHAR (2) For details - http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1.html or - http://www.unece.org/trade/rec/rec03en.htm
ExpressionPostal Yes NVARCHAR (20) Postal code Format
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
IsDefault Yes CHAR (1) The Default Checkbox indicates if this record will be used as a default value.
ExpressionPostal_Add Yes NVARCHAR (20) Additional Postal Format
HasPostal_Add No CHAR (1) The Additional Postal Code checkbox indicates if this address uses an additional Postal Code. If it is selected an additional field displays for entry of the additional Postal Code.

Columns

Language


Foreign key column to AD_Language table, (column: AD_Language)

top


Currency


Foreign key column to C_Currency table, (column: C_Currency_ID)

top


Name


top


IBAN Length



top


IBAN Code



top


Decimalseparator



List values: Decimal Separator

The allowed values for this list are:

top


Groupingseparator



List values: Decimal Separator

The allowed values for this list are:

top


Numericmask



top


Dateformat



top


Datetimeformat



top


Phone No. Format



top


Address Print Format



top


Region Name



top


Has Regions



top


Description



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


Country



top


ISO Country Code



top


Postal Code Format



top


Updated



top


Default



top


Additional Postal Format



top


Additional Postal Code



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

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