ERP/2.50/Developers Guide/Database Model/org.openbravo.model.ad.ui/AD Process Para
AD_Process_Para
The Report Parameter table defines any parameters required to execute a report or process.
- Name:ADProcessParameter
- Classname:ProcessParameter
This table contains the following columns:
Name | Nullable | Data Type | Description |
AD_Process_Para_ID | N | VARCHAR2(32) | Process Parameter |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
CreatedBy | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
Name | N | NVARCHAR2(60) | A non-unique identifier for a record/document often used as a search tool. |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
Help | Y | NVARCHAR2(2000) | A comment that adds additional information to help users work with fields. |
AD_Process_ID | N | VARCHAR2(32) | A series of actions carried out in sequential order. |
SeqNo | N | NUMBER(10, 0) | The order of records in a specified document. |
AD_Reference_ID | N | VARCHAR2(32) | The data type of this field. |
AD_Reference_Value_ID | Y | VARCHAR2(32) | The exact reference specification for a list or a table. |
AD_Val_Rule_ID | Y | VARCHAR2(32) | A validation rule that defines how an entry is determined to be valid or invalid. |
ColumnName | N | VARCHAR2(40) | The name of a column within the database. |
IsCentrallyMaintained | N | CHAR(1) | A flag indicating that this label is managed in a central repository. |
FieldLength | N | NUMBER(10, 0) | An indication of the column length as defined in the database. |
IsMandatory | N | CHAR(1) | An indication noting that completing in a field is required to proceed. |
IsRange | N | CHAR(1) | The parameter is a range of values |
DefaultValue | Y | NVARCHAR2(1000) | The first non-null value in a set of values. It is used as a default value for a field when creating a record. |
DefaultValue2 | Y | NVARCHAR2(60) | Default value hierarchy, separated by ; |
VFormat | Y | NVARCHAR2(20) | x not implemented |
ValueMin | Y | NVARCHAR2(20) | The lowest possible value an object can take. |
ValueMax | Y | NVARCHAR2(20) | The highest possible value an item can have. |
AD_Element_ID | Y | VARCHAR2(32) | An element that consolidates help, descriptions and terms for a database column and allows for a central maintenance. |
Other Info
Check constraints
These are the check constraints for this table:
- AD_PROCESS_PARA_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- AD_PROCESS_PARA_ISCENTRALL_CHK: ISCENTRALLYMAINTAINED IN ('Y', 'N')
- AD_PROCESS_PARA_ISMANDATOR_CHK: ISMANDATORY IN ('Y', 'N')
- AD_PROCESS_PARA_ISRANGE_CHK: ISRANGE IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Non Unique
- AD_PROCESS_PARA_PROCESS
Unique
- AD_PROCESS_PARA_KEY
Columns
Process Parameter
Process Parameter identifies the parameters of a process or report.
- Physical column name: AD_Process_Para_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_Org_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
Active
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Name
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.
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: String
Help/Comment
The Help field contains a hint, comment or help about the use of this item.
- Physical column name: Help
- Property Name: helpComment
- Reference: Text
Process
- Physical column name: AD_Process_ID
- Property Name: process
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_Process table, (column: AD_Process_ID)
Sequence Number
The Sequence indicates the order of records
- Physical column name: SeqNo
- Property Name: sequenceNumber
- Reference: Integer
- Default value: @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Process_Para WHERE AD_Process_ID=@AD_Process_ID@
Reference
- Physical column name: AD_Reference_ID
- Property Name: reference
- Reference: Table
Foreign key column to AD_Reference table, (column: AD_Reference_ID)
Reference Table AD_Reference Data Types With the following where clause:
AD_Reference.IsBaseReference='Y'
Reference Search Key
- Physical column name: AD_Reference_Value_ID
- Property Name: referenceSearchKey
- Reference: Table
Foreign key column to AD_Reference table, (column: AD_Reference_ID)
Reference Table AD_Reference Subreferences : (not DataType and Independent). With the following where clause:
AD_Reference.IsBaseReference = 'N'
Validation Rule AD_Reference Subreference: Subreference validation choices. With the following code:
AD_Reference.ParentReference_ID=@AD_Reference_ID@ OR (@AD_Reference_ID@ = '28' AND AD_Reference.ParentReference_ID='17')
Validation
- Physical column name: AD_Val_Rule_ID
- Property Name: validation
- Reference: TableDir
Foreign key column to AD_Val_Rule table, (column: AD_Val_Rule_ID)
DB Column Name
The Column Name indicates the name of a column on a table as defined in the database.
- Physical column name: ColumnName
- Property Name: dBColumnName
- Reference: String
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Central Maintenance
The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.
- Physical column name: IsCentrallyMaintained
- Property Name: centralMaintenance
- Reference: YesNo
- Default value: Y
Length
The Length indicates the length of a column as defined in the database.
- Physical column name: FieldLength
- Property Name: length
- Reference: Integer
Mandatory
The Mandatory checkbox indicates if the field is required for a record to be save to the database.
- Physical column name: IsMandatory
- Property Name: mandatory
- Reference: YesNo
Range
The Range checkbox indicates that this parameter is a range of values.
- Physical column name: IsRange
- Property Name: range
- Reference: YesNo
Default Value
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.
- Physical column name: DefaultValue
- Property Name: defaultValue
- Reference: Memo
Default Logic 2
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.
- Physical column name: DefaultValue2
- Property Name: defaultLogic2
- Reference: String
Value Format
Value Format is the format the value will be displayed with.
- Physical column name: VFormat
- Property Name: valueFormat
- Reference: String
Min. Value
The Minimum Value indicates the lowest allowable value for a field.
- Physical column name: ValueMin
- Property Name: minValue
- Reference: String
Max. Value
The Maximum Value indicates the highest allowable value for a field
- Physical column name: ValueMax
- Property Name: maxValue
- Reference: String
Application Element
- Physical column name: AD_Element_ID
- Property Name: applicationElement
- Reference: TableDir
Foreign key column to AD_Element table, (column: AD_Element_ID)
Related tables
Tables that link this table: