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


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.

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

AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Clientclass Yes NVARCHAR (255)
Createdby No VARCHAR (32) The Created By field indicates the user who created this record.
Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
Display_Expression No VARCHAR (255) Alias of HQL query column to be shown
Has_Link No CHAR (1) Flag to set that the field of the grid will have a link
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.

Link_Expression Yes VARCHAR (255) Alias of the HQL Query column with the id required to built the link
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.
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.
OBCQL_Query_Column_ID No VARCHAR (32) Column of the defined query that it is desired to be shown or exported
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.
Seqno No DECIMAL (10,0) The Sequence indicates the order of records
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,..
AD_Tab_ID Yes VARCHAR (32) The Tab indicates a tab that displays within a window.
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.
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.
OBCQL_Widget_Query_ID No VARCHAR (32) Identifies the HQL Query definitino of a widget class that implements the Query/List Superclass widget
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.

Columns

Active



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


Client


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

top


Client Class



top


Created By


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

top


Creation Date



top


Display Expression



top


Has Link



top


Include In


List values: Query/List Include in

The allowed values for this list are:

top


Link Expression



top


Name


top


Organization


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

top


Query Column



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


Sequence Number



top


Summarize Type



List values: Query/List Summarize type

The allowed values for this list are:

top


Tab


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

top


Updated



top


Updated By


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

top


Where Clause Left Part



top


Widget Query


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

top


Width



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 3,060 times. This page was last modified on 7 September 2020, at 01:56. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.