ERP/3.0/Developers Guide/Database Model/org.openbravo.model.ad.access/AD Session
Contents
|
AD_Session
- Name:AD_Session
- Classname:ADSession
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. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
CreatedBy | Yes | 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. |
Last_Session_Ping | Yes | TIMESTAMP (7) | Stores the last time the session made ping through the UI. In this way it is possible to determine whether the browser was closed without doing log out. |
Login_Status | Yes | VARCHAR (60) | Maintains the status for the log in. It determines whether there was any error in the log in. |
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. |
Processed | No | CHAR (1) | The Processed checkbox indicates that a document has been processed. |
Remote_Addr | Yes | NVARCHAR (60) | The Remote Address indicates an alternative or external address. |
Remote_Host | Yes | NVARCHAR (120) | Remote Host |
Server_Url | Yes | VARCHAR (255) | URL for the context the session is in |
AD_Session_ID | No | VARCHAR (32) | Online or Web Session Information |
Session_Active | No | CHAR (1) | Session Active indicates whether the session is currently active or not. |
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. |
Username | Yes | VARCHAR (60) | Name that identifies the user in the System |
WebSession | Yes | VARCHAR (40) | Identifier assigned to the session by the Servlet Container (Tomcat). |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
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@)
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Last Ping
- Physical column name: Last_Session_Ping
- Property Name: lastPing
- Reference: DateTime
Login Status
- Physical column name: Login_Status
- Property Name: loginStatus
- Reference: List
List values: Session Login Status
The allowed values for this list are:
- LU (Locked User)
- S (Successful): Session logged in successfully
- CNU (Concurrent named user): Trying to login several concurrent sessions with same username
- WS (Web Service): Web Service Call
- RESTR (All available roles restricted): User doesn't have non-restricted roles
- LBF (Last build failed)
- RT (Restart Tomcat)
- SUR (Soft Concurrent Users Reached): Reached the number of soft concurrent users
- IOBPS (Inacctive OBPS Instance)
- CUR (Concurrent Users Limit Reached): Reached maximum number of allowed concurrent users in the instance
- WSC (Connector): Connector Call
- F (User/password fail): User and/or password was not correct
- WSR (Web Service Rejected): Web Service Rejected
- ME (Commercial module expired)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Processed
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
- Default value: N
Remote Address
- Physical column name: Remote_Addr
- Property Name: remoteAddress
- Reference: String
Remote Host
- Physical column name: Remote_Host
- Property Name: remoteHost
- Reference: String
Server Url
- Physical column name: Server_Url
- Property Name: serverUrl
- Reference: String
Session
- Physical column name: AD_Session_ID
- Property Name: id
- Reference: ID
- This column is part of the table's identifier
Session_Active
- Physical column name: Session_Active
- Property Name: sessionActive
- Reference: Button
- Default value: N
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Username
- Physical column name: Username
- Property Name: username
- Reference: String
Web Session
- Physical column name: WebSession
- Property Name: webSession
- Reference: String
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- AD_SESSION_ACTIVE_IDX Not Unique. Columns:
- SESSION_ACTIVE
- AD_SESSION_CREATED_IDX Not Unique. Columns:
- CREATED
- AD_SESSION_LOGSTATUS Not Unique. Columns:
- LOGIN_STATUS
- AD_SESSION_USERNAME_IDX Not Unique. Columns:
- USERNAME
Check Constraints
These are the check constraints for this table:
- AD_SESSION_ACTIVE_CHK: SESSION_ACTIVE IN ('Y', 'N')
![]() | Back to org.openbravo.model.ad.access |