ERP/2.50/Developers Guide/Database Model/org.openbravo.model.ad.ui/AD Process
AD_Process
The Report and Process Tab defines each report and process run in the system.
- Name:ADProcess
- Classname:Process
This table contains the following columns:
Name | Nullable | Data Type | Description |
AD_Process_ID | N | VARCHAR2(32) | A series of actions carried out in sequential order. |
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 |
Value | N | NVARCHAR2(40) | A fast method for finding a particular record. |
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. |
AccessLevel | N | VARCHAR2(60) | Indicates what type of data (in terms of AD_CLIENT and AD_ORG data columns) can be entered or viewed. |
IsUserStartable | Y | CHAR(1) | Determines a process can be initiated by the user |
ProcedureName | Y | NVARCHAR2(60) | Name of the Database Procedure |
IsReport | N | CHAR(1) | An indication whether something is a document, or a report which summarizes information. |
IsDirectPrint | Y | CHAR(1) | Print without dialog |
Classname | Y | NVARCHAR2(200) | x not implemented |
IsBackground | N | CHAR(1) | Is background process |
IsJasper | Y | CHAR(1) | null |
Jrname | Y | NVARCHAR2(256) | null |
Service_Type | Y | VARCHAR2(60) | Indicates the type of the external service |
Isexternalservice | Y | CHAR(1) | Sets the process as a external service that is loadable from the application menu. |
Service_Source | Y | NVARCHAR2(2000) | Indicates where is located the external service. It can be an URL or a path. |
AD_Module_ID | N | VARCHAR2(32) | Module |
UIPattern | N | VARCHAR2(60) | Defines the UI Pattern |
Other Info
Check constraints
These are the check constraints for this table:
- AD_PROCESS_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- AD_PROCESS_ISBACKGROUND_CHK: ISBACKGROUND IN ('Y', 'N')
- AD_PROCESS_ISDIRECTPRINT_CHK: ISDIRECTPRINT IN ('Y', 'N')
- AD_PROCESS_ISEXTERNALSERVI_CHK: ISEXTERNALSERVICE IN ('Y', 'N')
- AD_PROCESS_ISREPORT_CHK: ISREPORT IN ('Y', 'N')
- AD_PROCESS_ISUSERSTARTABLE_CHK: ISUSERSTARTABLE IN ('Y', 'N')
- AD_PROCESS_UIPATTERN_CHK: UIPATTERN IN ('S', 'M')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- AD_PROCESS_KEY
Columns
Process
The Process field identifies a unique Process or Report in the system.
- Physical column name: AD_Process_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)
Search Key
A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
Usually, company's internal identifiers for various records (products, customers, etc) are stored here.
- Physical column name: Value
- Property Name: searchKey
- Reference: String
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
Data Access Level
Indicates what type of data (in terms of AD_CLIENT and AD_ORG data columns) can be entered or viewed. We can classify data in 4 major categories:
- System (AD_CLIENT_ID=0, AD_ORG_ID=0) - system data (such as metadata for window, tab and field definition)
- Organization (AD_CLIENT<>0, AD_ORG_ID<>0) - data particular to an organization (such as sales orders)
- Client/Organization (AD_CLIENT<>0, AD_ORG_ID=anything) - data particular to an organization or shared among all organizations within one client
- Client (AD_CLIENT<>0, AD_ORG_ID=0) - data that is specific to a client but can be used by all organizations within that client
or All (AD_CLIENT=anything, AD_ORG_ID=anything)
- Physical column name: AccessLevel
- Property Name: dataAccessLevel
- Reference: List
List values: AD_Table Access Levels
The allowed values for this list are:
- 1 (Organization)
- 3 (Client/Organization)
- 4 (System only)
- 6 (System/Client)
- 7 (All)
User can start process
The User can start Process checkbox indicates that this process can be initiated by the user (as opposed to system initiated)
- Physical column name: IsUserStartable
- Property Name: userCanStartProcess
- Reference: YesNo
Procedure
The Procedure indicates the name of the database procedure called by this report or process.
- Physical column name: ProcedureName
- Property Name: procedure
- Reference: String
Report
The Report checkbox indicates that this record is a report as opposed to a process
- Physical column name: IsReport
- Property Name: report
- Reference: YesNo
Direct print
The Direct Print checkbox indicates that the report will print without displaying the print dialog box.
- Physical column name: IsDirectPrint
- Property Name: directPrint
- Reference: YesNo
Java Class Name
The classname is used when generating a representation of the table in java (the entity or business object). The classname is the simplename of the class (so without the package name). Often the AD_Table.name can be used here. The combination of classname and package needs to be unique.
- Physical column name: Classname
- Property Name: javaClassName
- Reference: String
Background
This identifies a background process that will be run without any user interaction and needs to be scheduled properly before it will be run using the "Process Scheduling" window.
- Physical column name: IsBackground
- Property Name: background
- Reference: YesNo
- Default value: N
Jasper Report
Defines that the report is a jasper report.
- Physical column name: IsJasper
- Property Name: jasperReport
- Reference: YesNo
- Default value: N
JR Template name
Defines the name (including the extension) of the main tamplate (jrxml file) of the Jasper Report.
- Physical column name: Jrname
- Property Name: jRTemplateName
- Reference: Text
Service Type
Indicates the type of the external service
- Physical column name: Service_Type
- Property Name: serviceType
- Reference: List
List values: External Services
The allowed values for this list are:
- PS (Pentaho solution)
External Service
Sets the process as a external service that is loadable from the application menu.
- Physical column name: Isexternalservice
- Property Name: externalService
- Reference: YesNo
- Default value: N
Service Source
Indicates where is located the external service. It can be an URL or a path.
- Physical column name: Service_Source
- Property Name: serviceSource
- Reference: Text
Module
- Physical column name: AD_Module_ID
- Property Name: module
- Reference: TableDir
- Default value: @SQL=SELECT MAX(AD_MODULE_ID) FROM AD_MODULE WHERE ISDEFAULT='Y'
Foreign key column to AD_Module table, (column: AD_Module_ID)
Validation Rule Ad_Module_ID IsInDevelopment: AD_Module_ID IsInDevelopment. With the following code:
IsInDevelopment = 'Y' AND type != 'T'
UI Pattern
Defines the UI Pattern that the object implements.
- Physical column name: UIPattern
- Property Name: uIPattern
- Reference: List
- Default value: S
List values: AD_Process UIPattern
The allowed values for this list are:
- M (Manual)
- S (Standard)
Related tables
Tables that link this table:
- ADColumn.Process
- ADMenu.Process
- ADModelImplementation.Process
- ADProcessAccess.Process
- ADProcessInstance.Process
- ADProcessParameter.Process
- ADProcessScheduling.Process
- ADProcessTrl.Process
- ADTab.Process
- ADWFNode.Process
- FinancialMgmtDimension.Process
- ProcessExecution.Process
- ProcessRequest.Process