Package org.openbravo.model.project
Class ProjectLine
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.project.ProjectLine
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class ProjectLine extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity ProjectLine (stored in table C_ProjectLine).
Help: Contains the lines (products and/or services) associated with the Project
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table C_ProjectLinestatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_ProjectLinestatic String
PROPERTY_CONTRACTAMOUNT
Property contractAmount stored in column CommittedAmt in table C_ProjectLine
Help: 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.static String
PROPERTY_CONTRACTQUANTITY
Property contractQuantity stored in column CommittedQty in table C_ProjectLine
Help: 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.static String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_ProjectLinestatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_ProjectLinestatic String
PROPERTY_DESCRIPTION
Property description stored in column Description in table C_ProjectLine
Help: A description is limited to 255 characters.static String
PROPERTY_ID
Property id stored in column C_ProjectLine_ID in table C_ProjectLine
Help: The Project Line indicates a unique project line.static String
PROPERTY_IDENTIFIER
Property identifier stored in column Product_Value in table C_ProjectLine
Help: A value specified in many forms.static String
PROPERTY_INVOICEAMOUNT
Property invoiceAmount stored in column InvoicedAmt in table C_ProjectLine
Help: The amount invoicedstatic String
PROPERTY_INVOICEQUANTITY
Property invoiceQuantity stored in column InvoicedQty in table C_ProjectLine
Help: The Quantity Invoicedstatic String
PROPERTY_LINENO
Property lineNo stored in column Line in table C_ProjectLinestatic String
PROPERTY_NAME
Property name stored in column Product_Name in table C_ProjectLine
Help: Name of the productstatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_ProjectLinestatic String
PROPERTY_PLANNEDAMOUNT
Property plannedAmount stored in column PlannedAmt in table C_ProjectLine
Help: The Planned Amount indicates the anticipated amount for this project or project line.static String
PROPERTY_PLANNEDMARGIN
Property plannedMargin stored in column PlannedMarginAmt in table C_ProjectLine
Help: The Planned Margin Amount indicates the anticipated margin amount for this project or project line.static String
PROPERTY_PLANNEDPRICE
Property plannedPrice stored in column PlannedPrice in table C_ProjectLine
Help: The Planned Price indicates the anticipated price for this project line.static String
PROPERTY_PLANNEDPURCHASEPRICE
Property plannedPurchasePrice stored in column Plannedpoprice in table C_ProjectLine
Help: Indicates the planned price for the purchase orderstatic String
PROPERTY_PLANNEDQUANTITY
Property plannedQuantity stored in column PlannedQty in table C_ProjectLine
Help: The Planned Quantity indicates the anticipated quantity for this project or project linestatic String
PROPERTY_PRINT
Property print stored in column IsPrinted in table C_ProjectLine
Help: The Printed checkbox indicates if this document or line will included when printing.static String
PROPERTY_PROCESSED
Property processed stored in column Processed in table C_ProjectLine
Help: The Processed checkbox indicates that a document has been processed.static String
PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_ProjectLine
Help: Identifies an item which is either purchased or sold in this organization.static String
PROPERTY_PRODUCTCATEGORY
Property productCategory stored in column M_Product_Category_ID in table C_ProjectLine
Help: Identifies the category which this product belongs to. Product categories are used for pricing.static String
PROPERTY_PRODUCTDESCRIPTION
Property productDescription stored in column Product_Description in table C_ProjectLine
Help: Description for the productstatic String
PROPERTY_PROJECT
Property project stored in column C_Project_ID in table C_ProjectLine
Help: Identifier of a project defined within the Project & Service Management module.static String
PROPERTY_PROJECTISSUE
Property projectIssue stored in column C_ProjectIssue_ID in table C_ProjectLine
Help: Issues to the project initiated by the "Issue to Project" process. You can issue Receipts, Time and Expenses, or Stock.static String
PROPERTY_PURCHASEORDER
Property purchaseOrder stored in column C_OrderPO_ID in table C_ProjectLine
Help: Purchase orderstatic String
PROPERTY_SALESORDER
Property salesOrder stored in column C_Order_ID in table C_ProjectLine
Help: Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.static String
PROPERTY_TAX
Property tax stored in column C_Tax_ID in table C_ProjectLine
Help: The Tax indicates the type of tax for this document line.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table C_ProjectLinestatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_ProjectLinestatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description ProjectLine()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column C_ProjectLine_ID in table C_ProjectLine
Help: The Project Line indicates a unique project line.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_ProjectLine- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_ProjectLine- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table C_ProjectLine- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_ProjectLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_ProjectLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table C_ProjectLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_ProjectLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_PROJECT
public static final String PROPERTY_PROJECT
Property project stored in column C_Project_ID in table C_ProjectLine
Help: Identifier of a project defined within the Project & Service Management module.- See Also:
- Constant Field Values
-
PROPERTY_LINENO
public static final String PROPERTY_LINENO
Property lineNo stored in column Line in table C_ProjectLine- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table C_ProjectLine
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_PLANNEDQUANTITY
public static final String PROPERTY_PLANNEDQUANTITY
Property plannedQuantity stored in column PlannedQty in table C_ProjectLine
Help: The Planned Quantity indicates the anticipated quantity for this project or project line- See Also:
- Constant Field Values
-
PROPERTY_PLANNEDPRICE
public static final String PROPERTY_PLANNEDPRICE
Property plannedPrice stored in column PlannedPrice in table C_ProjectLine
Help: The Planned Price indicates the anticipated price for this project line.- See Also:
- Constant Field Values
-
PROPERTY_PLANNEDAMOUNT
public static final String PROPERTY_PLANNEDAMOUNT
Property plannedAmount stored in column PlannedAmt in table C_ProjectLine
Help: The Planned Amount indicates the anticipated amount for this project or project line.- See Also:
- Constant Field Values
-
PROPERTY_PLANNEDMARGIN
public static final String PROPERTY_PLANNEDMARGIN
Property plannedMargin stored in column PlannedMarginAmt in table C_ProjectLine
Help: The Planned Margin Amount indicates the anticipated margin amount for this project or project line.- See Also:
- Constant Field Values
-
PROPERTY_CONTRACTAMOUNT
public static final String PROPERTY_CONTRACTAMOUNT
Property contractAmount stored in column CommittedAmt in table C_ProjectLine
Help: 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.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCT
public static final String PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_ProjectLine
Help: Identifies an item which is either purchased or sold in this organization.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTCATEGORY
public static final String PROPERTY_PRODUCTCATEGORY
Property productCategory stored in column M_Product_Category_ID in table C_ProjectLine
Help: Identifies the category which this product belongs to. Product categories are used for pricing.- See Also:
- Constant Field Values
-
PROPERTY_INVOICEAMOUNT
public static final String PROPERTY_INVOICEAMOUNT
Property invoiceAmount stored in column InvoicedAmt in table C_ProjectLine
Help: The amount invoiced- See Also:
- Constant Field Values
-
PROPERTY_INVOICEQUANTITY
public static final String PROPERTY_INVOICEQUANTITY
Property invoiceQuantity stored in column InvoicedQty in table C_ProjectLine
Help: The Quantity Invoiced- See Also:
- Constant Field Values
-
PROPERTY_CONTRACTQUANTITY
public static final String PROPERTY_CONTRACTQUANTITY
Property contractQuantity stored in column CommittedQty in table C_ProjectLine
Help: 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.- See Also:
- Constant Field Values
-
PROPERTY_PROJECTISSUE
public static final String PROPERTY_PROJECTISSUE
Property projectIssue stored in column C_ProjectIssue_ID in table C_ProjectLine
Help: Issues to the project initiated by the "Issue to Project" process. You can issue Receipts, Time and Expenses, or Stock.- See Also:
- Constant Field Values
-
PROPERTY_SALESORDER
public static final String PROPERTY_SALESORDER
Property salesOrder stored in column C_Order_ID in table C_ProjectLine
Help: Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.- See Also:
- Constant Field Values
-
PROPERTY_PURCHASEORDER
public static final String PROPERTY_PURCHASEORDER
Property purchaseOrder stored in column C_OrderPO_ID in table C_ProjectLine
Help: Purchase order- See Also:
- Constant Field Values
-
PROPERTY_PRINT
public static final String PROPERTY_PRINT
Property print stored in column IsPrinted in table C_ProjectLine
Help: The Printed checkbox indicates if this document or line will included when printing.- See Also:
- Constant Field Values
-
PROPERTY_PROCESSED
public static final String PROPERTY_PROCESSED
Property processed stored in column Processed in table C_ProjectLine
Help: The Processed checkbox indicates that a document has been processed.- See Also:
- Constant Field Values
-
PROPERTY_PLANNEDPURCHASEPRICE
public static final String PROPERTY_PLANNEDPURCHASEPRICE
Property plannedPurchasePrice stored in column Plannedpoprice in table C_ProjectLine
Help: Indicates the planned price for the purchase order- See Also:
- Constant Field Values
-
PROPERTY_TAX
public static final String PROPERTY_TAX
Property tax stored in column C_Tax_ID in table C_ProjectLine
Help: The Tax indicates the type of tax for this document line.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTDESCRIPTION
public static final String PROPERTY_PRODUCTDESCRIPTION
Property productDescription stored in column Product_Description in table C_ProjectLine
Help: Description for the product- See Also:
- Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name stored in column Product_Name in table C_ProjectLine
Help: Name of the product- See Also:
- Constant Field Values
-
PROPERTY_IDENTIFIER
public static final String PROPERTY_IDENTIFIER
Property identifier stored in column Product_Value in table C_ProjectLine
Help: A value specified in many forms.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getProject
public Project getProject()
- See Also:
PROPERTY_PROJECT
-
setProject
public void setProject(Project project)
- See Also:
PROPERTY_PROJECT
-
getLineNo
public Long getLineNo()
- See Also:
PROPERTY_LINENO
-
setLineNo
public void setLineNo(Long lineNo)
- See Also:
PROPERTY_LINENO
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getPlannedQuantity
public BigDecimal getPlannedQuantity()
- See Also:
PROPERTY_PLANNEDQUANTITY
-
setPlannedQuantity
public void setPlannedQuantity(BigDecimal plannedQuantity)
- See Also:
PROPERTY_PLANNEDQUANTITY
-
getPlannedPrice
public BigDecimal getPlannedPrice()
- See Also:
PROPERTY_PLANNEDPRICE
-
setPlannedPrice
public void setPlannedPrice(BigDecimal plannedPrice)
- See Also:
PROPERTY_PLANNEDPRICE
-
getPlannedAmount
public BigDecimal getPlannedAmount()
- See Also:
PROPERTY_PLANNEDAMOUNT
-
setPlannedAmount
public void setPlannedAmount(BigDecimal plannedAmount)
- See Also:
PROPERTY_PLANNEDAMOUNT
-
getPlannedMargin
public BigDecimal getPlannedMargin()
- See Also:
PROPERTY_PLANNEDMARGIN
-
setPlannedMargin
public void setPlannedMargin(BigDecimal plannedMargin)
- See Also:
PROPERTY_PLANNEDMARGIN
-
getContractAmount
public BigDecimal getContractAmount()
- See Also:
PROPERTY_CONTRACTAMOUNT
-
setContractAmount
public void setContractAmount(BigDecimal contractAmount)
- See Also:
PROPERTY_CONTRACTAMOUNT
-
getProduct
public Product getProduct()
- See Also:
PROPERTY_PRODUCT
-
setProduct
public void setProduct(Product product)
- See Also:
PROPERTY_PRODUCT
-
getProductCategory
public ProductCategory getProductCategory()
- See Also:
PROPERTY_PRODUCTCATEGORY
-
setProductCategory
public void setProductCategory(ProductCategory productCategory)
- See Also:
PROPERTY_PRODUCTCATEGORY
-
getInvoiceAmount
public BigDecimal getInvoiceAmount()
- See Also:
PROPERTY_INVOICEAMOUNT
-
setInvoiceAmount
public void setInvoiceAmount(BigDecimal invoiceAmount)
- See Also:
PROPERTY_INVOICEAMOUNT
-
getInvoiceQuantity
public BigDecimal getInvoiceQuantity()
- See Also:
PROPERTY_INVOICEQUANTITY
-
setInvoiceQuantity
public void setInvoiceQuantity(BigDecimal invoiceQuantity)
- See Also:
PROPERTY_INVOICEQUANTITY
-
getContractQuantity
public BigDecimal getContractQuantity()
- See Also:
PROPERTY_CONTRACTQUANTITY
-
setContractQuantity
public void setContractQuantity(BigDecimal contractQuantity)
- See Also:
PROPERTY_CONTRACTQUANTITY
-
getProjectIssue
public ProjectIssue getProjectIssue()
- See Also:
PROPERTY_PROJECTISSUE
-
setProjectIssue
public void setProjectIssue(ProjectIssue projectIssue)
- See Also:
PROPERTY_PROJECTISSUE
-
getSalesOrder
public Order getSalesOrder()
- See Also:
PROPERTY_SALESORDER
-
setSalesOrder
public void setSalesOrder(Order salesOrder)
- See Also:
PROPERTY_SALESORDER
-
getPurchaseOrder
public Order getPurchaseOrder()
- See Also:
PROPERTY_PURCHASEORDER
-
setPurchaseOrder
public void setPurchaseOrder(Order purchaseOrder)
- See Also:
PROPERTY_PURCHASEORDER
-
isPrint
public Boolean isPrint()
- See Also:
PROPERTY_PRINT
-
setPrint
public void setPrint(Boolean print)
- See Also:
PROPERTY_PRINT
-
isProcessed
public Boolean isProcessed()
- See Also:
PROPERTY_PROCESSED
-
setProcessed
public void setProcessed(Boolean processed)
- See Also:
PROPERTY_PROCESSED
-
getPlannedPurchasePrice
public BigDecimal getPlannedPurchasePrice()
- See Also:
PROPERTY_PLANNEDPURCHASEPRICE
-
setPlannedPurchasePrice
public void setPlannedPurchasePrice(BigDecimal plannedPurchasePrice)
- See Also:
PROPERTY_PLANNEDPURCHASEPRICE
-
getTax
public TaxRate getTax()
- See Also:
PROPERTY_TAX
-
setTax
public void setTax(TaxRate tax)
- See Also:
PROPERTY_TAX
-
getProductDescription
public String getProductDescription()
- See Also:
PROPERTY_PRODUCTDESCRIPTION
-
setProductDescription
public void setProductDescription(String productDescription)
- See Also:
PROPERTY_PRODUCTDESCRIPTION
-
getName
public String getName()
- See Also:
PROPERTY_NAME
-
setName
public void setName(String name)
- See Also:
PROPERTY_NAME
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifier
in interfaceBaseOBObjectDef
- Specified by:
getIdentifier
in interfaceIdentifiable
- Overrides:
getIdentifier
in classBaseOBObject
- See Also:
PROPERTY_IDENTIFIER
-
setIdentifier
public void setIdentifier(String identifier)
- See Also:
PROPERTY_IDENTIFIER
-
-