View source | Discuss this page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Add page
Show collection (0 pages)
Collections help


ERP/3.0/Developers Guide/Reference/Entity Model/ProjectHeaderV


To the database table (C_Project_Header_V) of this entity.

Back to the entity model.



Property Column Constraints Type Description
client AD_Client_ID Mandatory ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Mandatory Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
active IsActive Mandatory java.lang.Boolean 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.

creationDate Created Mandatory java.util.Date The Created field indicates the date that this record was created.
createdBy CreatedBy Mandatory ADUser The Created By field indicates the user who created this record.
updated Updated Mandatory java.util.Date The Updated field indicates the date that this record was updated.
updatedBy UpdatedBy Mandatory ADUser The Updated By field indicates the user who updated this record.
language AD_Language ADLanguage The Language identifies the language to use for display
id* C_Project_ID Mandatory
Max Length: 22
java.lang.String Identifier of a project defined within the Project & Service Management module.
searchKey Value Mandatory
Max Length: 40
java.lang.String 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.

projectName ProjectName Mandatory
Max Length: 60
java.lang.String Name of the Project
description Description Max Length: 255 java.lang.String A description is limited to 255 characters.
comments Note Max Length: 2000 java.lang.String The Note field allows for optional entry of user defined information regarding this record
summaryLevel IsSummary Mandatory java.lang.Boolean 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.
projectCategory ProjectCategory Max Length: 60 java.lang.String 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
orgLocation Org_Location_ID Location Organization Location/Address
taxID TaxID Mandatory
Max Length: 20
java.lang.String The Tax ID field identifies the legal Identification number of this Entity.
projectType C_ProjectType_ID ProjectType 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.
projectTypeName ProjectTypeName Max Length: 60 java.lang.String Name of the Project Type
standardPhase C_Phase_ID ProjectStandardPhase Phase of the project with standard performance information with standard work
projectPhase ProjectPhaseName Max Length: 60 java.lang.String Name of the Project Phase
salesRepresentative SalesRep_ID ADUser 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.
salesRepresentativeName SalesRep_Name Max Length: 60 java.lang.String
businessPartner C_BPartner_ID BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
bPSearchKey BPValue Max Length: 40 java.lang.String Search Key of Business Partner
bPGreeting BPGreeting Max Length: 60 java.lang.String Greeting for Business Partner
name Name Max Length: 60 java.lang.String 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.
name2 Name2 Max Length: 60 java.lang.String Additional Name
bPContactGreeting BPContactGreeting Max Length: 60 java.lang.String Greeting for Business Partner Contact
position Title Max Length: 40 java.lang.String The Title indicates the name that an entity is referred to as.
contactName ContactName Max Length: 60 java.lang.String Business Partner Contact Name
locationAddress C_Location_ID Location The Location / Address field defines the location of an entity.
referenceNo ReferenceNo Max Length: 40 java.lang.String The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.
paymentTerm PaymentTerm Max Length: 60 java.lang.String Payment Term
paymentTermNote PaymentTermNote Max Length: 2000 java.lang.String Note of a Payment Term
orderReference POReference Max Length: 20 java.lang.String 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.
currency C_Currency_ID Mandatory Currency Indicates the currency to be used when processing this document.
priceListVersion M_PriceList_Version_ID PricingPriceListVersion Each Price List can have multiple versions. The most common use is to indicate the dates that a Price List is valid for.
salesCampaign C_Campaign_ID MarketingCampaign 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.
plannedAmount PlannedAmt Mandatory java.math.BigDecimal The Planned Amount indicates the anticipated amount for this project or project line.
plannedQuantity PlannedQty Mandatory java.math.BigDecimal The Planned Quantity indicates the anticipated quantity for this project or project line
plannedMargin PlannedMarginAmt Mandatory java.math.BigDecimal The Planned Margin Amount indicates the anticipated margin amount for this project or project line.
invoiceAmount InvoicedAmt Mandatory java.math.BigDecimal The amount invoiced
invoiceQuantity InvoicedQty Mandatory java.math.BigDecimal The Quantity Invoiced
projectBalance ProjectBalanceAmt Mandatory java.math.BigDecimal The project balance is the sum of all invoices and payments
legallyBindingContract IsCommitment Mandatory java.lang.Boolean Commitment indicates if the document is legally binding.
contractAmount CommittedAmt Mandatory java.math.BigDecimal 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.
contractQuantity CommittedQty Mandatory java.math.BigDecimal 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.
contractDate DateContract java.util.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.
endingDate DateFinish java.util.Date The real end date is used to indicate when the project is expected to be completed or has been completed.
priceCeiling IsCommitCeiling Mandatory java.lang.Boolean The commitment amount and quantity is the maximum amount and quantity to be charged. Ignored, if the amount or quantity is zero.
warehouse M_Warehouse_ID Warehouse The Warehouse identifies a unique Warehouse where products are stored or Services are provided.
project# C_Project_ID Mandatory Project Identifier of a project defined within the Project & Service Management module.

Java Entity Class

 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2010 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
package org.openbravo.model.project;
import org.openbravo.base.structure.ActiveEnabled;
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.base.structure.Traceable;
import org.openbravo.model.common.businesspartner.BusinessPartner;
import org.openbravo.model.common.currency.Currency;
import org.openbravo.model.common.enterprise.Organization;
import org.openbravo.model.common.enterprise.Warehouse;
import org.openbravo.model.common.geography.Location;
import org.openbravo.model.pricing.pricelist.PriceListVersion;
import java.lang.Boolean;
import java.lang.String;
import java.math.BigDecimal;
import java.util.Date;
 * Entity class for entity ProjectHeaderV (stored in table C_Project_Header_V).
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
public class ProjectHeaderV extends BaseOBObject implements Traceable,
    ClientEnabled, OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "C_Project_Header_V";
    public static final String ProjectHeaderV = "ProjectHeaderV";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACTIVE = "active";
    public static final String PROPERTY_CREATIONDATE = "creationDate";
    public static final String PROPERTY_CREATEDBY = "createdBy";
    public static final String PROPERTY_UPDATED = "updated";
    public static final String PROPERTY_UPDATEDBY = "updatedBy";
    public static final String PROPERTY_LANGUAGE = "language";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_SEARCHKEY = "searchKey";
    public static final String PROPERTY_PROJECTNAME = "projectName";
    public static final String PROPERTY_DESCRIPTION = "description";
    public static final String PROPERTY_COMMENTS = "comments";
    public static final String PROPERTY_SUMMARYLEVEL = "summaryLevel";
    public static final String PROPERTY_PROJECTCATEGORY = "projectCategory";
    public static final String PROPERTY_ORGLOCATION = "orgLocation";
    public static final String PROPERTY_TAXID = "taxID";
    public static final String PROPERTY_PROJECTTYPE = "projectType";
    public static final String PROPERTY_PROJECTTYPENAME = "projectTypeName";
    public static final String PROPERTY_STANDARDPHASE = "standardPhase";
    public static final String PROPERTY_PROJECTPHASE = "projectPhase";
    public static final String PROPERTY_SALESREPRESENTATIVE =
    public static final String PROPERTY_SALESREPRESENTATIVENAME =
    public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
    public static final String PROPERTY_BPSEARCHKEY = "bPSearchKey";
    public static final String PROPERTY_BPGREETING = "bPGreeting";
    public static final String PROPERTY_NAME = "name";
    public static final String PROPERTY_NAME2 = "name2";
    public static final String PROPERTY_BPCONTACTGREETING = "bPContactGreeting";
    public static final String PROPERTY_POSITION = "position";
    public static final String PROPERTY_CONTACTNAME = "contactName";
    public static final String PROPERTY_LOCATIONADDRESS = "locationAddress";
    public static final String PROPERTY_REFERENCENO = "referenceNo";
    public static final String PROPERTY_PAYMENTTERM = "paymentTerm";
    public static final String PROPERTY_PAYMENTTERMNOTE = "paymentTermNote";
    public static final String PROPERTY_ORDERREFERENCE = "orderReference";
    public static final String PROPERTY_CURRENCY = "currency";
    public static final String PROPERTY_PRICELISTVERSION = "priceListVersion";
    public static final String PROPERTY_SALESCAMPAIGN = "salesCampaign";
    public static final String PROPERTY_PLANNEDAMOUNT = "plannedAmount";
    public static final String PROPERTY_PLANNEDQUANTITY = "plannedQuantity";
    public static final String PROPERTY_PLANNEDMARGIN = "plannedMargin";
    public static final String PROPERTY_INVOICEAMOUNT = "invoiceAmount";
    public static final String PROPERTY_INVOICEQUANTITY = "invoiceQuantity";
    public static final String PROPERTY_PROJECTBALANCE = "projectBalance";
    public static final String PROPERTY_LEGALLYBINDINGCONTRACT =
    public static final String PROPERTY_CONTRACTAMOUNT = "contractAmount";
    public static final String PROPERTY_CONTRACTQUANTITY = "contractQuantity";
    public static final String PROPERTY_CONTRACTDATE = "contractDate";
    public static final String PROPERTY_ENDINGDATE = "endingDate";
    public static final String PROPERTY_PRICECEILING = "priceCeiling";
    public static final String PROPERTY_WAREHOUSE = "warehouse";
    public static final String PROPERTY_PROJECT = "project";
    public ProjectHeaderV() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_SUMMARYLEVEL, false);
        setDefaultValue(PROPERTY_LEGALLYBINDINGCONTRACT, false);
        setDefaultValue(PROPERTY_PRICECEILING, false);
    public String getEntityName() {
        return ProjectHeaderV;
    public Client getClient() {
        return (Client) get(PROPERTY_CLIENT);
    public void setClient(Client client) {
        set(PROPERTY_CLIENT, client);
    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    public Boolean isActive() {
        return (Boolean) get(PROPERTY_ACTIVE);
    public void setActive(Boolean active) {
        set(PROPERTY_ACTIVE, active);
    public Date getCreationDate() {
        return (Date) get(PROPERTY_CREATIONDATE);
    public void setCreationDate(Date creationDate) {
        set(PROPERTY_CREATIONDATE, creationDate);
    public User getCreatedBy() {
        return (User) get(PROPERTY_CREATEDBY);
    public void setCreatedBy(User createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    public User getUpdatedBy() {
        return (User) get(PROPERTY_UPDATEDBY);
    public void setUpdatedBy(User updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    public Language getLanguage() {
        return (Language) get(PROPERTY_LANGUAGE);
    public void setLanguage(Language language) {
        set(PROPERTY_LANGUAGE, language);
    public String getId() {
        return (String) get(PROPERTY_ID);
    public void setId(String id) {
        set(PROPERTY_ID, id);
    public String getSearchKey() {
        return (String) get(PROPERTY_SEARCHKEY);
    public void setSearchKey(String searchKey) {
        set(PROPERTY_SEARCHKEY, searchKey);
    public String getProjectName() {
        return (String) get(PROPERTY_PROJECTNAME);
    public void setProjectName(String projectName) {
        set(PROPERTY_PROJECTNAME, projectName);
    public String getDescription() {
        return (String) get(PROPERTY_DESCRIPTION);
    public void setDescription(String description) {
        set(PROPERTY_DESCRIPTION, description);
    public String getComments() {
        return (String) get(PROPERTY_COMMENTS);
    public void setComments(String comments) {
        set(PROPERTY_COMMENTS, comments);
    public Boolean isSummaryLevel() {
        return (Boolean) get(PROPERTY_SUMMARYLEVEL);
    public void setSummaryLevel(Boolean summaryLevel) {
        set(PROPERTY_SUMMARYLEVEL, summaryLevel);
    public String getProjectCategory() {
        return (String) get(PROPERTY_PROJECTCATEGORY);
    public void setProjectCategory(String projectCategory) {
        set(PROPERTY_PROJECTCATEGORY, projectCategory);
    public Location getOrgLocation() {
        return (Location) get(PROPERTY_ORGLOCATION);
    public void setOrgLocation(Location orgLocation) {
        set(PROPERTY_ORGLOCATION, orgLocation);
    public String getTaxID() {
        return (String) get(PROPERTY_TAXID);
    public void setTaxID(String taxID) {
        set(PROPERTY_TAXID, taxID);
    public ProjectType getProjectType() {
        return (ProjectType) get(PROPERTY_PROJECTTYPE);
    public void setProjectType(ProjectType projectType) {
        set(PROPERTY_PROJECTTYPE, projectType);
    public String getProjectTypeName() {
        return (String) get(PROPERTY_PROJECTTYPENAME);
    public void setProjectTypeName(String projectTypeName) {
        set(PROPERTY_PROJECTTYPENAME, projectTypeName);
    public StandardPhase getStandardPhase() {
        return (StandardPhase) get(PROPERTY_STANDARDPHASE);
    public void setStandardPhase(StandardPhase standardPhase) {
        set(PROPERTY_STANDARDPHASE, standardPhase);
    public String getProjectPhase() {
        return (String) get(PROPERTY_PROJECTPHASE);
    public void setProjectPhase(String projectPhase) {
        set(PROPERTY_PROJECTPHASE, projectPhase);
    public User getSalesRepresentative() {
        return (User) get(PROPERTY_SALESREPRESENTATIVE);
    public void setSalesRepresentative(User salesRepresentative) {
        set(PROPERTY_SALESREPRESENTATIVE, salesRepresentative);
    public String getSalesRepresentativeName() {
    public void setSalesRepresentativeName(String salesRepresentativeName) {
        set(PROPERTY_SALESREPRESENTATIVENAME, salesRepresentativeName);
    public BusinessPartner getBusinessPartner() {
        return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
    public void setBusinessPartner(BusinessPartner businessPartner) {
        set(PROPERTY_BUSINESSPARTNER, businessPartner);
    public String getBPSearchKey() {
        return (String) get(PROPERTY_BPSEARCHKEY);
    public void setBPSearchKey(String bPSearchKey) {
        set(PROPERTY_BPSEARCHKEY, bPSearchKey);
    public String getBPGreeting() {
        return (String) get(PROPERTY_BPGREETING);
    public void setBPGreeting(String bPGreeting) {
        set(PROPERTY_BPGREETING, bPGreeting);
    public String getName() {
        return (String) get(PROPERTY_NAME);
    public void setName(String name) {
        set(PROPERTY_NAME, name);
    public String getName2() {
        return (String) get(PROPERTY_NAME2);
    public void setName2(String name2) {
        set(PROPERTY_NAME2, name2);
    public String getBPContactGreeting() {
        return (String) get(PROPERTY_BPCONTACTGREETING);
    public void setBPContactGreeting(String bPContactGreeting) {
        set(PROPERTY_BPCONTACTGREETING, bPContactGreeting);
    public String getPosition() {
        return (String) get(PROPERTY_POSITION);
    public void setPosition(String position) {
        set(PROPERTY_POSITION, position);
    public String getContactName() {
        return (String) get(PROPERTY_CONTACTNAME);
    public void setContactName(String contactName) {
        set(PROPERTY_CONTACTNAME, contactName);
    public Location getLocationAddress() {
        return (Location) get(PROPERTY_LOCATIONADDRESS);
    public void setLocationAddress(Location locationAddress) {
        set(PROPERTY_LOCATIONADDRESS, locationAddress);
    public String getReferenceNo() {
        return (String) get(PROPERTY_REFERENCENO);
    public void setReferenceNo(String referenceNo) {
        set(PROPERTY_REFERENCENO, referenceNo);
    public String getPaymentTerm() {
        return (String) get(PROPERTY_PAYMENTTERM);
    public void setPaymentTerm(String paymentTerm) {
        set(PROPERTY_PAYMENTTERM, paymentTerm);
    public String getPaymentTermNote() {
        return (String) get(PROPERTY_PAYMENTTERMNOTE);
    public void setPaymentTermNote(String paymentTermNote) {
        set(PROPERTY_PAYMENTTERMNOTE, paymentTermNote);
    public String getOrderReference() {
        return (String) get(PROPERTY_ORDERREFERENCE);
    public void setOrderReference(String orderReference) {
        set(PROPERTY_ORDERREFERENCE, orderReference);
    public Currency getCurrency() {
        return (Currency) get(PROPERTY_CURRENCY);
    public void setCurrency(Currency currency) {
        set(PROPERTY_CURRENCY, currency);
    public PriceListVersion getPriceListVersion() {
        return (PriceListVersion) get(PROPERTY_PRICELISTVERSION);
    public void setPriceListVersion(PriceListVersion priceListVersion) {
        set(PROPERTY_PRICELISTVERSION, priceListVersion);
    public Campaign getSalesCampaign() {
        return (Campaign) get(PROPERTY_SALESCAMPAIGN);
    public void setSalesCampaign(Campaign salesCampaign) {
        set(PROPERTY_SALESCAMPAIGN, salesCampaign);
    public BigDecimal getPlannedAmount() {
        return (BigDecimal) get(PROPERTY_PLANNEDAMOUNT);
    public void setPlannedAmount(BigDecimal plannedAmount) {
        set(PROPERTY_PLANNEDAMOUNT, plannedAmount);
    public BigDecimal getPlannedQuantity() {
        return (BigDecimal) get(PROPERTY_PLANNEDQUANTITY);
    public void setPlannedQuantity(BigDecimal plannedQuantity) {
        set(PROPERTY_PLANNEDQUANTITY, plannedQuantity);
    public BigDecimal getPlannedMargin() {
        return (BigDecimal) get(PROPERTY_PLANNEDMARGIN);
    public void setPlannedMargin(BigDecimal plannedMargin) {
        set(PROPERTY_PLANNEDMARGIN, plannedMargin);
    public BigDecimal getInvoiceAmount() {
        return (BigDecimal) get(PROPERTY_INVOICEAMOUNT);
    public void setInvoiceAmount(BigDecimal invoiceAmount) {
        set(PROPERTY_INVOICEAMOUNT, invoiceAmount);
    public BigDecimal getInvoiceQuantity() {
        return (BigDecimal) get(PROPERTY_INVOICEQUANTITY);
    public void setInvoiceQuantity(BigDecimal invoiceQuantity) {
        set(PROPERTY_INVOICEQUANTITY, invoiceQuantity);
    public BigDecimal getProjectBalance() {
        return (BigDecimal) get(PROPERTY_PROJECTBALANCE);
    public void setProjectBalance(BigDecimal projectBalance) {
        set(PROPERTY_PROJECTBALANCE, projectBalance);
    public Boolean isLegallyBindingContract() {
        return (Boolean) get(PROPERTY_LEGALLYBINDINGCONTRACT);
    public void setLegallyBindingContract(Boolean legallyBindingContract) {
        set(PROPERTY_LEGALLYBINDINGCONTRACT, legallyBindingContract);
    public BigDecimal getContractAmount() {
        return (BigDecimal) get(PROPERTY_CONTRACTAMOUNT);
    public void setContractAmount(BigDecimal contractAmount) {
        set(PROPERTY_CONTRACTAMOUNT, contractAmount);
    public BigDecimal getContractQuantity() {
        return (BigDecimal) get(PROPERTY_CONTRACTQUANTITY);
    public void setContractQuantity(BigDecimal contractQuantity) {
        set(PROPERTY_CONTRACTQUANTITY, contractQuantity);
    public Date getContractDate() {
        return (Date) get(PROPERTY_CONTRACTDATE);
    public void setContractDate(Date contractDate) {
        set(PROPERTY_CONTRACTDATE, contractDate);
    public Date getEndingDate() {
        return (Date) get(PROPERTY_ENDINGDATE);
    public void setEndingDate(Date endingDate) {
        set(PROPERTY_ENDINGDATE, endingDate);
    public Boolean isPriceCeiling() {
        return (Boolean) get(PROPERTY_PRICECEILING);
    public void setPriceCeiling(Boolean priceCeiling) {
        set(PROPERTY_PRICECEILING, priceCeiling);
    public Warehouse getWarehouse() {
        return (Warehouse) get(PROPERTY_WAREHOUSE);
    public void setWarehouse(Warehouse warehouse) {
        set(PROPERTY_WAREHOUSE, warehouse);
    public Project getProject() {
        return (Project) get(PROPERTY_PROJECT);
    public void setProject(Project project) {
        set(PROPERTY_PROJECT, project);

Retrieved from ""

This page has been accessed 245 times. This page was last modified on 15 April 2011, at 22:45. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.