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/2.50/Developers Guide/Database Model/org.openbravo.model.ad.process/AD PInstance

Contents

AD_PInstance

This table is used internally by the application. Whenever a process is called a new line is added to this table including the process identifier and the record that called the process.

This table contains the following columns:

Name Nullable Data Type Description
AD_PInstance_ID NVARCHAR2(32)Process Instance
AD_Process_ID NVARCHAR2(32)A series of actions carried out in sequential order.
Record_ID NVARCHAR2(32)An record identifier in the dictionary.
IsProcessing NCHAR(1)Processing
Created NDATEThe date that this record is completed.
AD_User_ID YVARCHAR2(32)An acquaintance to reach for information related to the business partner.
Updated YDATEx not implemented
Result YNUMBER(10, 0)x not implemented
ErrorMsg YNVARCHAR2(2000)Error Message
AD_Client_ID YVARCHAR2(32)Client for this installation.
AD_Org_ID YVARCHAR2(32)Organizational entity within client
CreatedBy YVARCHAR2(32)User who created this records
UpdatedBy NVARCHAR2(32)User who updated this records
IsActive YCHAR(1)A flag indicating whether this record is available for use or de-activated.

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

These are the indexes for this table (for each index there is a list of all the columns included within it):

Non Unique

Unique

top

Columns

Process Instance

Process Instance identifies the instance of a process. Every time a process is executed a new instance of it is created.

top

Process

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

top

Record ID

The Record ID is the internal unique identifier of a record

top

Processing

When the process is being accomplished this record has 'Y' value, otherwise it has 'N'.

top

Creation Date

The Created field indicates the date that this record was created.

top

User/Contact

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

top

Updated

The Updated field indicates the date that this record was updated.

top

Result

The Result indicates the result of any action taken on this request.

top

Error Msg

In this filed is stored the error message in case the process fails.

top

Client

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@)

top

Organization

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

top

Created By

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

top

Updated By

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

top

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.

top

Related tables

Tables that link this table:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.ad.process/AD_PInstance"

This page has been accessed 2,176 times. This page was last modified on 2 July 2011, at 20:35. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.