ERP 2.50:Developers Guide/Database Model/org.openbravo.model.ad.process/AD PInstance Para
AD_PInstance_Para
Process Instance Parameter contains the values of the parameters that are passed to a process instance.
- Name:ADParameter
- Classname:Parameter
This table contains the following columns:
Name | Nullable | Data Type | Description |
AD_PInstance_Para_ID | N | VARCHAR2(32) | null |
AD_PInstance_ID | N | VARCHAR2(32) | Process Instance |
SeqNo | N | VARCHAR2(32) | The order of records in a specified document. |
ParameterName | Y | NVARCHAR2(60) | Parameter Name |
P_String | Y | NVARCHAR2(60) | Parameter String |
P_String_To | Y | NVARCHAR2(60) | Parameter String To |
P_Number | Y | NUMBER | Parameter number |
P_Number_To | Y | NUMBER | Parameter number to |
P_Date | Y | DATE | Parameter Date |
P_Date_To | Y | DATE | Date passed as maximum date as parameter to a process instance. |
Info | Y | NVARCHAR2(60) | A space to write additional related information. |
Info_To | Y | NVARCHAR2(60) | The Information displays data from the source document line. |
AD_Client_ID | Y | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | Y | VARCHAR2(32) | Organizational entity within client |
Created | Y | DATE | The date that this record is completed. |
CreatedBy | Y | VARCHAR2(32) | User who created this records |
Updated | Y | DATE | x not implemented |
UpdatedBy | Y | VARCHAR2(32) | User who updated this records |
IsActive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Other Info
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- AD_PINSTANCE_PARA_KEY
- AD_PINSTANCE_PARA_PINSTANCE_UN
Columns
AD_PInstance_Para_ID
- Physical column name: AD_PInstance_Para_ID
- Property Name: id
- Reference: ID
Process Instance
- Physical column name: AD_PInstance_ID
- Property Name: processInstance
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to AD_PInstance table, (column: AD_PInstance_ID)
Sequence Number
The Sequence indicates the order of records
- Physical column name: SeqNo
- Property Name: sequenceNumber
- Reference: ID
- Default value: @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_PInstance_Para WHERE AD_PInstance_ID=@AD_PInstance_ID@
Parameter Name
Name describing the parameter.
- Physical column name: ParameterName
- Property Name: parameterName
- Reference: String
- This column is part of the table's identifier
P_String
String passed as parameter to a process instance.
- Physical column name: P_String
- Property Name: string
- Reference: String
P_String_To
String passed as maximum string range to a process instance.
- Physical column name: P_String_To
- Property Name: stringTo
- Reference: String
Process Number
Number passed as parameter to a process instance.
- Physical column name: P_Number
- Property Name: processNumber
- Reference: Number
Process Number To
Number passed as maximum range as parameter to a process instance.
- Physical column name: P_Number_To
- Property Name: processNumberTo
- Reference: Number
Process Date
Date passed as parameter to a process instance.
- Physical column name: P_Date
- Property Name: processDate
- Reference: Date
Process Date To
Date passed as maximum date as parameter to a process instance.
- Physical column name: P_Date_To
- Property Name: processDateTo
- Reference: Date
Comments
The Information displays data from the source document line.
- Physical column name: Info
- Property Name: comments
- Reference: String
Info To
The Information displays data from the source document line.
- Physical column name: Info_To
- Property Name: infoTo
- Reference: String
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)
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)
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