ERP/2.50/Developers Guide/Database Model/org.openbravo.model.ad.system/AD Property Configuration
Contents |
AD_Property_Configuration
Value assignments for Configuration Properties,
Configuration Properties are defined by modules with the purpose other modules are capable to assign them values.
- Name:ADPropertyConfiguration
- Classname:PropertyConfiguration
This table contains the following columns:
Name | Nullable | Data Type | Description |
AD_Property_Configuration_ID | N | VARCHAR2(32) | Configuration Property |
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 |
Property | N | VARCHAR2(60) | Configuration Property to assign value |
Value | Y | NVARCHAR2(255) | Value assigned to the property |
Selected | Y | CHAR(1) | Selected property in case of conflict |
AD_Module_ID | N | VARCHAR2(32) | Module |
Other Info
Check constraints
These are the check constraints for this table:
- AD_PROPERTY_CONF_ACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- AD_PROPERTY_CONF_SEL_CHECK: SELECTED 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_PROPERTY_CONFIGURATION_KEY
Columns
AD_Property_Configuration_ID
Configuration Properties are defined by modules with the purpose other modules are capable to assign them values.
- Physical column name: AD_Property_Configuration_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)
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'))
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
- Default value: SYSDATE
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
- 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)
Property
It is the "Configuration Property" this record sets value to.
Configuration Properties are defined by modules with the purpose other modules are capable to assign them values.
- Physical column name: Property
- Property Name: property
- Reference: List
- This column is part of the table's identifier
List values: Property Configuration
The allowed values for this list are:
- CCU (Implements customer Credit Used calculation): Avoid the C_BP_SOCREDITUSED_REFRESH function calculation.
- FinancialManagement (Implements an alternative Financial Management)
- ForcedLoginURL (Forced Login URL): If this property is set and the Openbravo login page is accessed using a different URL, it will be redirected to this one. Value for this property should be assigned at system level.
- InvoiceProcessButton (Implements an alternative Invoice Process button): This only affects the process button on Purchase and Sales invoice windows. All other processes that complete invoices will still use the c_invoice_post procedure.
- PaymentMonitor (Implements Payment Monitor management): Disables core's background process and button on invoice's header that manage the Payment Monitor
- PaymentPriority (Implements Payment Priority): Implements Payment Priority feature
- SecuredProcess (Secured Process): Generated UI processes called from buttons within tabs can be secured by setting this property to 'Y'. If this property is not set, they can be executed without giving explicit access by all roles with access to that window.
- StartPage (Startpage of the user ): The page to which the user is redirected after logging in.
- isUpgrading (Upgrading from 2.50): The instance is in the process of upgrade from 2.50
Value
Value assigned to the property
- Physical column name: Value
- Property Name: searchKey
- Reference: String
- This column is part of the table's identifier
Selected
In case of conflict (multiple values for a single property), this field must be checked for one of them in order to pick this one over the rest.
- Physical column name: Selected
- Property Name: selected
- Reference: YesNo
- Default value: N
Module
- Physical column name: AD_Module_ID
- Property Name: module
- Reference: TableDir
- Default value: @SQL=SELECT MAX(AD_MODULE_ID) FROM AD_MODULE WHERE ISDEFAULT='Y'
Foreign key column to AD_Module table, (column: AD_Module_ID)
Validation Rule Ad_Module_ID IsInDevelopment: AD_Module_ID IsInDevelopment. With the following code:
IsInDevelopment = 'Y' AND type != 'T'