ERP/3.0/Developers Guide/Database Model/org.openbravo.client.myob/OBKMO Widget Class
OBKMO_Widget_Class
- Name:OBKMO_Widget_Class
- Classname:OBKMO_WidgetClass
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. |
Allow_Anonymous_Access | No | CHAR (1) | Determines that the widget class will be available to all users regardless of the roles with access to this class. |
Author_Msg | Yes | VARCHAR (255) | It is a message the widget author can define. It will be shown in the widget about information. |
Author_Url | Yes | VARCHAR (2000) | It is the widget author URL which will be shown in the widget about information box. |
Available_In_Workspace | No | CHAR (1) | When this field is checked, the widget will be available in the "Add Widget" drop down menu to include it in the workspace. |
CAN_Maximize | Yes | CHAR (1) | When is true, the maximize button appears in the widget's header toolbar, next to the menu options |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
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. |
Accesslevel | No | VARCHAR (60) | Indicates what type of data (in terms of AD_CLIENT and AD_ORG data columns) can be entered or viewed. We can classify data in 4 major categories:
- System (AD_CLIENT_ID=0, AD_ORG_ID=0) - system data (such as metadata for window, tab and field definition) - Organization (AD_CLIENT<>0, AD_ORG_ID<>0) - data particular to an organization (such as sales orders) - Client/Organization (AD_CLIENT<>0, AD_ORG_ID=anything) - data particular to an organization or shared among all organizations within one client - Client (AD_CLIENT<>0, AD_ORG_ID=0) - data that is specific to a client but can be used by all organizations within that client or All (AD_CLIENT=anything, AD_ORG_ID=anything) |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
Height | No | DECIMAL | Height in pixels the widget will be represented with. |
Javaclass | Yes | VARCHAR (255) | Java Class implementing the widget |
AD_Module_ID | No | VARCHAR (32) | Indicates the module the element forms part of. |
OBKMO_Widget_Class_ID | No | VARCHAR (32) | Identifies a widget class definition |
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. |
IsSuperclass | No | CHAR (1) | A Superclass widget is an implementation that can be used by other widget classes so it is not necessary to develop the java class. |
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. |
Widget_Superclass_ID | Yes | VARCHAR (32) | Identifies the Superclass widget used by this widget class. |
Title | No | NVARCHAR (60) | Widget Title is the text that is shown in the widget bar at Workspace tab. |
Columns
Active
- Physical column name: Isactive
- Property Name: active
- Reference: YesNo
- Default value: Y
Allow_Anonymous_Access
- Physical column name: Allow_Anonymous_Access
- Property Name: allowAnonymousAccess
- Reference: YesNo
- Default value: N
Author_Msg
- Physical column name: Author_Msg
- Property Name: authorMsg
- Reference: String
Author_Url
- Physical column name: Author_Url
- Property Name: authorUrl
- Reference: String
Available_In_Workspace
- Physical column name: Available_In_Workspace
- Property Name: availableInWorkspace
- Reference: YesNo
- Default value: Y
Can Maximize
- Physical column name: CAN_Maximize
- Property Name: canMaximize
- Reference: YesNo
- Default value: N
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
Data Access Level
- Physical column name: Accesslevel
- Property Name: dataAccessLevel
- Reference: List
- Default value: 3
List values: AD_Table Access Levels
The allowed values for this list are:
- 6 (System/Client)
- 1 (Organization)
- 3 (Client/Organization)
- 4 (System only)
- 7 (All)
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Height
- Physical column name: Height
- Property Name: height
- Reference: Integer
Java Class
- Physical column name: Javaclass
- Property Name: javaClass
- Reference: String
Module
- Physical column name: AD_Module_ID
- Property Name: module
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to AD_Module table, (column: AD_Module_ID)
It has a validation "Ad_Module_ID IsInDevelopment", with the following code
IsInDevelopment = 'Y' and type != 'T'
OBKMO_Widget_Class_ID
- Physical column name: OBKMO_Widget_Class_ID
- Property Name: id
- Reference: ID
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
It has a validation "AD_Org Security validation", with the following code
(@AD_Client_ID@='0' AND AD_Org.AD_Org_ID='0') OR (@AD_Client_ID@!='0' AND ((AD_Org.AD_Client_ID IN (@#User_Client@) AND AD_Org.AD_Org_ID IN (@#User_Org@)) OR AD_Org.AD_Org_ID='0' AND AD_Org.IsSummary='N'))
Superclass
- Physical column name: IsSuperclass
- Property Name: superclass
- Reference: YesNo
- 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)
Widget Superclass
- Physical column name: Widget_Superclass_ID
- Property Name: widgetSuperclass
- Reference: Table
Foreign key column to OBKMO_Widget_Class table, (column: OBKMO_Widget_Class_ID)
Widget Title
- Physical column name: Title
- Property Name: widgetTitle
- Reference: String
- This column is part of the table's identifier
Other Info
Check Constraints
These are the check constraints for this table:
- OBKMO_WIDGETCLASS_ALLOWANONACC: ALLOW_ANONYMOUS_ACCESS IN ('Y', 'N')
- OBKMO_WIDGETCLASS_AVAILABL_CHK: AVAILABLE_IN_WORKSPACE IN ('Y', 'N')
- OBKMO_WIDGETCLASS_CAN_MAX_CHK: CAN_MAXIMIZE IN ('Y', 'N')
- OBKMO_WIDGETCLASS_CLASNAME: WIDGET_SUPERCLASS_ID IS NOT NULL OR JAVACLASS IS NOT NULL
- OBKMO_WIDGETCLASS_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- OBKMO_WIDGETCLASS_ISSUPERCLASS: ISSUPERCLASS IN ('Y', 'N')
![]() | Back to org.openbravo.client.myob |