Country
This table is used to define the country codes used by the software as well as the associated characteristics, especially the controls to be carried out on standardized information.
Prerequisites
Refer to documentation Implementation
Screen management
Header
Countries (field CRY) |
This code is used to identify the country associated with the information. In the country table, which controls this field, there is a certain number of characteristics useful to perform controls on dependent information, and especially :
|
field CRYDES |
Enter the description of the relevant record. This long description is used as a title in screens and reports. |
Tab General
Block number 1
Currency (field CUR) |
This code helps identify the currency for a site, a business partner, or define a default value. This code is controlled in the currency table. It is advisable to use the ISO code during the creation of a new currency. |
EU member (field EECFLG) |
Select this check box if the country is a member of the European Union. |
EU entry date (field EECDAT) |
Enter the date at which the country joined the European Union, if this country is a member state of the EU. |
EU withdrawal date (field EECDATOUT) |
Enter the date at which the country has left the European Union, if this country is a former member state of the EU. |
Generalized System of Preferences (field GSPFLG) |
EORI identification (field EORIFLG) |
Select this check box to enable the EORI number field for all entities from this country including companies, sites and business partners (BPs). Note: This number is needed for entities doing business within the UK and for EU companies importing and exporting goods and services with the UK. |
Primary language (field LAN) |
Code controlled in the language table making it possible to define the language of a business partner. |
SEPA area (field FLGSEPA) |
This flag identifies the countries that belong to the SEPA area. The SEPA area means Single Euro Payments Area. This affiliation to the SEPA area is controlled in payment creation if they are based on payment modes known as "SEPA" (SEPA Credit Transfer or SEPA Direct Debit). |
Control script (field CTLPRG) |
Involved in DUE (field FLGDUE) |
Codes
ISO-3166-1 alpha-2 (field ISO) |
ISO-3166-1 alpha-3 (field ISOA3) |
ISO-3166-1 numeric (field ISONUM) |
Numeric country code according to the ISO 3166 standard. |
Federal ID code (field CINSEE) |
Intrastat country code (field EECCOD) |
Code used by the Customs administration for the Intrastat declaration. |
VAT radical (field CRYVATNUM) |
The root for the value added tax identification number for this country (TVA in France, IVA in Italy, VAT in UK, .....etc). |
Identification
field CRNFMTFLG |
Company tax ID no. (field CRNFMT) |
Company tax ID mandatory (field CRNOBL) |
When this check box is selected, it indicates that:
|
Block number 5
field NIDFMTFLG |
Format of the identification number and applied to the Number field during the entry of the companies. Warning: The identification number cannot exceed 80 characters. |
Unique number (field NIDFMT) |
Block number 6
field EECFMTFLG |
Format of the EU tax number used in BP and company entry. Warning: The VAT number should not exceed 20 characters. |
VAT format (field EECFMT) |
Block number 7
field NAFFMTFLG |
SIC (field NAFFMT) |
Block number 8
field CRTFMTFLG |
Format of the national company identification number, specific to each country and applied to the Site Registration number field on entering BPs and sites. Warning: The Site Registration number cannot exceed 20 characters. |
Site tax ID no. (field CRTFMT) |
Site tax ID mandatory (field CRTOBL) |
When checked, this box specifies that the Site Registration number is mandatory on the site record. |
Social identity
field SOCNUMFLG1 |
Social Security no. 1 (field SOCNUMFMT) |
field SOCNUMFLG2 |
Social Security no. 2 (field SOCNUMFMT2) |
Tab Details
Address
Titles (field ADRNAM) |
Corresponds to the titles of the three address lines. |
Address format (field ADRCODFMT) |
Format used to enter the address. |
Postal code (field POSCODFMT) |
Controlled length (field MINZIP) |
This field is used to specify the length of the postal code on which the control will be based. |
Postal code control (field POSCODCTL) |
This field is used to manage the community code and to verify the existence of the post code. |
Mandatory postal code (field POSOBL) |
When checked, this box specifies that it is mandatory to enter the postal code and the town/city on the addresses of such entities as Company, Site and all the BP entities (BP, Prospect, Customer, Supplier, Carrier and Sales rep). |
City format (field CTYCODFMT) |
Format used to display the town/city. For additional information, see the technical annex in the documentation on the Country record. |
Upper-case letters (field CTYUPP) |
When this indicator is abled, the names of towns/cities entered by the users are automatically converted to uppercase characters, irrespective of the case specified in the previous field for the town/city format. It is abled at all times by default so as to keep the historical behavior of the application. When the indicator is disabled, the format specified in the previous field is the one that is displayed. Irrespective of the entry format, it remains possible, when entering an address, to select towns/cities without taking the case and accented characters into consideration. The selection window contains a column dedicated to the search. In it the names of the towns/cities are stored in uppercase letters. |
INSEE code format (field CTYNUMFMT) |
The format of the community code, appropriate to each country and applied to the field Community code during the entry of postal codes. Warning : The city code should not exceed 10 characters. |
Telephone number
Telephone (field TELFMT) |
Country code control (field TELTCY) |
This field is used to elaborate the sub-division of the phone number to find the country code. For France, for example, if the phone number format is "[(33)]#[.]##[.]##[.]##[.]##", the formatted phone number will be (33)1.46.45.44.42 and the user will have to specify 2-3 to find 33 as a country code. The DECOUPE(PAYS,TEL,INTER,REGION,NUTEL) (SUB-DIVISION(COUNTRY, TEL, INTER, REGION, TELNO.) sub-program From CONTNUM is used to find this information. The general setup CTLTEL - Phone number control is used to completely deactivate the entry control of the phone number or even to carry out a control only during modification. |
Region country control (field TELREG) |
This field is used to elaborate the sub-division of the phone number to find the region code. For France, for example, if the phone number format is "[(33)]#[.]##[.]##[.]##[.]##", the formatted phone number will be (33)1.46.45.44.42 and the user will have to specify 5-5 to find 1 as a country code. The DECOUPE(PAYS,TEL,INTER,REGION,NUTEL) (SUB-DIVISION(COUNTRY, TEL, INTER, REGION, TELNO.) sub-program From CONTNUM is used to find this information. The general setup CTLTEL - Phone number control is used to completely deactivate the entry control of the phone number or even to carry out a control only during modification. |
Geographic subdivisions
Continent (field CONTINENT) |
When defining a country, it must be attached to a continent. This link is used to define a hierarchy in the datamarts of the Business Intelligence Module. |
Subdivision 1 (field ETATFLG) |
This checkbox is used to define by country what is the geographical subdivision of the highest level. For instance the Region for France,the State for the United States... |
Description (field ETATNAM) |
Title to be displayed to express the highest geographical subdvision of a country. For instance: Region for France, State for the United States... |
Format (field ETATFMT) |
This represents the Report Format, used especially in the USA. |
Subdivision 2 (field ETATFLG2) |
This checkbox is used to define for each country the geographical subdivision of the lowest level compared to the previous one. For instance: Department for France, District for the United States... |
Description (field ETATNAM2) |
Title to be displayed to express the geographical subdivision belonging to a level lower than the previous one. For example, the Department for France, and County for the United-States... |
Format (field ETATFMT2) |
Subdivision entry (field ETAT) |
This checkbox is used to specify for a country if one of the two above mentioned geographical sub-divisions must be taken into account in the definition of the postal address. |
Subdivision control (field ETATCTL) |
When abled, this indicator makes it possible to set up an existence control and submit a selection window when entering the subdivision in all those screens where an address needs to be entered. |
Tab Bank
Bank
Bank account number (field BIDFMT) |
Paying bank (field PABFMT) |
Bank control (field BIDCTL) |
Length of bank (field BANLNG) |
IBAN management (field FLIBAN) |
Bank detail window (field BIDCLS) |
Belgian legislation
Control program
In the "Control program" field, it is possible to enter the CONTBELG control linked to the Belgian legislation.
This control makes it possible to check the formatting of an EU VAT number and a bank ID number.
Control on the VAT number
Reminder about the structure of the Belgian VAT number
The Belgian VAT number is comprised of the following elements: country code + 10 numerical characters.
For example, BE 0419. 618.535.
The control applies to functions 'Company", "BP", "Prospects", "Customers", "Suppliers", "Sales representatives", "Carrier" for which the country is "BE".
The control program checks the last two numbers, using the following formula (check-digit modulo 97):
- Take VAT number BE0419.618.535.
- Retain the first 8 numbers: VATno.=04196185.
- Calculate the remainder of the division: RT = Modulo (NbTVA/97) that is Modulo (04196185/97) = 62.
- Withdraw 97-RT i.e. 97 - 62 = 35.
The VAT number is valid.
Control on the bank ID number
Reminder about the structure of the Belgian bank ID number
The Belgian Bank ID number has 12 numbers including the following elements: ten numerical characters where the first three provide information relating to the code of the bank holding the account and the seven next numbers correspond to the account number.
The last two numbers are controlled by a check-digit modulo 97.
- Take the account number 510-0075470-61.
- Retain the first 10 numbers: No.=5100075470.
- Calculate the remainder of the division: RT = Modulo (Nb/97) that is Modulo (5100075470/97) = 61.
The account number is valid.
The control applies to functions "Company", "BP", "Customers", "Suppliers", "Payments", "Bank" for which the country is "BE".
The control is carried out upon entering the Bank ID number on the above mentioned records. It is carried out according to the country and to the setup of the "Control program" field defined on the "Country" record.
Reports
By default, the following reports are associated with this function :
TABCOUNTRY : Country
This can be changed using a different setup.
Error messages
In addition to the generic error messages, the following messages can appear during the entry :
Format Too Long
The given format corresponds to an information which cannot be completely stored in the table.
Program does not exist
The control program has not been defined.
Technical appendix: control program
The control programs by country must include a set of standardized sub-programs which carry out validity controls (for instance a control key or a length test), when these controls cannot be done by the format. If new programs are designed, the rule to name them is CONT followed by the country name. It is possible to use an abbreviation if the country name is too long, a processing being limited to 12 characters.
The necessary sub-programs are described below:
|
########################################################## |
|
|
|
|
|
|
|
############################################################### |
|
########################################################## |
|
##########################################################
End |