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


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.

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.
ExpressionPostal_Add Yes NVARCHAR (20) Additional Postal 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
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.
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.
C_Currency_ID Yes VARCHAR (32) Indicates the currency to be used when processing this document.
Dateformat Yes VARCHAR (32)
Datetimeformat Yes VARCHAR (32)
Decimalseparator Yes VARCHAR (60)
IsDefault Yes CHAR (1) The Default Checkbox indicates if this record will be used as a default value.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
Groupingseparator Yes VARCHAR (60)
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.
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.
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.
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
AD_Language Yes VARCHAR (6) The Language identifies the language to use for display
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.
Numericmask Yes VARCHAR (32)
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.
ExpressionPhone Yes NVARCHAR (20) Phone Format
ExpressionPostal Yes NVARCHAR (20) Postal code Format
RegionName Yes NVARCHAR (60) The Region Name defines the name that will print when this region is used in a document.
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

Active



top


Additional Postal Code



top


Additional Postal Format



top


Address Print Format



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


Created By


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

top


Creation Date



top


Currency


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

top


Dateformat



top


Datetimeformat



top


Decimalseparator



List values: Decimal Separator

The allowed values for this list are:

top


Default



top


Description



top


Groupingseparator



List values: Decimal Separator

The allowed values for this list are:

top


Has Regions



top


IBAN Code



top


IBAN Length



top


ISO Country Code



top


Language


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

top


Name


top


Numericmask



top


Organization


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

top


Phone No. Format



top


Postal Code Format



top


Region Name



top


Updated



top


Updated By


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

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 3,205 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.