ERP/2.50/Developers Guide/Database Model/org.openbravo.model.project/C ProjectPhase
C_ProjectPhase
Actual Phase of the Project with Status information - generated from Phase of Project Type.
- Name:ProjectPhase
- Classname:ProjectPhase
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_Project_ID | N | VARCHAR2(32) | Identifier of a project defined within the Project & Service Management module. |
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 |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
StartDate | Y | DATE | A parameter stating when a specified request will begin. |
EndDate | Y | DATE | A parameter stating when a specified request will end. |
IsComplete | N | CHAR(1) | Phase is complete |
M_Product_ID | Y | VARCHAR2(32) | An item produced by a process. |
PriceActual | Y | NUMBER | The price that will be paid for a specified item. |
GenerateOrder | Y | CHAR(1) | Generate Order from Project Phase |
C_Order_ID | Y | VARCHAR2(32) | A unique and often automatically generated identifier for a sales order. |
C_Phase_ID | Y | VARCHAR2(32) | One section or part of a project which is potentially made up of one or many tasks. |
C_ProjectPhase_ID | N | VARCHAR2(32) | A defined section of a project. |
Help | Y | NVARCHAR2(2000) | A comment that adds additional information to help users work with fields. |
Name | N | NVARCHAR2(60) | A non-unique identifier for a record/document often used as a search tool. |
Qty | Y | NUMBER | The number of a certain item. |
SeqNo | N | NUMBER(10, 0) | The order of records in a specified document. |
CommittedAmt | Y | NUMBER | The maximum legal monetary price a project may be billed for. |
IsCommitCeiling | N | CHAR(1) | An indication that the highest possible contract amount and quantity are being charged (may depend on government regulations. |
Datecontract | Y | DATE | The planned end data is when a contract is registered into the application. |
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
- C_PROJECTPHASE_KEY
Columns
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to C_Project table, (column: C_Project_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)
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)
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: Text
Starting Date
A parameter stating when a specified request will begin.
- Physical column name: StartDate
- Property Name: startingDate
- Reference: Date
Ending Date
The End Date indicates the last date in this range.
- Physical column name: EndDate
- Property Name: endingDate
- Reference: Date
Phase Complete
Indicates that this phase is complete
- Physical column name: IsComplete
- Property Name: complete
- Reference: YesNo
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
Foreign key column to M_Product table, (column: M_Product_ID)
Callout: SE_ProjectLine_Value
This element is linked to a callout.
It is implemented by org.openbravo.erpCommon.ad_callouts.SE_ProjectLine_Value Java class.
Unit Price
The actual price indicates the price for a product in source currency.
- Physical column name: PriceActual
- Property Name: unitPrice
- Reference: Price
Create Sales Order from Project Phase
The Generate Order process will generate a new Order document based on the project phase or tasks. A price list and warehouse/service point must be defined on the project. If a product is defined on phase level, the Phase information is used as the basis
- Physical column name: GenerateOrder
- Property Name: generateOrder
- Reference: Button
Sales Order
- Physical column name: C_Order_ID
- Property Name: salesOrder
- Reference: Search
Foreign key column to C_Order table, (column: C_Order_ID)
Standard Phase
- Physical column name: C_Phase_ID
- Property Name: standardPhase
- Reference: TableDir
Foreign key column to C_Phase table, (column: C_Phase_ID)
Project Phase
Identifies a phase for a particular project.
- Physical column name: C_ProjectPhase_ID
- Property Name: id
- Reference: ID
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
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
Quantity
The Quantity indicates the number of a specific product or item for this document.
- Physical column name: Qty
- Property Name: quantity
- Reference: Quantity
- Default value: 1
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 C_ProjectPhase WHERE C_Project_ID=@C_Project_ID@
- This column is part of the table's identifier
Contract Amount
The commitment amount is independent from the planned amount. You would use the planned amount for your realistic estimation, which might be higher or lower than the commitment amount.
- Physical column name: CommittedAmt
- Property Name: contractAmount
- Reference: Amount
Price Ceiling
The commitment amount and quantity is the maximum amount and quantity to be charged. Ignored, if the amount or quantity is zero.
- Physical column name: IsCommitCeiling
- Property Name: priceCeiling
- Reference: YesNo
Contract Date
The planned end date is used to determine when the document becomes effective. This is usually the contract date. The planned end date is used in reports and report parameters.
- Physical column name: Datecontract
- Property Name: contractDate
- Reference: Date
Related tables
Tables that link this table:
- Project.Project Phase
- ProjectTask.Project Phase
- TimeAndExpenseSheetLine.Project Phase
- TimeAndExpenseSheetLineV.Project Phase