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


Contents

AD_Column

This table contains the following columns:

Name Nullable Data Type Description


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.
IsSessionAttr Yes CHAR (1) Checking this field the data for this column will be stored as session attribute so its content will be accessible from other tab.
IsSelectionColumn No CHAR (1)

If selected, this column will be used in the Search Window as an available filter criteria.

ReadOnlyLogic Yes NVARCHAR (2000) Logic to determine if field is read only (applies only when field is read-write)
ColumnName No VARCHAR (40) The Column Name indicates the name of a column on a table as defined in the database.
IsDesencryptable Yes CHAR (1) This option is deprecated. Instead one of the new references "Password (decryptable)" or "Password (not-decryptable)" should be used instead.
AD_Callout_ID Yes VARCHAR (32) The callout that will be fired when the content of a is modified.
Callout Yes NVARCHAR (60) Function Calls separated by semicolons; SE_/SL_/UE_/UL_ - 1st: System/User; 2nd: Enter/Leave; 3rd: _ Underscore, - then Function Name
Developmentstatus Yes VARCHAR (60) Development Status defines the status of a table or a column. Ready means that this object is in use, Not Implemented Yet indicates that currently it is not in use but it is planned to be implemented and Deprecated are the objects that are going to be removed from the application in future versions.
AD_Module_ID No VARCHAR (32) Indicates the module the element forms part of.
Position Yes DECIMAL Determines the physical column position in database. It is a mandatory field which value is unique for all the columns within the same table.
IsTransient No CHAR (1) Mark if a column is transient and will be ignored when comparing data
isTransientCondition Yes VARCHAR (2000) Java expression that will be evaluated and if the result is false, the column will be marked as transient
Isautosave No CHAR (1) If the value is 'Y' the autosave flag will be put in the form and the Autosave process will be triggered
ValidateOnNew No CHAR (1) Indicates whether validations and callouts are executed when a new record is created. In general is should be set to Y. It makes sense to disable only in case there are callouts or validations associated to this column and it is known that when a new record is created they do not change any value; in this case this check allows to bypass their execution improving performance.
IsExcludeAudit No CHAR (1) If the value is 'Y' ,then this column is excluded from audit.
Imagesizevaluesaction No VARCHAR (60) Action or restriction that will be performed in the uploaded image size using "Image Width" and "Image Height" values.
Imagewidth Yes DECIMAL (10,0) Width used in the "Image Size Values Action" field. If it is empty, it will not be taked into account.
Imageheight Yes DECIMAL (10,0) Height used in the "Image Size Values Action" field. If it is empty, it will not be taked into account.
EM_OBUIAPP_Process_ID Yes VARCHAR (32) Process to be executed by the button. There are 2 kinds of processes:
  • "Process": Implements the 2.50 style processes with a Servlet.
  • "Process Definition": Implements 3.0 processes with a pure SmartClient UI.
IsUsedSequence No CHAR (1) Column which DB column name is "Value", can use automatic sequence numbers, to do so this check needs to be marked. When a "Value" column uses automatic sequence works in a similar way document number columns work: when user creates a new record the default value is based in the next available sequence number (based on the sequence for the table).
Sqllogic Yes VARCHAR (2000) This field is used to define a computed column. A computed column is a column of a table which is computed using a sql expression and which does not exist explicitly in the database schema. More information can be found at http://wiki.openbravo.com/wiki/How_to_create_a_Computed_Column
Entity_Alias Yes VARCHAR (2000) In case that the the table has an alias in the HQL it is mandatory to set it on this field. This alias is used to add some mandatory filters on the Where clause replacing the @additional_filters@ string. Some examples of added filters are: client, organization and active flag.
AllowSorting No CHAR (1) If checked, the column will be sortable. By default every column is sortable. If it is unchecked, the column will not be sortable.
AllowFiltering No CHAR (1) If checked, the column will be filterable. By default every column is filterable. If it is unchecked, the column will not be filterable.
Allowed_Cross_Org_Link No CHAR (1) By default references to other objects are only allowed in case the referenced object's Organization is in the referencing object's Organization's natural tree than the object.

When this flag is enabled, this default behavior can be overridden allowing to reference objects outside current's natural tree. Note this does not change the objects that can be referred from GUI, this constraint can only be programatically bypassed.

AD_Element_ID Yes VARCHAR (32) The System Element allows for the central maintenance of help, descriptions and terminology for a database column.
VFormat Yes NVARCHAR (60) Value Format is the format the value will be displayed with.
FieldLength No DECIMAL (10,0) The Length indicates the length of a column as defined in the database.
AD_Column_ID No VARCHAR (32) Link to the database column of the table
AD_Val_Rule_ID Yes VARCHAR (32) The Validation Rule indicates a unique validation rule. These rules define how an entry is determined to valid or invalid.
Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
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.

CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.
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_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
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.
AD_Reference_ID No VARCHAR (32) The Reference indicates the type of reference field
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
IsEncrypted No CHAR (1) This option is deprecated. One of the new references "Password (decryptable)" or "Password (not-decryptable)" should be used instead.
SeqNo Yes DECIMAL (10,0) The Sequence indicates the order of records
DefaultValue Yes NVARCHAR (2000) The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. 'Text' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.
IsSecondaryKey Yes CHAR (1) Is secondary key
IsIdentifier No CHAR (1) The Identifier checkbox indicates that this column is part of the identifier or key for this table
IsTranslated No CHAR (1) The Translated checkbox indicates if this column is translated.
IsKey No CHAR (1) The key column must also be display sequence 0 in the field definition and may be hidden.
IsMandatory No CHAR (1) The Mandatory checkbox indicates if the field is required for a record to be save to the database.
IsParent No CHAR (1) The Parent checkbox indicates if this column is a link to the parent table.
ValueMax Yes NVARCHAR (20) The Maximum Value indicates the highest allowable value for a field
ValueMin Yes NVARCHAR (20) The Minimum Value indicates the lowest allowable value for a field.
AD_Process_ID Yes VARCHAR (32) The Process field identifies a unique Process or Report in the system.
IsUpdateable No CHAR (1) The Updateable checkbox indicates if a field can be updated by the user.
AD_Table_ID No VARCHAR (32) The Table indicates the table in which a field or fields reside.
Help Yes NVARCHAR (2000) The Help field contains a hint, comment or help about the use of this item.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
Description Yes NVARCHAR (255) A description is limited to 255 characters.

Columns

Name



top


Stored in Session



top


Filter Column



top


Read Only Logic



top


DB Column Name


top


De-encryptable



top


Callout


Foreign key column to AD_Callout table, (column: AD_Callout_ID)

top


Callout Function



top


Development Status


List values: Development Status

The allowed values for this list are:

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


Position



top


Transient



top


Transient Condition



top


Isautosave



top


Validate on New



top


Exclude Audit


Callout: SL_TableAudit

This column has a callout associated.

It is implemented by [1] Java Class.

top


Image Size Values Action


List values: Image Sizes Value Action

The allowed values for this list are:

top


Image Width



top


Image Height



top


EM_OBUIAPP_Process_ID


Foreign key column to OBUIAPP_Process table, (column: Obuiapp_Process_ID)

top


Use Automatic Sequence



top


Sqllogic



top


Entity Alias



top


AllowSorting



top


AllowFiltering



top


Allowed Cross Organization Reference



top


Application Element


Foreign key column to AD_Element table, (column: AD_Element_ID)

top


Value Format



top


Length



top


Column



top


Validation


Foreign key column to AD_Val_Rule table, (column: AD_Val_Rule_ID) It has a validation "Validation in Columns", with the following code

type in ('S')

top


Creation Date



top


Active



top


Created By


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

top


Organization


Foreign key column to AD_Org table, (column: AD_Org_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


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


Reference


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

top


Updated By


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

top


Display Encription



top


Sequence Number



top


Default Value



top


Secondary Key



top


Identifier



top


Translation



top


Key Column


Callout: SL_Column

This column has a callout associated.

It is implemented by [2] Java Class.

top


Mandatory



top


Link to Parent Column



top


Max. Value



top


Min. Value



top


Process


Foreign key column to AD_Process table, (column: AD_Process_ID)

top


Updatable



top


Table


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

top


Help/Comment



top


Updated



top


Description



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.datamodel

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

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