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.ad.access/AD User

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.ad.access


Contents

AD_User

This table contains the following columns:

Name Nullable Data Type Description


Comments Yes NVARCHAR (2000) The Comments field allows for free form entry of additional information.
EmailUser Yes NVARCHAR (40) The user name in the mail system is usually the string before the @ of your email address. Required if the mail server requires authentification to send emails.
EmailUserPW Yes NVARCHAR (40) Required if the mail server requires authentification to send emails.
C_BPartner_ID Yes VARCHAR (32) A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
Processing Yes CHAR (1) When this field is set as 'Y' a process is being performed on this record.
Title Yes NVARCHAR (40) The Title indicates the name that an entity is referred to as.
LastContact Yes TIMESTAMP (7) The Last Contact indicates the date that this Business Partner Contact was last contacted.
LastResult Yes NVARCHAR (255) The Last Result identifies the result of the last contact made.
C_BPartner_Location_ID Yes VARCHAR (32) The Partner address indicates the location of a Business Partner
Birthday Yes TIMESTAMP (7) Birthday or Anniversary day
Phone2 Yes NVARCHAR (40) The 2nd Phone field identifies an alternate telephone number.
AD_OrgTrx_ID Yes VARCHAR (32) The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.
C_Greeting_ID Yes VARCHAR (32) The Greeting identifies the greeting to print on correspondence.
Fax Yes NVARCHAR (40) The Fax identifies a facsimile number for this Business Partner or Location
Phone Yes NVARCHAR (40) The Phone field identifies a telephone number
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.
Firstname Yes NVARCHAR (60) First Name of the contact
Lastname Yes NVARCHAR (60) Last name of the contact
UserName No NVARCHAR (60) Name that identifies the user in the System
Default_Ad_Client_ID Yes VARCHAR (32) Client that user will use by default when is logged
Default_Ad_Org_ID Yes VARCHAR (32) Default organization that will be used when entering new transactions (eg. creating a new sales order).
Default_Ad_Language Yes VARCHAR (6) Default language of the user interface upon log in of the current user.
Default_Ad_Role_ID Yes VARCHAR (32) Default role applied when this user logs in (only the ones applicable to the user are shown).
Default_M_Warehouse_ID Yes VARCHAR (32) Default warehouse that will be used within transactions that require warehouse movements.
IsLocked No CHAR (1) The user is locked and cannot log in the application. This field can be manually set or automatically if login.trial.user.lock property is configured in Openbravo.properties file and there has been that number of failed log in attempts.
AD_Image_ID Yes VARCHAR (32) Defines a system image
Grant_Portal_Access No CHAR (1) Grants to this user access to one of the available portal roles and resets the password for this user.
LastPasswordUpdate No TIMESTAMP (7) Latest date of user password change
Isexpiredpassword Yes CHAR (1) If checked, the user will have to change his password. By default, this checkbox is unchecked.
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_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Password Yes NVARCHAR (40) The Password indicates the Password for this User Id. Passwords are required to identify authorized users.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
AD_User_ID No VARCHAR (32) The User identifies a unique user in the system. This could be an internal user or a business partner contact
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.
Supervisor_ID Yes VARCHAR (32) The Supervisor indicates who will be used for forwarding and escalating issues for this user.
Email Yes NVARCHAR (255) The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com).
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.

Columns

Comments



top


Email Server Username



top


Email Server Password



top


Business Partner


Foreign key column to C_BPartner table, (column: C_BPartner_ID)

top


Process Now



top


Position



top


Last Contact Date



top


Last Contact Result



top


Partner Address


Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID) It has a validation "C_BPartner Location", with the following code

C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@

top


Birthday



top


Alternative Phone



top


Trx Organization


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

top


Greeting


Foreign key column to C_Greeting table, (column: C_Greeting_ID)

top


Fax



top


Phone



top


Name


Callout: SL_User_Name

This column has a callout associated.

It is implemented by [1] Java Class.

top


First Name



Callout: SL_User_Name

This column has a callout associated.

It is implemented by [2] Java Class.

top


Last Name



Callout: SL_User_Name

This column has a callout associated.

It is implemented by [3] Java Class.

top


Username



top


Default Client


Foreign key column to AD_Client table, (column: AD_Client_ID) It has a validation "AD_Client of Role", with the following code

AD_CLIENT.ISACTIVE = 'Y' AND EXISTS (SELECT 1 FROM AD_ROLE_ORGACCESS WHERE AD_ROLE_ORGACCESS.AD_CLIENT_ID = AD_CLIENT.AD_CLIENT_ID AND AD_ROLE_ORGACCESS.AD_ROLE_ID = @Default_AD_Role_ID@ AND AD_ROLE_ORGACCESS.ISACTIVE = 'Y')

top


Default Organization


Foreign key column to AD_Org table, (column: AD_Org_ID) It has a validation "AD_Org of a Role", with the following code

EXISTS (SELECT 1 FROM AD_ROLE_ORGACCESS A_R_O, ad_role r
       WHERE A_R_O.AD_ORG_ID = AD_ORG.AD_Org_ID
       AND A_R_O.ISACTIVE = 'Y'
       AND A_R_O.AD_ROLE_ID = R.AD_ROLE_ID
       and r.ad_role_id = @Default_AD_Role_ID@
       AND R.ISACTIVE = 'Y'
       AND (LPAD(TO_CHAR(R.USERLEVEL), 1, '1')='S' OR AD_ORG.AD_ORG_ID <> '0')
       AND A_R_O.AD_ROLE_ID = @Default_AD_Role_ID@)

top


Default Language


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

top


Default Role


Foreign key column to AD_Role table, (column: AD_Role_ID) It has a validation "AD_Role_of_User", with the following code

EXISTS ( SELECT 1
       FROM  AD_USER_ROLES A_U_R
       WHERE A_U_R.AD_ROLE_ID = AD_Role.AD_Role_ID
       AND A_U_R.ISACTIVE = 'Y'
       AND A_U_R.AD_USER_ID = @AD_User_ID@)

top


Default Warehouse


Foreign key column to M_Warehouse table, (column: M_Warehouse_ID) It has a validation "M_Warehouse of Role", with the following code

M_Warehouse.AD_Client_ID = @Default_AD_Client_ID@

top


Locked



top


Image


Foreign key column to AD_Image table, (column: AD_Image_ID)

top


Grant_Portal_Access



top


LastPasswordUpdate



top


Is Password Expired



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


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


Password



top


Description



top


User/Contact



top


Organization


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

top


Supervisor


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

top


Email



top


Updated



top


Other Info

Indices

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

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.ad.access

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.access/AD_User"

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