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

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


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.

Phone2 Yes NVARCHAR (40) The 2nd Phone field identifies an alternate telephone number.
Birthday Yes TIMESTAMP (7) Birthdate or Anniversary day
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.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Comments Yes NVARCHAR (2000) The Comments field allows for free form entry of additional information.
Commercialauth No CHAR (1) This field show whether customer wants or does not want to receive commercial information from the organization
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.
Default_Ad_Client_ID Yes VARCHAR (32) Client that user will use by default when is logged
Default_Ad_Language Yes VARCHAR (6) Default language of the user interface upon log in of the current user.
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_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.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
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).
EmailUserPW Yes NVARCHAR (40) Required if the mail server requires authentification to send emails.
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.
Fax Yes NVARCHAR (40) The Fax identifies a facsimile number for this Business Partner or Location
Firstname Yes NVARCHAR (60) First Name of the contact
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.
C_Greeting_ID Yes VARCHAR (32) The Greeting identifies the greeting to print on correspondence.
AD_Image_ID Yes VARCHAR (32) Defines a system image
Isexpiredpassword Yes CHAR (1) If checked, the user will have to change his password. By default, this checkbox is unchecked.
Issalesrep No CHAR (1) The Sales Rep checkbox indicates if this employee is also a sales representative.
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.
Lastname Yes NVARCHAR (60) Last name of the contact
LastPasswordUpdate No TIMESTAMP (7) Latest date of user password change
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.
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.
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.
C_BPartner_Location_ID Yes VARCHAR (32) The Partner address indicates the location of a Business Partner
Password Yes NVARCHAR (255) The Password indicates the Password for this User Id. Passwords are required to identify authorized users.
Phone Yes NVARCHAR (40) The Phone field identifies a telephone number
Title Yes NVARCHAR (40) The Title indicates the name that an entity is referred to as.
Processing Yes CHAR (1) When this field is set as 'Y' a process is being performed on this record.
Supervisor_ID Yes VARCHAR (32) The Supervisor indicates who will be used for forwarding and escalating issues for this user.
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.
Update_Password Yes CHAR (1)
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.
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
UserName No NVARCHAR (60) Name that identifies the user in the System
Viaemail No CHAR (1) This field defines the default value for the Via Mail check in Web POS Customer Creation
Viasms No CHAR (1) This field defines the default value for the Via SMS check in Web POS Customer Creation

Columns

Active



top


Alternative Phone



top


Birthday



top


Business Partner


Foreign key column to C_BPartner table, (column: C_BPartner_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


Comments



top


Commercialauth



top


Created By


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

top


Creation Date



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 Language


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

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


Description



top


Email



top


Email Server Password



top


Email Server Username



top


Fax



top


First Name



Callout: SL_User_Name

This column has a callout associated.

It is implemented by [1] Java Class.

top


Grant_Portal_Access



top


Greeting


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

top


Image


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

top


Is Password Expired



top


Is Sales Representative



top


Last Contact Date



top


Last Contact Result



top


Last Name



Callout: SL_User_Name

This column has a callout associated.

It is implemented by [2] Java Class.

top


LastPasswordUpdate



top


Locked



top


Name


Callout: SL_User_Name

This column has a callout associated.

It is implemented by [3] Java Class.

top


Organization


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

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


Password



top


Phone



top


Position



top


Process Now



top


Supervisor


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

top


Trx Organization


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

top


Update_Password



top


Updated



top


Updated By


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

top


User/Contact



top


Username



top


Viaemail



top


Viasms



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 8,066 times. This page was last modified on 22 August 2023, at 09:32. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.