ERP/3.0/Developers Guide/Database Model/org.openbravo.model.ad.ui/AD Element
AD_Element
- Name:AD_Element
- Classname:ADElement
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. |
AD_Element_ID | No | VARCHAR (32) | The System Element allows for the central maintenance of help, descriptions and terminology for a database column. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
CreatedBy | Yes | 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. |
ColumnName | No | VARCHAR (40) | The Column Name indicates the name of a column on a table as defined in the database. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
IsGlossary | No | CHAR (1) | This element is part of the glossary in wiki documentation.
Glossary orphan elements are preserved when running Synchronize Terminology process. |
Help | Yes | NVARCHAR (2000) | The Help field contains a hint, comment or help about the use of this item. |
AD_Module_ID | No | VARCHAR (32) | Indicates the module the element forms part of. |
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 | Yes | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
PO_PrintName | Yes | NVARCHAR (60) | Print name on Purchase Screens/Reports |
PrintName | No | NVARCHAR (60) | The Label to be printed indicates the name that will be printed on a document or correspondence. The max length is 2000 characters. |
PO_Description | Yes | NVARCHAR (255) | Description in Purchase Windows |
PO_Help | Yes | NVARCHAR (2000) | Help in Purchase Windows |
PO_Name | Yes | NVARCHAR (60) | Name in Purchase Windows |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | Yes | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Application Element
- Physical column name: AD_Element_ID
- Property Name: id
- Reference: 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 value: SYSDATE
DB Column Name
- Physical column name: ColumnName
- Property Name: dBColumnName
- Reference: String
- This column is part of the table's identifier
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Glossary
- Physical column name: IsGlossary
- Property Name: glossary
- Reference: YesNo
- Default value: N
Help/Comment
- Physical column name: Help
- Property Name: helpComment
- Reference: Text
Module
- Physical column name: AD_Module_ID
- Property Name: module
- Reference: TableDir
- Default value: 0
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
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Print Name on Purchase Order
- Physical column name: PO_PrintName
- Property Name: printNameOnPurchaseOrder
- Reference: String
Print Text
- Physical column name: PrintName
- Property Name: printText
- Reference: String
Purchase Order Description
- Physical column name: PO_Description
- Property Name: purchaseOrderDescription
- Reference: String
Purchase Order Help
- Physical column name: PO_Help
- Property Name: purchaseOrderHelp
- Reference: Text
Purchase Order Name
- Physical column name: PO_Name
- Property Name: purchaseOrderName
- Reference: String
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)
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_ELEMENT_CLIENTORG Not Unique. Columns:
- AD_CLIENT_ID
- AD_ORG_ID
- AD_ELEMENT_COLUMNNAME Not Unique. Columns:
- COLUMNNAME
- AD_ELEMENT_NAME Not Unique. Columns:
- NAME
Check Constraints
These are the check constraints for this table:
- AD_ELEMENT_GLOSSARY_CHCK: ISGLOSSARY IN ('Y', 'N')
- AD_ELEMENT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
![]() | Back to org.openbravo.model.ad.ui |