Class BudgetLine
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.financialmgmt.accounting.BudgetLine
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class BudgetLine extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity FinancialMgmtBudgetLine (stored in table C_BudgetLine).
Help: Refers to the lines associated to a budget.
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_ACCOUNTELEMENT
Property accountElement stored in column C_ELEMENTVALUE_ID in table C_BudgetLine
Help: Account Elements can be natural accounts or user defined values.static String
PROPERTY_ACCOUNTINGSCHEMA
Property accountingSchema stored in column C_Acctschema_ID in table C_BudgetLine
Help: The book containing all financial transactions recorded for the legal entity.static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table C_BudgetLinestatic String
PROPERTY_ACTIVITY
Property activity stored in column C_Activity_ID in table C_BudgetLine
Help: Activities indicate tasks that are performed and used to utilize Activity based Costingstatic String
PROPERTY_ACTUALAMOUNT
Property actualAmount stored in column Actualamt in table C_BudgetLine
Help: Actual amount indicates the agreed upon amount for a document.static String
PROPERTY_AMOUNT
Property amount stored in column Amount in table C_BudgetLine
Help: The Amount indicates the amount for this document line.static String
PROPERTY_ASSET
Property asset stored in column A_Asset_ID in table C_BudgetLine
Help: Any item of economic value owned by the corporation, especially that which could be converted to cash.static String
PROPERTY_BUDGET
Property budget stored in column C_Budget_ID in table C_BudgetLine
Help: Used to define the anticipated costs of doing businessstatic String
PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table C_BudgetLine
Help: A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.static String
PROPERTY_BUSINESSPARTNERCATEGORY
Property businessPartnerCategory stored in column C_BP_Group_ID in table C_BudgetLine
Help: A way of grouping business partners together for classification and reporting purposes. Provides a method of defining certain defaults to be used when opening new business partners.static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_BudgetLinestatic String
PROPERTY_COSTCENTER
Property costcenter stored in column C_Costcenter_ID in table C_BudgetLine
Help: Division that adds to the cost of an organization. Internal structure for cost allocation.static String
PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table C_BudgetLinestatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_BudgetLinestatic String
PROPERTY_CURRENCY
Property currency stored in column C_Currency_ID in table C_BudgetLine
Help: Indicates the currency to be used when processing this document.static String
PROPERTY_DESCRIPTION
Property description stored in column Description in table C_BudgetLine
Help: A description is limited to 255 characters.static String
PROPERTY_ID
Property id stored in column C_Budgetline_ID in table C_BudgetLinestatic String
PROPERTY_NDDIMENSION
Property ndDimension stored in column User2_ID in table C_BudgetLine
Help: The user defined element displays the optional elements that have been defined for this account combination.static String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_BudgetLinestatic String
PROPERTY_PERIOD
Property period stored in column C_Period_ID in table C_BudgetLine
Help: The Period indicates an exclusive range of dates for a calendar.static String
PROPERTY_PRICE
Property price stored in column Price in table C_BudgetLine
Help: The Price indicates the Price for a product or service.static String
PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_BudgetLine
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_BudgetLine
Help: Identifies the category which this product belongs to. Product categories are used for pricing.static String
PROPERTY_PROJECT
Property project stored in column C_Project_ID in table C_BudgetLine
Help: Identifier of a project defined within the Project & Service Management module.static String
PROPERTY_QUANTITY
Property quantity stored in column Qty in table C_BudgetLine
Help: The Quantity indicates the number of a specific product or item for this document.static String
PROPERTY_SALESCAMPAIGN
Property salesCampaign stored in column C_Campaign_ID in table C_BudgetLine
Help: 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.static String
PROPERTY_SALESREGION
Property salesRegion stored in column C_SalesRegion_ID in table C_BudgetLine
Help: The Sales Region indicates a specific area of sales coverage.static String
PROPERTY_SEQUENCENUMBER
Property sequenceNumber stored in column SeqNo in table C_BudgetLinestatic String
PROPERTY_STDIMENSION
Property stDimension stored in column User1_ID in table C_BudgetLine
Help: The user defined element displays the optional elements that have been defined for this account combination.static String
PROPERTY_TRXORGANIZATION
Property trxOrganization stored in column AD_OrgTrx_ID in table C_BudgetLine
Help: The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.static String
PROPERTY_UOM
Property uOM stored in column C_UOM_ID in table C_BudgetLine
Help: The UOM defines a unique non monetary unit of measurestatic String
PROPERTY_UPDATED
Property updated stored in column Updated in table C_BudgetLinestatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table C_BudgetLinestatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description BudgetLine()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, 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_Budgetline_ID in table C_BudgetLine- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_BudgetLine- 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_BudgetLine- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table C_BudgetLine- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_BudgetLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table C_BudgetLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table C_BudgetLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table C_BudgetLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_ACCOUNTELEMENT
public static final String PROPERTY_ACCOUNTELEMENT
Property accountElement stored in column C_ELEMENTVALUE_ID in table C_BudgetLine
Help: Account Elements can be natural accounts or user defined values.- See Also:
- Constant Field Values
-
PROPERTY_PERIOD
public static final String PROPERTY_PERIOD
Property period stored in column C_Period_ID in table C_BudgetLine
Help: The Period indicates an exclusive range of dates for a calendar.- See Also:
- Constant Field Values
-
PROPERTY_CURRENCY
public static final String PROPERTY_CURRENCY
Property currency stored in column C_Currency_ID in table C_BudgetLine
Help: Indicates the currency to be used when processing this document.- See Also:
- Constant Field Values
-
PROPERTY_UOM
public static final String PROPERTY_UOM
Property uOM stored in column C_UOM_ID in table C_BudgetLine
Help: The UOM defines a unique non monetary unit of measure- See Also:
- Constant Field Values
-
PROPERTY_QUANTITY
public static final String PROPERTY_QUANTITY
Property quantity stored in column Qty in table C_BudgetLine
Help: The Quantity indicates the number of a specific product or item for this document.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCT
public static final String PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_BudgetLine
Help: Identifies an item which is either purchased or sold in this organization.- See Also:
- Constant Field Values
-
PROPERTY_BUSINESSPARTNER
public static final String PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table C_BudgetLine
Help: A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.- See Also:
- Constant Field Values
-
PROPERTY_TRXORGANIZATION
public static final String PROPERTY_TRXORGANIZATION
Property trxOrganization stored in column AD_OrgTrx_ID in table C_BudgetLine
Help: The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.- See Also:
- Constant Field Values
-
PROPERTY_SALESREGION
public static final String PROPERTY_SALESREGION
Property salesRegion stored in column C_SalesRegion_ID in table C_BudgetLine
Help: The Sales Region indicates a specific area of sales coverage.- See Also:
- Constant Field Values
-
PROPERTY_PROJECT
public static final String PROPERTY_PROJECT
Property project stored in column C_Project_ID in table C_BudgetLine
Help: Identifier of a project defined within the Project & Service Management module.- See Also:
- Constant Field Values
-
PROPERTY_SALESCAMPAIGN
public static final String PROPERTY_SALESCAMPAIGN
Property salesCampaign stored in column C_Campaign_ID in table C_BudgetLine
Help: 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.- See Also:
- Constant Field Values
-
PROPERTY_ACTIVITY
public static final String PROPERTY_ACTIVITY
Property activity stored in column C_Activity_ID in table C_BudgetLine
Help: Activities indicate tasks that are performed and used to utilize Activity based Costing- See Also:
- Constant Field Values
-
PROPERTY_STDIMENSION
public static final String PROPERTY_STDIMENSION
Property stDimension stored in column User1_ID in table C_BudgetLine
Help: The user defined element displays the optional elements that have been defined for this account combination.- See Also:
- Constant Field Values
-
PROPERTY_NDDIMENSION
public static final String PROPERTY_NDDIMENSION
Property ndDimension stored in column User2_ID in table C_BudgetLine
Help: The user defined element displays the optional elements that have been defined for this account combination.- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table C_BudgetLine
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_SEQUENCENUMBER
public static final String PROPERTY_SEQUENCENUMBER
Property sequenceNumber stored in column SeqNo in table C_BudgetLine- See Also:
- Constant Field Values
-
PROPERTY_BUSINESSPARTNERCATEGORY
public static final String PROPERTY_BUSINESSPARTNERCATEGORY
Property businessPartnerCategory stored in column C_BP_Group_ID in table C_BudgetLine
Help: A way of grouping business partners together for classification and reporting purposes. Provides a method of defining certain defaults to be used when opening new business partners.- 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_BudgetLine
Help: Identifies the category which this product belongs to. Product categories are used for pricing.- See Also:
- Constant Field Values
-
PROPERTY_BUDGET
public static final String PROPERTY_BUDGET
Property budget stored in column C_Budget_ID in table C_BudgetLine
Help: Used to define the anticipated costs of doing business- See Also:
- Constant Field Values
-
PROPERTY_AMOUNT
public static final String PROPERTY_AMOUNT
Property amount stored in column Amount in table C_BudgetLine
Help: The Amount indicates the amount for this document line.- See Also:
- Constant Field Values
-
PROPERTY_PRICE
public static final String PROPERTY_PRICE
Property price stored in column Price in table C_BudgetLine
Help: The Price indicates the Price for a product or service.- See Also:
- Constant Field Values
-
PROPERTY_ACCOUNTINGSCHEMA
public static final String PROPERTY_ACCOUNTINGSCHEMA
Property accountingSchema stored in column C_Acctschema_ID in table C_BudgetLine
Help: The book containing all financial transactions recorded for the legal entity.- See Also:
- Constant Field Values
-
PROPERTY_ASSET
public static final String PROPERTY_ASSET
Property asset stored in column A_Asset_ID in table C_BudgetLine
Help: Any item of economic value owned by the corporation, especially that which could be converted to cash.- See Also:
- Constant Field Values
-
PROPERTY_COSTCENTER
public static final String PROPERTY_COSTCENTER
Property costcenter stored in column C_Costcenter_ID in table C_BudgetLine
Help: Division that adds to the cost of an organization. Internal structure for cost allocation.- See Also:
- Constant Field Values
-
PROPERTY_ACTUALAMOUNT
public static final String PROPERTY_ACTUALAMOUNT
Property actualAmount stored in column Actualamt in table C_BudgetLine
Help: Actual amount indicates the agreed upon amount for a document.- 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
-
getAccountElement
public ElementValue getAccountElement()
- See Also:
PROPERTY_ACCOUNTELEMENT
-
setAccountElement
public void setAccountElement(ElementValue accountElement)
- See Also:
PROPERTY_ACCOUNTELEMENT
-
getPeriod
public Period getPeriod()
- See Also:
PROPERTY_PERIOD
-
setPeriod
public void setPeriod(Period period)
- See Also:
PROPERTY_PERIOD
-
getCurrency
public Currency getCurrency()
- See Also:
PROPERTY_CURRENCY
-
setCurrency
public void setCurrency(Currency currency)
- See Also:
PROPERTY_CURRENCY
-
getUOM
public UOM getUOM()
- See Also:
PROPERTY_UOM
-
setUOM
public void setUOM(UOM uOM)
- See Also:
PROPERTY_UOM
-
getQuantity
public BigDecimal getQuantity()
- See Also:
PROPERTY_QUANTITY
-
setQuantity
public void setQuantity(BigDecimal quantity)
- See Also:
PROPERTY_QUANTITY
-
getProduct
public Product getProduct()
- See Also:
PROPERTY_PRODUCT
-
setProduct
public void setProduct(Product product)
- See Also:
PROPERTY_PRODUCT
-
getBusinessPartner
public BusinessPartner getBusinessPartner()
- See Also:
PROPERTY_BUSINESSPARTNER
-
setBusinessPartner
public void setBusinessPartner(BusinessPartner businessPartner)
- See Also:
PROPERTY_BUSINESSPARTNER
-
getTrxOrganization
public Organization getTrxOrganization()
- See Also:
PROPERTY_TRXORGANIZATION
-
setTrxOrganization
public void setTrxOrganization(Organization trxOrganization)
- See Also:
PROPERTY_TRXORGANIZATION
-
getSalesRegion
public SalesRegion getSalesRegion()
- See Also:
PROPERTY_SALESREGION
-
setSalesRegion
public void setSalesRegion(SalesRegion salesRegion)
- See Also:
PROPERTY_SALESREGION
-
getProject
public Project getProject()
- See Also:
PROPERTY_PROJECT
-
setProject
public void setProject(Project project)
- See Also:
PROPERTY_PROJECT
-
getSalesCampaign
public Campaign getSalesCampaign()
- See Also:
PROPERTY_SALESCAMPAIGN
-
setSalesCampaign
public void setSalesCampaign(Campaign salesCampaign)
- See Also:
PROPERTY_SALESCAMPAIGN
-
getActivity
public ABCActivity getActivity()
- See Also:
PROPERTY_ACTIVITY
-
setActivity
public void setActivity(ABCActivity activity)
- See Also:
PROPERTY_ACTIVITY
-
getStDimension
public UserDimension1 getStDimension()
- See Also:
PROPERTY_STDIMENSION
-
setStDimension
public void setStDimension(UserDimension1 stDimension)
- See Also:
PROPERTY_STDIMENSION
-
getNdDimension
public UserDimension2 getNdDimension()
- See Also:
PROPERTY_NDDIMENSION
-
setNdDimension
public void setNdDimension(UserDimension2 ndDimension)
- See Also:
PROPERTY_NDDIMENSION
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getSequenceNumber
public Long getSequenceNumber()
- See Also:
PROPERTY_SEQUENCENUMBER
-
setSequenceNumber
public void setSequenceNumber(Long sequenceNumber)
- See Also:
PROPERTY_SEQUENCENUMBER
-
getBusinessPartnerCategory
public Category getBusinessPartnerCategory()
- See Also:
PROPERTY_BUSINESSPARTNERCATEGORY
-
setBusinessPartnerCategory
public void setBusinessPartnerCategory(Category businessPartnerCategory)
- See Also:
PROPERTY_BUSINESSPARTNERCATEGORY
-
getProductCategory
public ProductCategory getProductCategory()
- See Also:
PROPERTY_PRODUCTCATEGORY
-
setProductCategory
public void setProductCategory(ProductCategory productCategory)
- See Also:
PROPERTY_PRODUCTCATEGORY
-
getBudget
public Budget getBudget()
- See Also:
PROPERTY_BUDGET
-
setBudget
public void setBudget(Budget budget)
- See Also:
PROPERTY_BUDGET
-
getAmount
public BigDecimal getAmount()
- See Also:
PROPERTY_AMOUNT
-
setAmount
public void setAmount(BigDecimal amount)
- See Also:
PROPERTY_AMOUNT
-
getPrice
public BigDecimal getPrice()
- See Also:
PROPERTY_PRICE
-
setPrice
public void setPrice(BigDecimal price)
- See Also:
PROPERTY_PRICE
-
getAccountingSchema
public AcctSchema getAccountingSchema()
- See Also:
PROPERTY_ACCOUNTINGSCHEMA
-
setAccountingSchema
public void setAccountingSchema(AcctSchema accountingSchema)
- See Also:
PROPERTY_ACCOUNTINGSCHEMA
-
getAsset
public Asset getAsset()
- See Also:
PROPERTY_ASSET
-
setAsset
public void setAsset(Asset asset)
- See Also:
PROPERTY_ASSET
-
getCostcenter
public Costcenter getCostcenter()
- See Also:
PROPERTY_COSTCENTER
-
setCostcenter
public void setCostcenter(Costcenter costcenter)
- See Also:
PROPERTY_COSTCENTER
-
getActualAmount
public BigDecimal getActualAmount()
- See Also:
PROPERTY_ACTUALAMOUNT
-
setActualAmount
public void setActualAmount(BigDecimal actualAmount)
- See Also:
PROPERTY_ACTUALAMOUNT
-
-