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

ERP/2.50/Developers Guide/Database Model/ Client



The Client Definition Tab defines a unique client. Do not create a new client in this window, but use "Initial Client Setup" (System Administrator Role) to set up the required security and access rules. If you create a new client here, you will not be abl

This table contains the following columns:

Name Nullable Data Type Description
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
Value NNVARCHAR2(40)A fast method for finding a particular record.
Name NNVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
Description YNVARCHAR2(255)A space to write additional related information.
SMTPHost YNVARCHAR2(60)Hostname of Mail Server for SMTP and IMAP
RequestEMail YNVARCHAR2(40)EMail address to send automated mails from or receive mails for automated processing (fully qualified)
RequestUser YNVARCHAR2(20)User Name (ID) of the email owner
RequestUserPW YNVARCHAR2(60)Password of the user name (ID) for mail processing
RequestFolder YNVARCHAR2(20)EMail folder to process incoming emails; if empty INBOX is used
AD_Language YVARCHAR2(6)A method of communication being used.
IsMultiLingualDocument NCHAR(1)Documents are Multi Lingual
IsSmtpAuthorization NCHAR(1)Your mail server requires Authentification
C_Currency_ID YVARCHAR2(32)Base Currency of the Client.

Other Info

Check constraints

These are the check constraints for this table:



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





A Client is a company or a legal entity. You cannot share data between Clients.

Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:

AD_Client.AD_Client_ID IN (@#User_Client@)



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



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.


Creation Date

The Created field indicates the date that this record was created.


Created By

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



The Updated field indicates the date that this record was updated.


Updated By

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


Search Key

A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).

Usually, company's internal identifiers for various records (products, customers, etc) are stored here.



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.



A description is limited to 255 characters.


Mail Host

The host name of the Mail Server for this client with SMTP services to send mail, and IMAP to process incoming mail.


Request Email

EMails for requests, alerts and escalation are sent from this email address as well as delivery information if the sales rep does not have an email account. The address must be filly qualified (e.g. and should be a valid address.


Request User

EMail user name for requests, alerts and escalation are sent from this email address as well as delivery information if the sales rep does not have an email account. Required, if your mail server requires authentification as well as for processing incoming mails.


Request User Password

Password of the user name (ID) for mail processing


Request Folder

Email folder used to read emails to process as requests, If left empty the default mailbox (INBOX) will be used. Requires IMAP services.



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

Reference Table AD_Language


Multilingual Documents

If selected, you enable multi lingual documents and need to maintain translations for entities used in documents (examples: Products, Payment Terms, ...).
Please note, that the base language is always English.


SMTP Authentification

Some email servers require authentification before sending emails. If yes, users are required to define their email user name and password. If authentification is required and no user name and password is required, delivery will fail.


Base Currency

The Base Currency is taken as the currency for the amounts that do not have an explicit currency, for instance, costs.

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


Related tables

Tables that link this table:


Retrieved from ""

This page has been accessed 9,573 times. This page was last modified on 2 July 2011, at 20:36. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.