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.model.ad.ui/AD 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.model.ad.ui


Contents

AD_Field

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.

IsCentrallyMaintained No CHAR (1) The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.
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)
AD_Column_ID Yes VARCHAR (32) Link to the database column of the table
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.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
IsEncrypted No CHAR (1) This option is deprecated. One of the new references "Password (decryptable)" or "Password (not-decryptable)" should be used instead.
IsFieldOnly Yes CHAR (1) The Field Only checkbox indicates that the column will display without a label.
DisplayLogic Yes NVARCHAR (2000) A specification of statements which, when evaluated as false, cause the field to appear hidden.
Displaylogic_Server Yes NVARCHAR (2000) A specification of statements which, when evaluated as false in the Server, cause the field to not appear at all in the Window generated.
IsSameLine No CHAR (1) An indication that the field will display on the same line as the previous one.
IsDisplayed No CHAR (1) If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed
DisplayLength Yes DECIMAL (10,0) Display length is the size that will be appear for the field, it can be different that the actual size of the column (note that if it is bigger than the column the data will be truncated to the column size).
Displaylogicgrid Yes NVARCHAR (2000)
EM_Obuiapp_Showsummary No CHAR (1) Defines if the Field should show a summary function at the end of the grid
EM_Obuiapp_Colspan Yes DECIMAL (10,0) This value can be used to define, multi-columns fields. So fields occupying more then one column. If this value is not set the normal calculation takes place.
EM_Obuiapp_Default_Expression Yes NVARCHAR (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 a boolean "Hello" - the property associated is a string 5.3 - the property associated is a number

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 filter of this field.

EM_Obuiapp_Rowspan Yes DECIMAL (10,0) This value can be used to define, multi-row fields. So fields occupying more then one row. If this value is not set the normal calculation takes place.
EM_Obuiapp_Summaryfn Yes VARCHAR (255) Defines the summary function to use, valid values: sum, avg, max, min, count
EM_Obuiapp_Validator Yes VARCHAR (255) By default a field have a set of validation functions, isNumber, isBoolean, etc. The developer can define a custom validator function to check the value entered by a the user.
EM_Obuisel_Outfield_ID Yes VARCHAR (32) The new selector can define a field as 'Out Field'. If a column from a tab is using a selector with an out field it will get listed. A field from the tab can receive the value of an Selector Out Field when the user picks a record in the selector. This fields establishes the connection between a selector out field and a field in the tab.
AD_Field_ID No VARCHAR (32) The Field identifies a field on a database table.
AD_FieldGroup_ID Yes VARCHAR (32) The Field Group indicates the logical group that this field belongs to (History, Amounts, Quantities)
Grid_Seqno Yes DECIMAL (10,0) Position of the column in grid view. If there are fields shown in grid with this property set, they will be placed at first in grid ordered by this value, after them, the rest of fields ordered by their seqNo value.
Help Yes NVARCHAR (2000) The Help field contains a hint, comment or help about the use of this item.
Ignoreinwad Yes CHAR (1)
Isfirstfocusedfield Yes CHAR (1)

When it is active this field will be focused by default when the tab is opened.

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.
Onchangefunction Yes NVARCHAR (255) This function needs to be the global id of a javascript function which is called on the client whenever the value of the field changes.
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.
Property Yes VARCHAR (255) 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.

IsReadOnly No CHAR (1) The Read Only indicates that this field may only be Read. It may not be updated.
SortNo Yes DECIMAL (10,0) The Record Sort No indicates the ascending sort sequence of the records
SeqNo Yes DECIMAL (10,0) The Sequence indicates the order of records
ShowInRelation Yes CHAR (1) When this field is set as 'Y' the field will be shown in the grid view (as well as in the form view), otherwise it only will be displayed in the form view.
isShownInStatusBar No CHAR (1) Defines if the field is shown in the status bar.
Startinoddcolumn No CHAR (1)
Startnewline No CHAR (1)
AD_Tab_ID No 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.

Columns

Active



top


Central Maintenance



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


Clientclass



top


Column


Foreign key column to AD_Column table, (column: AD_Column_ID) It has a validation "AD_Column must be in AD_Table", with the following code

AD_Column.AD_Table_ID=@AD_Table_ID@

top


Created By


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

top


Creation Date



top


Description



top


Display Encription



top


Display Field Only



top


Display Logic



top


Display Logic evaluated in the Server



top


Display on Same Line



top


Displayed



top


Displayed Length



top


Displaylogicgrid



top


EM_OBUIAPP_ShowSummary



top


EM_Obuiapp_Colspan



top


EM_Obuiapp_Default_Expression



top


EM_Obuiapp_Rowspan



top


EM_Obuiapp_Summaryfn



top


EM_Obuiapp_Validator



top


EM_Obuisel_Outfield_ID


Foreign key column to OBUISEL_Selector_Field table, (column: Obuisel_Selector_Field_ID)

top


Field



top


Field Group


Foreign key column to AD_FieldGroup table, (column: AD_FieldGroup_ID)

top


Grid Position



top


Help/Comment



top


IgnoreInWad



top


Is First Focused Field



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


OnChangeFunction



top


Organization


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

top


Property



top


Read Only



top


Record Sort No.



top


Sequence Number



top


Show in Grid View



top


Shown in Status Bar


Callout: SL_StatusFieldDefaults

This column has a callout associated. Handles setting 'Read-only' flag when 'Show is Status Bar' flag is checked. It is implemented by [1] Java Class.

top


Startinoddcolumn



top


Startnewline



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


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.model.ad.ui

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.ui/AD_Field"

This page has been accessed 5,989 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.