Class InvoiceLineV2
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.common.invoice.InvoiceLineV2
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class InvoiceLineV2 extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity InvoiceLineV2 (stored in table C_InvoiceLine_V2).
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_ACCOUNT
Property account stored in column Account_ID in table C_InvoiceLine_V2
Help: The (natural) account usedstatic String
PROPERTY_ACCOUNTINGDATE
Property accountingDate stored in column DateAcct in table C_InvoiceLine_V2
Help: The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of.static String
PROPERTY_ACTIVE
Property active stored in column Isactive in table C_InvoiceLine_V2static String
PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table C_InvoiceLine_V2
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_InvoiceLine_V2
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_InvoiceLine_V2static String
PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table C_InvoiceLine_V2static String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_InvoiceLine_V2static String
PROPERTY_DISCOUNT
Property discount stored in column Discount in table C_InvoiceLine_V2
Help: The Discount indicates the discount applied or taken as a percentage.static String
PROPERTY_GROSSMARGIN
Property grossMargin stored in column LineOverLimitAmt in table C_InvoiceLine_V2static String
PROPERTY_ID
Property id stored in column C_Invoiceline_V2_ID in table C_InvoiceLine_V2static String
PROPERTY_INVOICE
Property invoice stored in column C_Invoice_ID in table C_InvoiceLine_V2
Help: The Invoice ID uniquely identifies an Invoice Document.static String
PROPERTY_INVOICEDATE
Property invoiceDate stored in column DateInvoiced in table C_InvoiceLine_V2
Help: The Date Invoice indicates the date printed on the invoice.static String
PROPERTY_INVOICEDQUANTITY
Property invoicedQuantity stored in column QtyInvoiced in table C_InvoiceLine_V2
Help: The Invoiced Quantity indicates the quantity of a product that have been invoiced.static String
PROPERTY_INVOICELINE
Property invoiceLine stored in column C_InvoiceLine_ID in table C_InvoiceLine_V2
Help: The Invoice Line uniquely identifies a single line of an Invoice.static String
PROPERTY_LINEDISCOUNT
Property lineDiscount stored in column LineDiscountAmt in table C_InvoiceLine_V2
Help: Indicates the discount for this line as an amount.static String
PROPERTY_LINELIMITAMOUNT
Property lineLimitAmount stored in column LineLimitAmt in table C_InvoiceLine_V2static String
PROPERTY_LINELISTAMOUNT
Property lineListAmount stored in column LineListAmt in table C_InvoiceLine_V2static String
PROPERTY_LINENETAMOUNT
Property lineNetAmount stored in column LineNetAmt in table C_InvoiceLine_V2
Help: Indicates the line net amount based on the quantity and the actual price. Any additional charges or freight are not included.static String
PROPERTY_LISTPRICE
Property listPrice stored in column PriceList in table C_InvoiceLine_V2
Help: The Net List Price is the official price stated by the selected pricelist and the currency of the document.static String
PROPERTY_MARGIN
Property margin stored in column Margin in table C_InvoiceLine_V2
Help: The Margin indicates the margin for this product as a percentage of the limit price and selling price.static String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_InvoiceLine_V2static String
PROPERTY_PRICELIMIT
Property priceLimit stored in column PriceLimit in table C_InvoiceLine_V2
Help: The Net Price Limit indicates the lowest price for a product stated in the Price List Currency.static String
PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_InvoiceLine_V2
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_InvoiceLine_V2
Help: Identifies the category which this product belongs to. Product categories are used for pricing.static String
PROPERTY_SALESREPRESENTATIVE
Property salesRepresentative stored in column SalesRep_ID in table C_InvoiceLine_V2
Help: 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.static String
PROPERTY_UNITPRICE
Property unitPrice stored in column PriceActual in table C_InvoiceLine_V2
Help: The actual price indicates the price for a product in source currency.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table C_InvoiceLine_V2static String
PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table C_InvoiceLine_V2static String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description InvoiceLineV2()
-
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_Invoiceline_V2_ID in table C_InvoiceLine_V2- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_InvoiceLine_V2- 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_InvoiceLine_V2- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column Isactive in table C_InvoiceLine_V2- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_InvoiceLine_V2- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table C_InvoiceLine_V2- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table C_InvoiceLine_V2- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table C_InvoiceLine_V2- See Also:
Traceable
, Constant Field Values
-
PROPERTY_INVOICELINE
public static final String PROPERTY_INVOICELINE
Property invoiceLine stored in column C_InvoiceLine_ID in table C_InvoiceLine_V2
Help: The Invoice Line uniquely identifies a single line of an Invoice.- See Also:
- Constant Field Values
-
PROPERTY_INVOICE
public static final String PROPERTY_INVOICE
Property invoice stored in column C_Invoice_ID in table C_InvoiceLine_V2
Help: The Invoice ID uniquely identifies an Invoice Document.- See Also:
- Constant Field Values
-
PROPERTY_SALESREPRESENTATIVE
public static final String PROPERTY_SALESREPRESENTATIVE
Property salesRepresentative stored in column SalesRep_ID in table C_InvoiceLine_V2
Help: 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.- See Also:
- Constant Field Values
-
PROPERTY_BUSINESSPARTNER
public static final String PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table C_InvoiceLine_V2
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_BUSINESSPARTNERCATEGORY
public static final String PROPERTY_BUSINESSPARTNERCATEGORY
Property businessPartnerCategory stored in column C_BP_Group_ID in table C_InvoiceLine_V2
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_PRODUCT
public static final String PROPERTY_PRODUCT
Property product stored in column M_Product_ID in table C_InvoiceLine_V2
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_InvoiceLine_V2
Help: Identifies the category which this product belongs to. Product categories are used for pricing.- See Also:
- Constant Field Values
-
PROPERTY_INVOICEDATE
public static final String PROPERTY_INVOICEDATE
Property invoiceDate stored in column DateInvoiced in table C_InvoiceLine_V2
Help: The Date Invoice indicates the date printed on the invoice.- See Also:
- Constant Field Values
-
PROPERTY_ACCOUNTINGDATE
public static final String PROPERTY_ACCOUNTINGDATE
Property accountingDate stored in column DateAcct in table C_InvoiceLine_V2
Help: The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of.- See Also:
- Constant Field Values
-
PROPERTY_INVOICEDQUANTITY
public static final String PROPERTY_INVOICEDQUANTITY
Property invoicedQuantity stored in column QtyInvoiced in table C_InvoiceLine_V2
Help: The Invoiced Quantity indicates the quantity of a product that have been invoiced.- See Also:
- Constant Field Values
-
PROPERTY_LISTPRICE
public static final String PROPERTY_LISTPRICE
Property listPrice stored in column PriceList in table C_InvoiceLine_V2
Help: The Net List Price is the official price stated by the selected pricelist and the currency of the document.- See Also:
- Constant Field Values
-
PROPERTY_UNITPRICE
public static final String PROPERTY_UNITPRICE
Property unitPrice stored in column PriceActual in table C_InvoiceLine_V2
Help: The actual price indicates the price for a product in source currency.- See Also:
- Constant Field Values
-
PROPERTY_PRICELIMIT
public static final String PROPERTY_PRICELIMIT
Property priceLimit stored in column PriceLimit in table C_InvoiceLine_V2
Help: The Net Price Limit indicates the lowest price for a product stated in the Price List Currency.- See Also:
- Constant Field Values
-
PROPERTY_DISCOUNT
public static final String PROPERTY_DISCOUNT
Property discount stored in column Discount in table C_InvoiceLine_V2
Help: The Discount indicates the discount applied or taken as a percentage.- See Also:
- Constant Field Values
-
PROPERTY_MARGIN
public static final String PROPERTY_MARGIN
Property margin stored in column Margin in table C_InvoiceLine_V2
Help: The Margin indicates the margin for this product as a percentage of the limit price and selling price.- See Also:
- Constant Field Values
-
PROPERTY_LINENETAMOUNT
public static final String PROPERTY_LINENETAMOUNT
Property lineNetAmount stored in column LineNetAmt in table C_InvoiceLine_V2
Help: Indicates the line net amount based on the quantity and the actual price. Any additional charges or freight are not included.- See Also:
- Constant Field Values
-
PROPERTY_LINELISTAMOUNT
public static final String PROPERTY_LINELISTAMOUNT
Property lineListAmount stored in column LineListAmt in table C_InvoiceLine_V2- See Also:
- Constant Field Values
-
PROPERTY_LINELIMITAMOUNT
public static final String PROPERTY_LINELIMITAMOUNT
Property lineLimitAmount stored in column LineLimitAmt in table C_InvoiceLine_V2- See Also:
- Constant Field Values
-
PROPERTY_LINEDISCOUNT
public static final String PROPERTY_LINEDISCOUNT
Property lineDiscount stored in column LineDiscountAmt in table C_InvoiceLine_V2
Help: Indicates the discount for this line as an amount.- See Also:
- Constant Field Values
-
PROPERTY_GROSSMARGIN
public static final String PROPERTY_GROSSMARGIN
Property grossMargin stored in column LineOverLimitAmt in table C_InvoiceLine_V2- See Also:
- Constant Field Values
-
PROPERTY_ACCOUNT
public static final String PROPERTY_ACCOUNT
Property account stored in column Account_ID in table C_InvoiceLine_V2
Help: The (natural) account used- 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
-
getInvoiceLine
public InvoiceLine getInvoiceLine()
- See Also:
PROPERTY_INVOICELINE
-
setInvoiceLine
public void setInvoiceLine(InvoiceLine invoiceLine)
- See Also:
PROPERTY_INVOICELINE
-
getInvoice
public Invoice getInvoice()
- See Also:
PROPERTY_INVOICE
-
setInvoice
public void setInvoice(Invoice invoice)
- See Also:
PROPERTY_INVOICE
-
getSalesRepresentative
public User getSalesRepresentative()
- See Also:
PROPERTY_SALESREPRESENTATIVE
-
setSalesRepresentative
public void setSalesRepresentative(User salesRepresentative)
- See Also:
PROPERTY_SALESREPRESENTATIVE
-
getBusinessPartner
public BusinessPartner getBusinessPartner()
- See Also:
PROPERTY_BUSINESSPARTNER
-
setBusinessPartner
public void setBusinessPartner(BusinessPartner businessPartner)
- See Also:
PROPERTY_BUSINESSPARTNER
-
getBusinessPartnerCategory
public Category getBusinessPartnerCategory()
- See Also:
PROPERTY_BUSINESSPARTNERCATEGORY
-
setBusinessPartnerCategory
public void setBusinessPartnerCategory(Category businessPartnerCategory)
- See Also:
PROPERTY_BUSINESSPARTNERCATEGORY
-
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
-
getInvoiceDate
public Date getInvoiceDate()
- See Also:
PROPERTY_INVOICEDATE
-
setInvoiceDate
public void setInvoiceDate(Date invoiceDate)
- See Also:
PROPERTY_INVOICEDATE
-
getAccountingDate
public Date getAccountingDate()
- See Also:
PROPERTY_ACCOUNTINGDATE
-
setAccountingDate
public void setAccountingDate(Date accountingDate)
- See Also:
PROPERTY_ACCOUNTINGDATE
-
getInvoicedQuantity
public BigDecimal getInvoicedQuantity()
- See Also:
PROPERTY_INVOICEDQUANTITY
-
setInvoicedQuantity
public void setInvoicedQuantity(BigDecimal invoicedQuantity)
- See Also:
PROPERTY_INVOICEDQUANTITY
-
getListPrice
public BigDecimal getListPrice()
- See Also:
PROPERTY_LISTPRICE
-
setListPrice
public void setListPrice(BigDecimal listPrice)
- See Also:
PROPERTY_LISTPRICE
-
getUnitPrice
public BigDecimal getUnitPrice()
- See Also:
PROPERTY_UNITPRICE
-
setUnitPrice
public void setUnitPrice(BigDecimal unitPrice)
- See Also:
PROPERTY_UNITPRICE
-
getPriceLimit
public BigDecimal getPriceLimit()
- See Also:
PROPERTY_PRICELIMIT
-
setPriceLimit
public void setPriceLimit(BigDecimal priceLimit)
- See Also:
PROPERTY_PRICELIMIT
-
getDiscount
public Long getDiscount()
- See Also:
PROPERTY_DISCOUNT
-
setDiscount
public void setDiscount(Long discount)
- See Also:
PROPERTY_DISCOUNT
-
getMargin
public BigDecimal getMargin()
- See Also:
PROPERTY_MARGIN
-
setMargin
public void setMargin(BigDecimal margin)
- See Also:
PROPERTY_MARGIN
-
getLineNetAmount
public BigDecimal getLineNetAmount()
- See Also:
PROPERTY_LINENETAMOUNT
-
setLineNetAmount
public void setLineNetAmount(BigDecimal lineNetAmount)
- See Also:
PROPERTY_LINENETAMOUNT
-
getLineListAmount
public BigDecimal getLineListAmount()
- See Also:
PROPERTY_LINELISTAMOUNT
-
setLineListAmount
public void setLineListAmount(BigDecimal lineListAmount)
- See Also:
PROPERTY_LINELISTAMOUNT
-
getLineLimitAmount
public BigDecimal getLineLimitAmount()
- See Also:
PROPERTY_LINELIMITAMOUNT
-
setLineLimitAmount
public void setLineLimitAmount(BigDecimal lineLimitAmount)
- See Also:
PROPERTY_LINELIMITAMOUNT
-
getLineDiscount
public BigDecimal getLineDiscount()
- See Also:
PROPERTY_LINEDISCOUNT
-
setLineDiscount
public void setLineDiscount(BigDecimal lineDiscount)
- See Also:
PROPERTY_LINEDISCOUNT
-
getGrossMargin
public BigDecimal getGrossMargin()
- See Also:
PROPERTY_GROSSMARGIN
-
setGrossMargin
public void setGrossMargin(BigDecimal grossMargin)
- See Also:
PROPERTY_GROSSMARGIN
-
getAccount
public ElementValue getAccount()
- See Also:
PROPERTY_ACCOUNT
-
setAccount
public void setAccount(ElementValue account)
- See Also:
PROPERTY_ACCOUNT
-
-