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.userinterface.selector/OBUISEL Selector Field

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.userinterface.selector


Contents

OBUISEL_Selector_Field

This table contains the following columns:

Name Nullable Data Type Description


Obuisel_Selector_Field_ID No VARCHAR (32) Unique identifying key for the selector field record.
Obuisel_Selector_ID No VARCHAR (32) The unique identifying key for the selector.
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.
AD_Module_ID No VARCHAR (32) Indicates the module the element forms part of.
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.
Sort No CHAR (1) Allow sorting by this field in the popup grid.
Filter No CHAR (1) Make it possible to filter in the grid using this field.
Searchinsuggestionbox No CHAR (1) Defines if the field is used to search when retrieving values in the suggestion box.
Showingrid No CHAR (1) Defines if the field is shown in the popup grid.
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.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
Help Yes NVARCHAR (2000) The Help field contains a hint, comment or help about the use of this item.
Property Yes VARCHAR (255) Path/name of the property to show in the selector
Iscentrallymaintained No CHAR (1) The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.
Sortno No DECIMAL (10,0)
AD_Column_ID Yes VARCHAR (32) Link to the database column of the table
Obserds_Datasource_Field_ID Yes VARCHAR (32) The datasource field is part of the datasource definition.
Isoutfield No CHAR (1)
Default_Expression Yes VARCHAR (2000) Defines a JavaScript expression that will be evaluated in the server side and used as default value for the property. You can use any type of variable but it must match the property type, examples:

true - the property associated is boolean "Hello" - the propery associated is string 5.3 - the property associated is numeric

You can also access the Openbravo API through the OB object and do some more complex expressions, e.g.

OB.getSession().getAttribute("SESSIONVAR");

This will retrieve the session variable SESSIONVAR and use it as default value for the selector field

Display_Expression Yes VARCHAR (255) Alias of the HQL query column to be shown
Clause_Left_Part Yes VARCHAR (255) Left part of a clause to be used on the where or order by clauses of the HQL.
Suffix Yes VARCHAR (60) The Suffix indicates the characters to append to the document number.
AD_Reference_ID Yes VARCHAR (32) The Reference indicates the type of reference field
Showinpicklist No CHAR (1) Sets additional fields to appear on the selectors pick list.

Columns

Obuisel_Selector_Field_ID



top


Obuisel_Selector_ID

Foreign key column to OBUISEL_Selector table, (column: Obuisel_Selector_ID)

top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID) It has a validation "AD_Client Security validation", 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) It has a validation "AD_Org Security validation", 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


Module


Foreign key column to AD_Module table, (column: AD_Module_ID) It has a validation "Ad_Module_ID IsInDevelopment", with the following code

IsInDevelopment = 'Y' and type != 'T'

top


Name


top


Sortable



top


Filterable



top


Searchinsuggestionbox



top


Showingrid



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


Description



top


Help/Comment



top


Property



Callout: Selector_Field_Property_Callout

This column has a callout associated. Computes selector field ad_column_id after change in select field property. It is implemented by [1] Java Class.

top


Central Maintenance



top


Sortno



top


Column


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

Callout: DefaultExpression

This column has a callout associated. Tests if the default expression used in a selector field is valid It is implemented by [2] Java Class.

top


Obserds_Datasource_Field_ID


Foreign key column to OBSERDS_Datasource_Field table, (column: Obserds_Datasource_Field_ID) It has a validation "DataSource Field must be in DataSource", with the following code

OBSERDS_DATASOURCE_FIELD.OBSERDS_DATASOURCE_ID=@OBSERDS_DATASOURCE_ID@

top


Isoutfield



top


Default_Expression



Callout: DefaultExpression

This column has a callout associated. Tests if the default expression used in a selector field is valid It is implemented by [3] Java Class.

top


Display Column Alias



top


Clause Left Part



top


Suffix



top


Reference


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

top


Show In Picklist



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.userinterface.selector

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.userinterface.selector/OBUISEL_Selector_Field"

This page has been accessed 1,872 times. This page was last modified on 1 December 2016, at 02:18. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.