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

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

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_Role

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.

IsAdvanced No CHAR (1) Automatic (non manual) advanced roles are granted with features checked as advanced.
AmtApproval Yes DECIMAL The Approval Amount field indicates the amount limit this Role has for approval of documents.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
IS_Client_Admin No CHAR (1) Defines the role as an administrator of the client it belongs to.
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.
C_Currency_ID Yes VARCHAR (32) Indicates the currency to be used when processing this document.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
IsPortal No CHAR (1) If checked, this role will have a simplified (portal) interface, where it only has available the workspace widgets.
IsWebServiceEnabled No CHAR (1) If checked, web services will be able to obtain data for users with this role. It applies to both JSON REST and XML REST web services
Isrestrictbackend Yes CHAR (1) If checked, this role will not have access to the backend. It will however have access to other applications (such as the WebPOS)
IsManual Yes CHAR (1) The Manual check box indicates if the process will done manually.
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.
IsPortalAdmin No CHAR (1) If checked, the Portal Role will have Portal Administrator privileges
AD_Tree_Menu_ID Yes VARCHAR (32) Tree Menu
Processing Yes CHAR (1) When this field is set as 'Y' a process is being performed on this record.
Recalculatepermissions Yes VARCHAR (1) This process recalculates role permissions, based on the role inheritance defined. Depending on the role type the behavior varies:

- If the role is a template one, the permissions for the role will be recalculated and also propagated to every role which is currently inheriting from this template. - If the role is not marked as template, just the permissions for this role are recalculated. For details - http://wiki.openbravo.com/wiki/Role#Permissions_Inheritance

AD_Role_ID No VARCHAR (32) The Role determines security and access a user who has this Role will have in the System.
IsTemplate No CHAR (1) Template is checked when the element is used as a template.
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.
UserLevel No VARCHAR (60) 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.

Columns

Active



top


Advanced



top


Approval Amount



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


ClientAdmin



top


Created By


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

top


Creation Date



top


Currency


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

top


Description



top


For Portal Users



top


IsWebServiceEnabled



top


Isrestrictbackend



top


Manual



top


Name


top


Organization


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

top


Portal Admin



top


Primary Tree Menu


Foreign key column to AD_Tree table, (column: AD_Tree_ID) It has a validation "AD_Tree Menu", with the following code

AD_Tree.TreeType='MM'

top


Process Now



top


RecalculatePermissions



top


Role



top


Template



top


Updated



top


Updated By


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

top


User Level


List values: AD_Role User Level

The allowed values for this list are:

top


Other Info

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

This page has been accessed 4,852 times. This page was last modified on 5 December 2022, at 01:45. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.