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

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.ad.domain/AD Ref Table

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.ad.domain

Index

Contents

AD_Ref_Table

The Table Validation Tab defines tables to validate data

This table contains the following columns:

Name Nullable Data Type Description
AD_Reference_ID NVARCHAR2(32)The data type of this field.
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_Table_ID NVARCHAR2(32)A dictionary table used for this tab that points to the database table.
AD_Key NVARCHAR2(32)Unique identifier of a record
AD_Display NVARCHAR2(32)Column that will display
IsValueDisplayed NCHAR(1)Displays Value column with the Display column
WhereClause YNVARCHAR2(2000)A specification of the SQL WHERE clause used for permanently filtering displayed data.
OrderByClause YNVARCHAR2(2000)A specification of the SQL ORDER BY clause used for a displayed default sort of records.
Hqlwhereclause YVARCHAR2(2000)null
Hqlorderbyclause YVARCHAR2(2000)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

Reference

Foreign key column to AD_Reference table, (column: AD_Reference_ID)

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)

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

Table

Foreign key column to AD_Table table, (column: AD_Table_ID)

top

Key Column

Foreign key column to AD_Column table, (column: AD_Column_ID)


Reference Table AD_Column ColumnName


Validation Rule AD_Column must be in AD_Table: Table must be previously defined. With the following code:

 
AD_Column.AD_Table_ID=@AD_Table_ID@

top

Displayed Column

Foreign key column to AD_Column table, (column: AD_Column_ID)


Reference Table AD_Column ColumnName


Validation Rule AD_Column must be in AD_Table: Table must be previously defined. With the following code:

 
AD_Column.AD_Table_ID=@AD_Table_ID@

top

Displayed Value

The Display Value checkbox indicates if the value column will display with the display column.

top

SQL Where Clause

The Where Clause indicates the SQL WHERE clause to use for record selection. The WHERE clause is added to the query. Fully qualified means "tablename.columnname".

top

SQL Order by Clause

The ORDER BY Clause indicates the SQL ORDER BY clause to use for record selection

top

Hqlwhereclause

top

Hqlorderbyclause

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.ad.domain/AD_Ref_Table"

This page has been accessed 2,880 times. This page was last modified on 14 June 2011, at 11:03. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.