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

ERP/2.50/Developers Guide/Database Model/org.openbravo.model.ad.access/AD Role

Contents

AD_Role

Define the role and add the client and organizations the role has access to. You can give users access to this role and modify the access of this role to windows, forms, processes and reports as well as tasks.
If the Role User Level is Manual, the as
Select Role for with Data Access Restrictions

This table contains the following columns:

Name Nullable Data Type Description
AD_Role_ID NVARCHAR2(32)The profile of security for the user defining what windows and tabs they can see.
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
Name NNVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
UpdatedBy NVARCHAR2(32)User who updated this records
Description YNVARCHAR2(255)A space to write additional related information.
UserLevel NVARCHAR2(60)System Client Organization
ClientList NNVARCHAR2(2000)Clients this Role can access
OrgList NNVARCHAR2(2000)List of Organizations this Role can access
C_Currency_ID YVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
AmtApproval YNUMBERThe approval amount limit for this role
AD_Tree_Menu_ID YVARCHAR2(32)Tree Menu
IsManual YCHAR(1)A task or process completed directly by the user, not automatically by the application.
Processing YCHAR(1)A request to process the respective document or task.
IS_Client_Admin NCHAR(1)null

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

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

Unique

top

Columns

Role

The Role determines security and access a user who has this Role will have in the System.

top

Client

Foreign key column to AD_Client table, (column: AD_Client_ID)


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

 
AD_Client.AD_Client_ID IN (@#User_Client@)

top

Organization

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

top

Active

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.

top

Creation Date

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

top

Created By

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

top

Updated

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

top

Name

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.

top

Updated By

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

top

Description

A description is limited to 255 characters.

top

User Level

The User Level field determines if users of this Role will have access to System level data, Organization level data, Client level data or Client and Organization level data.

List values: AD_Role User Level

The allowed values for this list are:

top

Client List

Indicates the Clients (by client id) that this Role can access. Multiple Clients are delimited by a comma ','.

top

Organization List

The Organization List indicates the Organizations (by organization id) that this Role can access. Multiple Organizations are delimited by a comma ','.

top

Currency

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

top

Approval Amount

The Approval Amount field indicates the amount limit this Role has for approval of documents.

top

Primary Tree Menu

Foreign key column to AD_Tree table, (column: AD_Tree_ID)


Reference Table AD_Tree


Validation Rule AD_Tree Menu: Only menu items. With the following code:

 
AD_Tree.TreeType='MM'

top

Manual

The Manual check box indicates if the process will done manually.

top

Process Now

When this field is set as 'Y' a process is being performed on this record.

top

ClientAdmin

Defines the role as an administrator of the client it belongs to.

top

Related tables

Tables that link this table:

top

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

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