View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.client.querylist/OBCQL Query Column

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.client.querylist


Contents

OBCQL_Query_Column

This table contains the following columns:

Name Nullable Data Type Description


OBCQL_Query_Column_ID No VARCHAR (32) Column of the defined query that it is desired to be shown or exported
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
AD_Org_ID No VARCHAR (32) An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
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.

Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
Createdby No VARCHAR (32) The Created By field indicates the user who created this record.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
Updatedby No VARCHAR (32) The Updated By field indicates the user who updated this record.
OBCQL_Widget_Query_ID No VARCHAR (32) Identifies the HQL Query definitino of a widget class that implements the Query/List Superclass widget
Display_Expression No VARCHAR (255) Alias of HQL query column to be shown
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.
Summarize_Type Yes VARCHAR (60) Select the desired summarize option in case the column is numeric and it is desired to have the sum, average,..
Width No DECIMAL (10,0) Width of the column in percentage. If the sum of the widths is higher than 100 the grid will adapt the values. For example, 3 columns with 100 width will take 33% of the grid width each.
Link_Expression Yes VARCHAR (255) Alias of the HQL Query column with the id required to built the link
Seqno No DECIMAL (10,0) The Sequence indicates the order of records
AD_Reference_ID No VARCHAR (32) The Reference indicates the type of reference field
AD_Reference_Value_ID Yes VARCHAR (32) The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List.
Include_In No VARCHAR (60) Sets the visibility of the column:

- Widget view, column is shown on all cases. - Maximized view, column is shown only in maximized view and included in the exported file. - Exported file, column is only included in the exported file.

Has_Link No CHAR (1) Flag to set that the field of the grid will have a link
AD_Tab_ID Yes VARCHAR (32) The Tab indicates a tab that displays within a window.
Can_Be_Filtered No CHAR (1) This flag sets whether it is possible to filter the grid by this column or not on maximized view. To be able to filter it is also needed to set on the HQL Code where clause the display expression between @ symbols that will be replaced on execution by the filter clause in case it is being filtered or "1=1" when it is not.

For example: having the following HQL "select product.name as prodcutName from product". To be able to filter by product name it is needed to include a "where @productName@" in the where clause: "select product.name as prodcutName from product where @productName@"

Whereclause_Left_Part Yes VARCHAR (255) Left part of the where clause needed to filter by a value of this column on the maximized view.
Clientclass Yes NVARCHAR (255)

Columns

Query Column



top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID)

top


Organization


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

top


Active



top


Creation Date



top


Created By


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

top


Updated



top


Updated By


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

top


Widget Query


Foreign key column to OBCQL_Widget_Query table, (column: OBCQL_Widget_Query_ID)

top


Display Expression



top


Name


top


Summarize Type



List values: Query/List Summarize type

The allowed values for this list are:

top


Width



top


Link Expression



top


Sequence Number



top


Reference


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

top


Reference Search Key


Foreign key column to AD_Reference table, (column: AD_Reference_ID) It has a validation "AD_Reference Subreference", with the following code

AD_Reference.ParentReference_ID=@AD_Reference_ID@

OR (@AD_Reference_ID@ = '28' and AD_Reference.ParentReference_ID='17')

top


Include In


List values: Query/List Include in

The allowed values for this list are:

top


Has Link



top


Tab


Foreign key column to AD_Tab table, (column: AD_Tab_ID)

top


Can be filtered


Callout: CheckOptionalFilterCallout

This column has a callout associated. Checks if the hql query enabled if can be filtered check box is selected in column tab It is implemented by [1] Java Class.

top


Where Clause Left Part



top


Client Class



top


Other Info

Indices

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

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.client.querylist

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.client.querylist/OBCQL_Query_Column"

This page has been accessed 1,233 times. This page was last modified on 8 September 2015, at 11:28. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.