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

ERP/2.50/Developers Guide/Database Model/org.openbravo.model.ad.module/AD Module

Contents

AD_Module

Contains the information about the currently installed modules and defines which of them are active for development.

This table contains the following columns:

Name Nullable Data Type Description
AD_Module_ID NVARCHAR2(32)Module
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
Name NNVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
Version NVARCHAR2(10)Module version
Description NNVARCHAR2(255)A space to write additional related information.
Help YNVARCHAR2(2000)A comment that adds additional information to help users work with fields.
URL YVARCHAR2(300)An address which can be accessed via internet.
Type NVARCHAR2(60)A distinct item characteristic used for processes and sometimes grouped within a category.
License YNVARCHAR2(2000)Module license text
IsInDevelopment YCHAR(1)Determines wether the module is currently in development process.
IsDefault YCHAR(1)A value that is shown whenever a record is created.
Seqno YNUMBERThe order of records in a specified document.
JavaPackage NVARCHAR2(255)Java package for the module
LicenseType YVARCHAR2(60)Type of license
Author YNVARCHAR2(2000)Module author/licensor
Status YVARCHAR2(60)A defined state or position of a payment.
Update_Available YVARCHAR2(10)New version to update the current module
IsTranslationRequired YCHAR(1)This module requires of tranlsation
AD_Language YVARCHAR2(6)Language for the current module
HasChartOfAccounts NCHAR(1)The module contains a chart of accounts
IsTranslationModule NCHAR(1)This is a translation module
HasReferenceData NCHAR(1)The module contains reference data
IsRegistered YCHAR(1)Indicates whether the module is registered in the Central Repository
UpdateInfo YNVARCHAR2(2000)Information about the update
Update_Ver_ID YVARCHAR2(32)Update Version
ReferenceDataInfo YNVARCHAR2(2000)Description for the reference data contained within the module
Version_Label YVARCHAR2(60)Human readable version identifer
Version_ID YVARCHAR2(60)Version identifier
IsCommercial NCHAR(1)Commercial Module
Maturity_Update YVARCHAR2(60)Minimum Maturity Status of modules for update
Commercial_Tier YVARCHAR2(60)Tier for commercial modules
Enabled NCHAR(1)Is the module enabled
Upgrade_Available YVARCHAR2(4000)Upgrade Available
IsConfigScriptApplied NCHAR(1)null

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

These are the indexes for this table (for each index there is a list of all the columns included within it):

Unique

top

Columns

Module

Indicates the module the element forms part of.

top

Client

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@)

top

Organization

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


Validation Rule AD_Org Security validation: Organizations of the Client with user acces rights. 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'))

top

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

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

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

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

top

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.

top

Version

Module version is a 3 integer dot separated number to identify the version. The 2 first ones define the module's major version whereas the last one is the minor version. An example could be 2.50.10440, where 2.50 is the major version and 10440 is the minor one.

top

Description

A description is limited to 255 characters.

top

Help/Comment

The Help field contains a hint, comment or help about the use of this item.

top

URL

The URL defines an online address for this element.

top

Type

The Type indicates the type of validation that will occur. This can be SQL, Java Script or Java Language.

Callout: SL_ModuleCallout

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_ModuleCallout Java class.

List values: Module type

The allowed values for this list are:

top

License text

Contains the text of the license the module is release with, this information is additional to the license type.

top

In Development

Determines wether the module is currently in development process. Only the modules that currently are being developed will be exported.

Callout: SL_ModuleCallout

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_ModuleCallout Java class.

top

Default

The Default Checkbox indicates if this record will be used as a default value.

Callout: SL_IsDefault

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_IsDefault Java class.

top

Sequence Number

The Sequence indicates the order of records

top

Java Package

Is the Java package the module will use.

top

License Type

There is a list of possible licenses to select one of them for the current element.

List values: License Type

The allowed values for this list are:

top

Author

The author of the module is the person or company that created and maintains the module.

top

Status

Current status of a debt/payment.

List values: Module status

The allowed values for this list are:

top

Available Update

Indicates whether and which new version is available to update a module

top

Translation Required

The current module contains user interface elements that can be translated to different languages.

top

Module Language

This language defines the language used as base for the user interface elements in the module.

Foreign key column to AD_Language table, (column: AD_Language_ID)


Reference Table AD_Language

top

Has chart of accounts

The module contains a chart of accounts

top

Is translation module

This module is a translation module

top

Has reference data

The module contains reference data

top

Register Module

Indicates whether the module is registered in the Central Repository and in case it is not, it allows to register it.

top

Update Information

Information about the update, this information should include what is new for the new version.

top

Update Version

Identifier for the Update Version

top

Reference Data Description

Description for the reference data contained within the module. When a module contains reference data this field maintains a description of this data and its purpose.

top

Version_Label

It is a human understandable identifier for the version, it will be used with version number. Value examples this field can take are: MP1, dev, alpha...

top

VersionID

It is an identifier for the version. In core module this is automatically calculated when it is build in a mercurial working copy, being in this case the last changeset in the working copy.

top

Commercial

Commercial modules are only available to Professional and Basic Edition instances whereas non commercial ones can be downloaded and installed in Community Edition Instances.
Commercial modules can have a fee to be payed before they can be installed.

top

Maturity_Update

Defines the minimum accepted maturity status of modules when they are scanned for update.

top

Tier

Commercial modules are defined in different tiers:
1st Tier: The module can be installed in Professional and Basic Edition instances once it has been purchased.
2nd Tier: The module can be installed in Professional Edition instances once it has been purchased.

List values: CommercialTier

The allowed values for this list are:

top

Enabled

When a module is not enabled, their artifacts (windows, tabs, forms, reports and processes) will not be accessible.

top

Upgrade Available

Version of the available upgrade for this module.

top

Apply Configuration Script

top

Related tables

Tables that link this table:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.ad.module/AD_Module"

This page has been accessed 9,006 times. This page was last modified on 2 July 2011, at 20:34. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.