ERP 2.50:Developers Guide/Database Model/org.openbravo.model.project/C ProjectTask
C_ProjectTask
A Project Task in a Project Phase represents the actual work.
- Name:ProjectTask
- Classname:ProjectTask
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_ProjectTask_ID | N | VARCHAR2(32) | A job to be carried out during the phase of a project. |
C_Task_ID | Y | VARCHAR2(32) | Standard Project Type Task |
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 |
SeqNo | N | NUMBER(10, 0) | The order of records in a specified document. |
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. |
M_Product_ID | Y | VARCHAR2(32) | An item produced by a process. |
C_ProjectPhase_ID | N | VARCHAR2(32) | A defined section of a project. |
Qty | Y | NUMBER | The number of a certain item. |
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) | Task is complete |
PriceActual | Y | NUMBER | The price that will be paid for a specified item. |
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_PROJECTTASK_KEY
Columns
Project Task
A Project Task in a Project Phase represents the actual work.
- Physical column name: C_ProjectTask_ID
- Property Name: id
- Reference: ID
Standard Task
Standard Project Task in a Project Phase with standard effort
- Physical column name: C_Task_ID
- Property Name: standardTask
- Reference: TableDir
Foreign key column to C_Task table, (column: C_Task_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)
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_ProjectTask WHERE C_ProjectPhase_ID=@C_ProjectPhase_ID@
- This column is part of the table's identifier
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: Text
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
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.
Project Phase
- Physical column name: C_ProjectPhase_ID
- Property Name: projectPhase
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to C_ProjectPhase table, (column: C_ProjectPhase_ID)
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
Starting Date
- Physical column name: StartDate
- Property Name: startingDate
- Reference: Date
Ending Date
- Physical column name: Enddate
- Property Name: endingDate
- Reference: Date
Task Complete
- Physical column name: Iscomplete
- Property Name: complete
- Reference: YesNo
- Default value: N
Unit Price
- Physical column name: PriceActual
- Property Name: unitPrice
- Reference: Price
Contract Amount
- Physical column name: Committedamt
- Property Name: contractAmount
- Reference: Amount
Price Ceiling
- Physical column name: Iscommitceiling
- Property Name: priceCeiling
- Reference: YesNo
- Default value: N
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: