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

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

Contents

AD_Module_Dependency

This table defines the dependencies among modules, in case the module is a template the dependencies defined in this table will be used to calculate the modules included in the template.

This table contains the following columns:

Name Nullable Data Type Description
AD_Module_Dependency_ID NVARCHAR2(32)Defines dependencies ammong modules
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
AD_Module_ID NVARCHAR2(32)Module
AD_Dependent_Module_ID NVARCHAR2(32)Included Module
StartVersion NVARCHAR2(10)First compatible version
EndVersion YVARCHAR2(10)Last compatible version
IsIncluded NCHAR(1)Defines whether it is included or just dependant
Dependant_Module_Name YVARCHAR2(60)Name of the dependent module
Dependency_Enforcement NVARCHAR2(60)Dependency enforcement defines which are the versions of the dependent module that are compatible with the parent one.
User_Editable_Enforcement NCHAR(1)Defines whether the enforcement can be overwritten by user
Instance_Enforcement YVARCHAR2(60)Instance specific dependency enforcement

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 Dependency

Defines dependencies ammong modules

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)


Reference Table AD_User

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)


Reference Table AD_User

top

Module

Foreign key column to AD_Module table, (column: AD_Module_ID)

top

Included Module

It is the module included in the current inclusion list of modules.

Foreign key column to AD_Module table, (column: AD_Module_ID)


Reference Table Modules : Modules.


Validation Rule AD_Module_Dependecy_ID Avoid dependency to itsef: AD_Module_Dependecy_ID Avoid dependency to itsef. With the following code:

 
AD_Module_ID<>@AD_Module_ID@

Callout: SL_Module_Minor_Version

This element is linked to a callout.

Class to compute the minor version of the dependency relation

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

top

Version

It is the first compatible version for the dependency, in case last version is blank is will be the only one.

top

Last Version

It is the last compatible version to define the dependency.

top

Is Included

A dependency can include other modules in case it is a dependency for packages.

top

Dependant Module Name

The name of the dependent module is stored here because the dependent module can have been removed. In that case it is still relevant to show the module name to detect a broken dependency.

top

Dependency Enforcement

Dependency enforcement defines which are the versions of the dependent module that are compatible with the parent one.

The values it can contain are:

List values: Dependency Enforcement

The allowed values for this list are:

top

User Editable Enforcement

When a dependency/inclusion is "User Editable Enforcement", the enforcement defined for that dependency can be overwritten at instance level.

top

Instance Enforcement

In case the dependency is set as "User Editable", this value overwrites the Instance Enforcement one.

List values: Dependency Enforcement

The allowed values for this list are:

top

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

This page has been accessed 4,929 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.