View source | Discuss this page | Page history | Printable version   

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


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.

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.
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.
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.
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
Is_Child_Property_In_Parent No CHAR (1) In case of one to many references (foreing keys) this flag indicates whether a property will be created in the parent (target) entity. For example in OrderLine.order property, if this field is flagged, an Order.orderLineList property would be created.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
AD_Column_ID No 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.
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.
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.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
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.
IsEncrypted No CHAR (1) This option is deprecated. One of the new references "Password (decryptable)" or "Password (not-decryptable)" should be used instead.
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.
Entity_Alias Yes VARCHAR (2000) The left part definition of a column in an HQL query.
IsExcludeAudit No CHAR (1) If the value is 'Y' ,then this column is excluded from audit.
IsSelectionColumn No CHAR (1)

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

Help Yes NVARCHAR (2000) The Help field contains a hint, comment or help about the use of this item.
IsIdentifier No CHAR (1) The Identifier checkbox indicates that this column is part of the identifier or key for this table
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.
Imagesizevaluesaction No VARCHAR (60) Action or restriction that will be performed in the uploaded image size using "Image Width" and "Image Height" values.

It does not apply to scalable vector graphics (svg).

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.
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
IsKey No CHAR (1) The key column must also be display sequence 0 in the field definition and may be hidden.
FieldLength No DECIMAL (10,0) The Length indicates the length of a column as defined in the database.
IsParent No CHAR (1) The Parent checkbox indicates if this column is a link to the parent table.
IsMandatory No CHAR (1) The Mandatory checkbox indicates if the field is required for a record to be save to the database.
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_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.
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.
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.
AD_Process_ID Yes VARCHAR (32) The Process field identifies a unique Process or Report in the system.
ReadOnlyLogic Yes NVARCHAR (2000) Logic to determine if field is read only (applies only when field is read-write)
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.
IsSecondaryKey Yes CHAR (1) Is secondary key
SeqNo Yes DECIMAL (10,0) The Sequence indicates the order of records
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
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.
AD_Table_ID No VARCHAR (32) The Table indicates the table in which a field or fields reside.
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
IsTranslated No CHAR (1) The Translated checkbox indicates if this column is translated.
IsUpdateable No CHAR (1) The Updateable checkbox indicates if a field can be updated by the user.
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.
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).
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.
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.
VFormat Yes NVARCHAR (60) Value Format is the format the value will be displayed with.

Columns

Active



top


AllowFiltering



top


AllowSorting



top


Allowed Cross Organization Reference



top


Application Element


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

top


Callout


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

top


Callout Function



top


Child Property in Parent Entity



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


Column



top


Created By


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

top


Creation Date



top


DB Column Name


top


De-encryptable



top


Default Value



top


Description



top


Development Status


List values: Development Status

The allowed values for this list are:

top


Display Encription



top


EM_OBUIAPP_Process_ID


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

top


Entity Alias



top


Exclude Audit


Callout: SL_TableAudit

This column has a callout associated.

It is implemented by [1] Java Class.

top


Filter Column



top


Help/Comment



top


Identifier



top


Image Height



top


Image Size Values Action


List values: Image Sizes Value Action

The allowed values for this list are:

top


Image Width



top


Isautosave



top


Key Column


Callout: SL_Column

This column has a callout associated.

It is implemented by [2] Java Class.

top


Length



top


Link to Parent Column



top


Mandatory



top


Max. Value



top


Min. Value



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


Organization


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

top


Position



top


Process


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

top


Read Only Logic



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


Secondary Key



top


Sequence Number



top


Sqllogic



top


Stored in Session



top


Table


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

top


Transient



top


Transient Condition



top


Translation



top


Updatable



top


Updated



top


Updated By


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

top


Use Automatic Sequence



top


Validate on New



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


Value Format



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 9,312 times. This page was last modified on 8 August 2022, at 01:52. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.