ERP/3.0/Developers Guide/Database Model/org.openbravo.model.project/C Project
C_Project
- Name:C_Project
- Classname:Project
This table contains the following columns:
Name | Nullable | Data Type | Description
|
AccountNo | Yes | NVARCHAR (20) | The Account Number indicates the Number assigned to this account |
IsActive | No | CHAR (1) | 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. |
C_BPartner_ID | Yes | VARCHAR (32) | A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these. |
ChangeProjectStatus | Yes | VARCHAR (60) | This process changes the status of this projecto. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Note | Yes | NVARCHAR (2000) | The Note field allows for optional entry of user defined information regarding this record |
CommittedAmt | No | DECIMAL | 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. |
DateContract | Yes | TIMESTAMP (7) | 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. |
CommittedQty | No | DECIMAL | 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. |
CopyFrom | Yes | CHAR (1) | Copy lines (products) from another document of the same type. |
Createtemppricelist | No | CHAR (1) | This option permits to indicate if a temporary price list will be created for the current project when changing its status to 'Order'. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
C_Currency_ID | No | VARCHAR (32) | Indicates the currency to be used when processing this document. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
DateFinish | Yes | TIMESTAMP (7) | The real end date is used to indicate when the project is expected to be completed or has been completed. |
Expmargin | Yes | DECIMAL | Expected margin for expenses. |
PaymentRule | Yes | VARCHAR (60) | Form of Payment indicates the method of payment used for this transaction (eg. cash, wire transfer, etc.) |
GenerateOrder | Yes | CHAR (1) | This process lets you to generate a purchase order to this project. |
GenerateTo | Yes | CHAR (1) | A button that creates documents |
Publicprivate | Yes | VARCHAR (60) | A public o private enterprise. This are the most tipical intiatives |
BillTo_ID | Yes | VARCHAR (32) | An indication of the address to use in the invoice. |
InvoicedAmt | No | DECIMAL | The amount invoiced |
InvoicedQty | No | DECIMAL | The Quantity Invoiced |
Invoice_ToProject | Yes | CHAR (1) | This option indicates if the invoices has been sent to the winner are "Origen invoices" |
LastPlannedProposalDate | Yes | TIMESTAMP (7) | Last day of following up the budget for the project |
IsCommitment | No | CHAR (1) | Commitment indicates if the document is legally binding. |
C_Location_ID | Yes | VARCHAR (32) | The Location / Address field defines the location of an entity. |
Name | No | NVARCHAR (60) | 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. |
Document_Copies | Yes | DECIMAL | Number of copies |
POReference | Yes | NVARCHAR (20) | This can be used to input a reference for this specific transaction. For example, a Purchase Order number can be input on a Sales Order for easier reference. |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
Servoutcost | Yes | DECIMAL | Expected cost of services outsourced. The real number will originate from all expense sheets (lines marked as Time Sheet) related to this project. |
C_BPartner_Location_ID | Yes | VARCHAR (32) | The Partner address indicates the location of a Business Partner |
FIN_Paymentmethod_ID | Yes | VARCHAR (32) | |
C_PaymentTerm_ID | Yes | VARCHAR (32) | Payment Terms identify the method and timing of payment for this transaction. |
Responsible_ID | Yes | VARCHAR (32) | An employee that is responsible for the project. |
Projectphase | Yes | VARCHAR (60) | Different phases for a project |
PlannedAmt | No | DECIMAL | The Planned Amount indicates the anticipated amount for this project or project line. |
Expexpenses | Yes | DECIMAL | Expected expenses related to this project. Real number will originate from lines of the expense sheets, marked with Time Sheet=N. |
PlannedMarginAmt | No | DECIMAL | The Planned Margin Amount indicates the anticipated margin amount for this project or project line. |
PlannedQty | No | DECIMAL | The Planned Quantity indicates the anticipated quantity for this project or project line |
PlannedPOAmt | Yes | DECIMAL | Planned amount for the purchase order |
IsCommitCeiling | No | CHAR (1) | The commitment amount and quantity is the maximum amount and quantity to be charged. Ignored, if the amount or quantity is zero. |
M_PriceList_ID | Yes | VARCHAR (32) |
Price Lists are used to determine the pricing, margin and cost of items purchased or sold. |
M_PriceList_Version_ID | Yes | VARCHAR (32) | Each Price List can have multiple versions. The most common use is to indicate the dates that a Price List is valid for. |
Processing | Yes | CHAR (1) | When this field is set as 'Y' a process is being performed on this record. |
Processed | No | CHAR (1) | The Processed checkbox indicates that a document has been processed. |
C_Project_ID | No | VARCHAR (32) | Identifier of a project defined within the Project & Service Management module. |
ProjectBalanceAmt | No | DECIMAL | The project balance is the sum of all invoices and payments |
ProjectCategory | Yes | VARCHAR (60) | The Project Category determines the behavior of the project:General - no special accounting, e.g. for Presales or general trackingService - no special accounting, e.g. for Service/Charge projectsWork Order - creates Project/Job WIP transactions - abili |
C_ProjectPhase_ID | Yes | VARCHAR (32) | Identifies a phase for a particular project. |
Projectstatus | No | VARCHAR (60) | Indicates the current status of the project. There are normally three:
Open: The budget is sent. The project has not been won yet. Order: The project has been won by a partner we have sent a budget. Order closed: All the products agreed have been delivered. |
C_ProjectType_ID | Yes | VARCHAR (32) | Project Type is a template of a common project. Standard phases and tasks can be entered into this template and then quickly reused on new projects. |
Expreinvoicing | Yes | DECIMAL | Amount of expenses we plan to invoice back to the client. Real number will originate from sales invoices for this particular client and project that include products of type "expense" (such as telephone, electricity, etc) |
C_Campaign_ID | Yes | VARCHAR (32) | The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign. |
SalesRep_ID | Yes | VARCHAR (32) | Indicates the sales representative responsible for the transaction that the document specifies . A valid sales representative is a business partner marked as an employee and a sales representative. |
Value | No | NVARCHAR (40) | 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. |
Servcost | Yes | DECIMAL | Expected total cost of services provided. The real number will originate from all expense sheets (lines marked as Time Sheet) related to this project. |
Servmargin | Yes | DECIMAL | Expected service margin. Real number will be calculated from actual service revenue and costs. |
Servrevenue | Yes | DECIMAL | Expected revenue of services provided to the client. Real numbers will originate from invoices of services (products of type "service") sent out to the client. |
Servsercost | Yes | DECIMAL | Expected cost of services provided. The real number will originate from all expense sheets (lines marked as Time Sheet) related to this project. |
Setprojecttype | Yes | CHAR (1) | A process that copies the selected project type's (template's) phases and tasks into the current project. |
C_Phase_ID | Yes | VARCHAR (32) | Phase of the project with standard performance information with standard work |
Startdate | Yes | TIMESTAMP (7) | A parameter stating when a specified request will begin. |
IsSummary | No | CHAR (1) | A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
AD_User_ID | Yes | VARCHAR (32) | The User identifies a unique user in the system. This could be an internal user or a business partner contact |
M_Warehouse_ID | Yes | VARCHAR (32) | The Warehouse identifies a unique Warehouse where products are stored or Services are provided. |
Projectkind | Yes | VARCHAR (60) | Indicates the kind of work |
Columns
Account No.
- Physical column name: AccountNo
- Property Name: accountNo
- Reference: String
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Callout: SE_Project_BPartner
This column has a callout associated.
It is implemented by [1] Java Class.
Change Project Status
- Physical column name: ChangeProjectStatus
- Property Name: changeProjectStatus
- Reference: List
- Default value: N
List values: ProjectStatus
The allowed values for this list are:
- OP (Open)
- OU (Out (Lost))
- NF (No following up)
- OR (Order)
- OC (Order closed): Order closed
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Comments
- Physical column name: Note
- Property Name: comments
- Reference: Text
Contract Amount
- Physical column name: CommittedAmt
- Property Name: contractAmount
- Reference: Amount
- Default value: 0
Contract Date
- Physical column name: DateContract
- Property Name: contractDate
- Reference: Date
Contract Quantity
- Physical column name: CommittedQty
- Property Name: contractQuantity
- Reference: Quantity
- Default value: 0
Copy from
- Physical column name: CopyFrom
- Property Name: copyFrom
- Reference: Button
Create Temporary Price List
- Physical column name: Createtemppricelist
- Property Name: createTemporaryPriceList
- Reference: YesNo
- Default value: Y
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Ending Date
- Physical column name: DateFinish
- Property Name: endingDate
- Reference: Date
Expenses Margin %
- Physical column name: Expmargin
- Property Name: expensesMargin
- Reference: Number
Callout: SL_Project_Margin
This column has a callout associated.
It is implemented by [2] Java Class.
Form of Payment
- Physical column name: PaymentRule
- Property Name: formOfPayment
- Reference: List
List values: All_Payment Rule
The allowed values for this list are:
- B (Cash): Cash payments that generate an automatic accounting line.
- K (Credit Card)
- T (Transfer (ACH))
- P (On Credit): Cash payments that do not generate an automatic accounting line. Its is not an automatic cash entry.
- 1 (Wire Transfer): Wire Transfer
- 2 (Check): Check
- 3 (Promissory Note): Promissory Note
- C (Cash on Delivery): Cash on Delivery
- 4 (Money Order)
- 5 (Bank Deposit)
- R (Bank Remittance)
- W (Withholding)
Generate Order
- Physical column name: GenerateOrder
- Property Name: generateOrder
- Reference: Button
- Default value: N
Generate To
- Physical column name: GenerateTo
- Property Name: generateTo
- Reference: Button
Initiative Type
- Physical column name: Publicprivate
- Property Name: initiativeType
- Reference: List
List values: PublicPrivate
The allowed values for this list are:
- PU (Public)
- PR (Private)
Invoice Address
- Physical column name: BillTo_ID
- Property Name: invoiceAddress
- Reference: Table
Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID)
It has a validation "C_BPartner Location - Bill To", with the following code
C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@ AND C_BPartner_Location.IsBillTo='Y' AND C_BPartner_Location.IsActive='Y'
Invoice Amount
- Physical column name: InvoicedAmt
- Property Name: invoiceAmount
- Reference: Amount
- Default value: 0
Invoice Quantity
- Physical column name: InvoicedQty
- Property Name: invoiceQuantity
- Reference: Quantity
- Default value: 0
Invoice to Project
- Physical column name: Invoice_ToProject
- Property Name: invoiceToProject
- Reference: YesNo
- Default value: N
Last planned proposal date
- Physical column name: LastPlannedProposalDate
- Property Name: lastPlannedProposalDate
- Reference: Date
Legally Binding Contract
- Physical column name: IsCommitment
- Property Name: legallyBindingContract
- Reference: YesNo
- Default value: Y
Location / Address
- Physical column name: C_Location_ID
- Property Name: locationAddress
- Reference: Search
Foreign key column to C_Location table, (column: C_Location_ID)
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Number of Copies
- Physical column name: Document_Copies
- Property Name: numberOfCopies
- Reference: Integer
Order Reference
- Physical column name: POReference
- Property Name: orderReference
- Reference: String
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
It has a validation "AD_Org Trx Security validation", with the following code
AD_Org.AD_Org_ID<> '0' AND AD_Org.IsReady='Y'
Callout: SL_Project_Type
This column has a callout associated.
It is implemented by [3] Java Class.
Outsourced Cost
- Physical column name: Servoutcost
- Property Name: outsourcedCost
- Reference: Number
Callout: SL_Project_Service
This column has a callout associated.
It is implemented by [4] Java Class.
Partner Address
- Physical column name: C_BPartner_Location_ID
- Property Name: partnerAddress
- Reference: TableDir
Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID)
It has a validation "C_BPartner Location - Ship To", with the following code
C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@ AND C_BPartner_Location.IsShipTo='Y' AND C_BPartner_Location.IsActive='Y'
Payment Method
- Physical column name: FIN_Paymentmethod_ID
- Property Name: paymentMethod
- Reference: TableDir
Foreign key column to FIN_PaymentMethod table, (column: Fin_Paymentmethod_ID)
It has a validation "FIN_PaymentMethodsWithAccount", with the following code
EXISTS (SELECT 1 FROM FIN_FinAcc_PaymentMethod fapm WHERE FIN_PaymentMethod.FIN_PaymentMethod_ID=fapm.FIN_PaymentMethod_ID)
Payment Terms
- Physical column name: C_PaymentTerm_ID
- Property Name: paymentTerms
- Reference: TableDir
Foreign key column to C_PaymentTerm table, (column: C_PaymentTerm_ID)
Person in Charge
- Physical column name: Responsible_ID
- Property Name: personInCharge
- Reference: Table
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Phase
- Physical column name: Projectphase
- Property Name: phase
- Reference: List
List values: Projectphase
The allowed values for this list are:
- PR (Project)
- TE (Tender)
- AC (Awarded a contract to)
Planned Amount
- Physical column name: PlannedAmt
- Property Name: plannedAmount
- Reference: Amount
- Default value: 0
Planned Expenses
- Physical column name: Expexpenses
- Property Name: plannedExpenses
- Reference: Number
Callout: SL_Project_Margin
This column has a callout associated.
It is implemented by [5] Java Class.
Planned Margin
- Physical column name: PlannedMarginAmt
- Property Name: plannedMargin
- Reference: Amount
- Default value: 0
Planned Quantity
- Physical column name: PlannedQty
- Property Name: plannedQuantity
- Reference: Quantity
- Default value: 0
Planned po Amount
- Physical column name: PlannedPOAmt
- Property Name: plannedPoAmount
- Reference: Amount
- Default value: 0
Price Ceiling
- Physical column name: IsCommitCeiling
- Property Name: priceCeiling
- Reference: YesNo
- Default value: N
Price List
- Physical column name: M_PriceList_ID
- Property Name: priceList
- Reference: TableDir
Foreign key column to M_PriceList table, (column: M_PriceList_ID)
Callout: SL_Project_PriceList
This column has a callout associated.
It is implemented by [6] Java Class.
Price List Version
- Physical column name: M_PriceList_Version_ID
- Property Name: priceListVersion
- Reference: TableDir
Foreign key column to M_PriceList_Version table, (column: M_PriceList_Version_ID)
Process Now
- Physical column name: Processing
- Property Name: processNow
- Reference: Button
Processed
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
- Default value: N
Project
- Physical column name: C_Project_ID
- Property Name: id
- Reference: ID
Project Balance
- Physical column name: ProjectBalanceAmt
- Property Name: projectBalance
- Reference: Amount
- Default value: 0
Project Category
- Physical column name: ProjectCategory
- Property Name: projectCategory
- Reference: List
- Default value: N
List values: C_ProjectType Category
The allowed values for this list are:
- N (General)
- A (Asset Project)
- W (Work Order (Job))
- S (Multiphase Project)
Project Phase
- Physical column name: C_ProjectPhase_ID
- Property Name: projectPhase
- Reference: TableDir
Foreign key column to C_ProjectPhase table, (column: C_ProjectPhase_ID)
It has a validation "C_ProjectPhase of Project", with the following code
C_ProjectPhase.C_Project_ID=@C_Project_ID@
Project Status
- Physical column name: Projectstatus
- Property Name: projectStatus
- Reference: List
List values: ProjectStatus
The allowed values for this list are:
- OP (Open)
- OU (Out (Lost))
- NF (No following up)
- OR (Order)
- OC (Order closed): Order closed
Project Type
- Physical column name: C_ProjectType_ID
- Property Name: projectType
- Reference: TableDir
Foreign key column to C_ProjectType table, (column: C_ProjectType_ID)
Reinvoiced Expenses
- Physical column name: Expreinvoicing
- Property Name: reinvoicedExpenses
- Reference: Number
Callout: SL_Project_Margin
This column has a callout associated.
It is implemented by [7] Java Class.
Sales Campaign
- Physical column name: C_Campaign_ID
- Property Name: salesCampaign
- Reference: TableDir
Foreign key column to C_Campaign table, (column: C_Campaign_ID)
Sales Representative
- Physical column name: SalesRep_ID
- Property Name: salesRepresentative
- Reference: Table
Foreign key column to AD_User table, (column: AD_User_ID)
Search Key
- Physical column name: Value
- Property Name: searchKey
- Reference: String
- This column is part of the table's identifier
Service Cost
- Physical column name: Servcost
- Property Name: serviceCost
- Reference: Number
Callout: SL_Project_Margin
This column has a callout associated.
It is implemented by [8] Java Class.
Service Margin %
- Physical column name: Servmargin
- Property Name: serviceMargin
- Reference: Number
Callout: SL_Project_Margin
This column has a callout associated.
It is implemented by [9] Java Class.
Service Revenue
- Physical column name: Servrevenue
- Property Name: serviceRevenue
- Reference: Number
Callout: SL_Project_Margin
This column has a callout associated.
It is implemented by [10] Java Class.
Services Provided Cost
- Physical column name: Servsercost
- Property Name: servicesProvidedCost
- Reference: Number
Callout: SL_Project_Service
This column has a callout associated.
It is implemented by [11] Java Class.
Set Project Type
- Physical column name: Setprojecttype
- Property Name: setProjectType
- Reference: Button
Standard Phase
- Physical column name: C_Phase_ID
- Property Name: standardPhase
- Reference: TableDir
Foreign key column to C_Phase table, (column: C_Phase_ID)
It has a validation "C_Phase of Project Type", with the following code
C_Phase.C_ProjectType_ID=@C_ProjectType_ID@
Starting Date
- Physical column name: Startdate
- Property Name: startingDate
- Reference: Date
Summary Level
- Physical column name: IsSummary
- Property Name: summaryLevel
- Reference: YesNo
- Default value: N
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
User/Contact
- Physical column name: AD_User_ID
- Property Name: userContact
- Reference: TableDir
Foreign key column to AD_User table, (column: AD_User_ID)
It has a validation "AD_User C_BPartner User/Contacts", with the following code
AD_User.C_BPartner_ID=@C_BPartner_ID@
Warehouse
- Physical column name: M_Warehouse_ID
- Property Name: warehouse
- Reference: TableDir
Foreign key column to M_Warehouse table, (column: M_Warehouse_ID)
Work Type
- Physical column name: Projectkind
- Property Name: workType
- Reference: List
List values: Projectkind
The allowed values for this list are:
- WA (Wall)
- RE (Reinforcement)
- RO (Road)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_PROJECT_VALUE Unique. Columns:
- AD_CLIENT_ID
- AD_ORG_ID
- PROJECTCATEGORY
- VALUE
Check Constraints
These are the check constraints for this table:
- C_PROJECT_GENERATETO_CHECK: GENERATETO IN ('Y', 'N')
- C_PROJECT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_PROJECT_ISCOMMITMENT_CHECK: ISCOMMITMENT IN ('Y', 'N')
- C_PROJECT_PROCESSED_CHECK: PROCESSED IN ('Y', 'N')
- C_PROJECT_TEMPPRICELIST_CHECK: CREATETEMPPRICELIST IN ('Y', 'N')
![]() | Back to org.openbravo.model.project |