ERP 2.50:Developers Guide/Database Model/org.openbravo.model.ad.domain/AD Model Object
AD_Model_Object
- Name:ADModelImplementation
- Classname:ModelImplementation
This table contains the following columns:
Name | Nullable | Data Type | Description |
AD_Model_Object_ID | N | VARCHAR2(32) | An identification of an object in the dictionary. |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
Createdby | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
Updatedby | N | VARCHAR2(32) | User who updated this records |
Action | Y | VARCHAR2(60) | A drop down list box indicating the next step to take. |
AD_Tab_ID | Y | VARCHAR2(32) | An indication that a tab is displayed within a window. |
Classname | N | VARCHAR2(1000) | x not implemented |
IsDefault | N | CHAR(1) | A value that is shown whenever a record is created. |
AD_Task_ID | Y | VARCHAR2(32) | The name of an operating task. |
AD_Workflow_ID | Y | VARCHAR2(32) | A set of procedures used to show the path to complete a specified task. |
AD_Process_ID | Y | VARCHAR2(32) | A series of actions carried out in sequential order. |
AD_Form_ID | Y | VARCHAR2(32) | The name of the form being edited. |
AD_Reference_ID | Y | VARCHAR2(32) | The data type of this field. |
AD_Callout_ID | Y | VARCHAR2(32) | A series of actions that occur when data is modified. |
AD_Module_ID | Y | VARCHAR2(32) | Module |
Object_Type | Y | VARCHAR2(60) | Type of model object |
Loadonstartup | Y | NUMBER(10, 0) | null |
Seqno | Y | NUMBER | The order of records in a specified document. |
Name | Y | VARCHAR2(60) | A non-unique identifier for a record/document often used as a search tool. |
Other Info
Check constraints
These are the check constraints for this table:
- AD_MODEL_OBJECT_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- AD_MODEL_OBJECT_ISDEFAULT_CHK: ISDEFAULT IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- AD_MODEL_OBJECT_KEY
Columns
Model Object
Identifies an object of the dictionary.
- Physical column name: AD_Model_Object_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
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@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_ORG_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
Created By
- Physical column name: Createdby
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Action
The Action field indicates the Action to be performed for this element.
- Physical column name: Action
- Property Name: action
- Reference: List
- Default value: @SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' ELSE 'P' END) FROM DUAL
List values: AD_Menu Action
The allowed values for this list are:
- C (Callout)
- F (WorkFlow)
- I (Internal link)
- L (External link): External link
- M (Manual): Manual Implememtation Mapping
- P (Process)
- R (Report)
- S (Selector)
- T (Task)
- W (Window)
- X (Form): Special Forms
Tab
- Physical column name: AD_Tab_ID
- Property Name: tab
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Tab table, (column: AD_Tab_ID)
Java Class Name
The classname is used when generating a representation of the table in java (the entity or business object). The classname is the simplename of the class (so without the package name). Often the AD_Table.name can be used here. The combination of classname and package needs to be unique.
- Physical column name: Classname
- Property Name: javaClassName
- Reference: Text
- This column is part of the table's identifier
Default
The Default Checkbox indicates if this record will be used as a default value.
- Physical column name: IsDefault
- Property Name: default
- Reference: YesNo
- Default value: N
OS Task
- Physical column name: AD_Task_ID
- Property Name: oSTask
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Task table, (column: AD_Task_ID)
Workflow
- Physical column name: AD_Workflow_ID
- Property Name: workflow
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Workflow table, (column: AD_Workflow_ID)
Process
- Physical column name: AD_Process_ID
- Property Name: process
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Process table, (column: AD_Process_ID)
Special Form
- Physical column name: AD_Form_ID
- Property Name: specialForm
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Form table, (column: AD_Form_ID)
Reference
- Physical column name: AD_Reference_ID
- Property Name: reference
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Reference table, (column: AD_Reference_ID)
Callout
- Physical column name: AD_Callout_ID
- Property Name: callout
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Callout table, (column: AD_Callout_ID)
Module
- Physical column name: AD_Module_ID
- Property Name: module
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Module table, (column: AD_Module_ID)
Object Type
Type of the requested model object.
- Physical column name: Object_Type
- Property Name: objectType
- Reference: List
- Default value: S
List values: Model Object Type
The allowed values for this list are:
- C (ContextParam)
- F (Filter)
- L (Listener)
- R (Resource)
- S (Servlet)
- ST (Session timeout): Defines the session timeout, only one record of this type is allowed, it requires a timeout parameter setting there the value in minutes.
Load On StartUp
- Physical column name: Loadonstartup
- Property Name: loadOnStartUp
- Reference: Integer
Sequence Number
The Sequence indicates the order of records
- Physical column name: Seqno
- Property Name: sequenceNumber
- Reference: Integer
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.
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Related tables
Tables that link this table: