ERP/3.0/Developers Guide/Database Model/org.openbravo.model.ad.domain/AD Model Object
AD_Model_Object
- Name:AD_Model_Object
- Classname:ADModelImplementation
This table contains the following columns:
Name | Nullable | Data Type | Description
|
Action | Yes | VARCHAR (60) | The Action field indicates the Action to be performed for this element. |
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_Callout_ID | Yes | VARCHAR (32) | The callout that will be fired when the content of a is modified. |
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. |
IsDefault | No | CHAR (1) | The Default Checkbox indicates if this record will be used as a default value. |
Classname | No | VARCHAR (1000) | 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. |
Loadonstartup | Yes | DECIMAL (10,0) | |
AD_Model_Object_ID | No | VARCHAR (32) | Identifies an object of the dictionary. |
AD_Module_ID | Yes | VARCHAR (32) | Indicates the module the element forms part of. |
Name | Yes | VARCHAR (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. |
Object_Type | No | VARCHAR (60) | Type of the requested model object. |
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. |
AD_Process_ID | Yes | VARCHAR (32) | The Process field identifies a unique Process or Report in the system. |
AD_Reference_ID | Yes | VARCHAR (32) | The Reference indicates the type of reference field |
Seqno | Yes | DECIMAL | The Sequence indicates the order of records |
AD_Form_ID | Yes | VARCHAR (32) | The Special Form field identifies a unique Special Form in the system. |
AD_Tab_ID | Yes | VARCHAR (32) | The Tab indicates a tab that displays within a window. |
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. |
Columns
Action
- Physical column name: Action
- Property Name: action
- Reference: List
List values: AD_Menu Action
The allowed values for this list are:
- R (Report)
- X (Form): Special Forms
- L (External link): External link
- I (Internal link)
- C (Callout)
- S (Selector)
- M (Manual): Manual Implememtation Mapping
- OBUIAPP_OpenView (Open View in MDI): Opens a view in the Multi-Document-Interface
- OBUIAPP_Process (Process Definition)
- W (Window)
- T (Task)
- F (WorkFlow)
- P (Process)
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Callout
- Physical column name: AD_Callout_ID
- Property Name: callout
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to AD_Callout table, (column: AD_Callout_ID)
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
- Physical column name: IsDefault
- Property Name: default
- Reference: YesNo
- Default value: N
Java Class Name
- Physical column name: Classname
- Property Name: javaClassName
- Reference: Text
- This column is part of the table's identifier
Load On StartUp
- Physical column name: Loadonstartup
- Property Name: loadOnStartUp
- Reference: Integer
Model Object
- Physical column name: AD_Model_Object_ID
- Property Name: id
- Reference: ID
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'
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Object Type
- 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:
- S (Servlet)
- P (Process)
- C (ContextParam)
- L (Listener)
- 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.
- E (Error Page)
- F (Filter)
- R (Resource)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Process
- Physical column name: AD_Process_ID
- Property Name: process
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to AD_Process table, (column: AD_Process_ID)
Reference
- Physical column name: AD_Reference_ID
- Property Name: reference
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to AD_Reference table, (column: AD_Reference_ID)
Sequence Number
- Physical column name: Seqno
- Property Name: sequenceNumber
- Reference: Integer
Special Form
- Physical column name: AD_Form_ID
- Property Name: specialForm
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to AD_Form table, (column: AD_Form_ID)
Tab
- Physical column name: AD_Tab_ID
- Property Name: tab
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to AD_Tab table, (column: AD_Tab_ID)
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)
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_MODELOBJECT_CALLOUT_IDX Not Unique. Columns:
- AD_CALLOUT_ID
- AD_MODELOBJECT_FORM_IDX Not Unique. Columns:
- AD_FORM_ID
- AD_MODELOBJECT_PROCESS_IDX Not Unique. Columns:
- AD_PROCESS_ID
- AD_MODELOBJECT_REFERENCE_IDX Not Unique. Columns:
- AD_REFERENCE_ID
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')
![]() | Back to org.openbravo.model.ad.domain |