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/InvoiceCandidateV

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers_Guide/Reference/Entity_Model#InvoiceCandidateV


To the database table (c_invoice_candidate_v) of this entity.



Property Column Constraints Type Description
id* C_Invoice_Candidate_V_ID Max Length: 32
active Isactive 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 java.util.Date The Created field indicates the date that this record was created.
createdBy Createdby ADUser The Created By field indicates the user who created this record.
updated Updated java.util.Date The Updated field indicates the date that this record was updated.
updatedBy Updatedby ADUser The Updated By field indicates the user who updated this record.
client AD_Client_ID ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
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.
salesOrder# C_Order_ID Order Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.
documentNo Documentno Max Length: 30
java.lang.String The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
orderDate Dateordered java.util.Date Indicates the Date an item was ordered.
documentType C_Doctype_ID DocumentType The Document Type determines document sequence and processing rules
amountlines Amountlines java.lang.Long
amountlinesgross Amountlinesgross java.lang.Long
notinvoicedlines Notinvoicedlines java.lang.Long
notinvoicedlinesgross Notinvoicedlinesgross java.lang.Long
term Term Max Length: 60
pendinglines Pendinglines java.lang.Long
pendinglinesgross Pendinglinesgross java.lang.Long
orderedQuantity Qtyordered java.lang.Long The Ordered Quantity indicates the quantity of a product that was ordered.
deliveredQuantity Qtydelivered java.lang.Long The Delivered Quantity indicates the quantity of a product that has already been delivered.
salesTransaction Issotrx java.lang.Boolean The Sales Transaction checkbox indicates if this item is a Sales Transaction.
priceIncludesTax Istaxincluded java.lang.Boolean The Tax Included checkbox indicates if the prices include tax. This is also known as the gross price.
currency C_Currency_ID Currency Indicates the currency to be used when processing this document.
scheduledDeliveryDate Datepromised java.util.Date Scheduled Delivery Date indicates the date, if any, that an order was promised by.
asset A_Asset_ID FinancialMgmtAsset Any item of economic value owned by the corporation, especially that which could be converted to cash.
project C_Project_ID Project Identifier of a project defined within the Project & Service Management module.
costcenter C_Costcenter_ID Costcenter Division that adds to the cost of an organization. Internal structure for cost allocation.
stDimension User1_ID UserDimension1 The user defined element displays the optional elements that have been defined for this account combination.
ndDimension User2_ID UserDimension2 The user defined element displays the optional elements that have been defined for this account combination.
warehouse M_Warehouse_ID Warehouse The Warehouse identifies a unique Warehouse where products are stored or Services are provided.
grandTotalAmount Grandtotal java.math.BigDecimal The Grand Total displays the total amount including Tax and Freight in document currency

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-2019 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
 package org.openbravo.model.common.order;
 import java.math.BigDecimal;
 import java.util.Date;
 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.DocumentType;
 import org.openbravo.model.common.enterprise.Organization;
 import org.openbravo.model.common.enterprise.Warehouse;
 import org.openbravo.model.financialmgmt.accounting.Costcenter;
 import org.openbravo.model.financialmgmt.accounting.UserDimension1;
 import org.openbravo.model.financialmgmt.accounting.UserDimension2;
 import org.openbravo.model.financialmgmt.assetmgmt.Asset;
 import org.openbravo.model.project.Project;
  * Entity class for entity InvoiceCandidateV (stored in table c_invoice_candidate_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 InvoiceCandidateV extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "c_invoice_candidate_v";
     public static final String ENTITY_NAME = "InvoiceCandidateV";
     public static final String PROPERTY_ID = "id";
     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_CLIENT = "client";
     public static final String PROPERTY_ORGANIZATION = "organization";
     public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
     public static final String PROPERTY_SALESORDER = "salesOrder";
     public static final String PROPERTY_DOCUMENTNO = "documentNo";
     public static final String PROPERTY_ORDERDATE = "orderDate";
     public static final String PROPERTY_DOCUMENTTYPE = "documentType";
     public static final String PROPERTY_AMOUNTLINES = "amountlines";
     public static final String PROPERTY_AMOUNTLINESGROSS = "amountlinesgross";
     public static final String PROPERTY_NOTINVOICEDLINES = "notinvoicedlines";
     public static final String PROPERTY_NOTINVOICEDLINESGROSS = "notinvoicedlinesgross";
     public static final String PROPERTY_TERM = "term";
     public static final String PROPERTY_PENDINGLINES = "pendinglines";
     public static final String PROPERTY_PENDINGLINESGROSS = "pendinglinesgross";
     public static final String PROPERTY_ORDEREDQUANTITY = "orderedQuantity";
     public static final String PROPERTY_DELIVEREDQUANTITY = "deliveredQuantity";
     public static final String PROPERTY_SALESTRANSACTION = "salesTransaction";
     public static final String PROPERTY_PRICEINCLUDESTAX = "priceIncludesTax";
     public static final String PROPERTY_CURRENCY = "currency";
     public static final String PROPERTY_SCHEDULEDDELIVERYDATE = "scheduledDeliveryDate";
     public static final String PROPERTY_ASSET = "asset";
     public static final String PROPERTY_PROJECT = "project";
     public static final String PROPERTY_COSTCENTER = "costcenter";
     public static final String PROPERTY_STDIMENSION = "stDimension";
     public static final String PROPERTY_NDDIMENSION = "ndDimension";
     public static final String PROPERTY_WAREHOUSE = "warehouse";
     public static final String PROPERTY_GRANDTOTALAMOUNT = "grandTotalAmount";
     public InvoiceCandidateV() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_SALESTRANSACTION, false);
         setDefaultValue(PROPERTY_PRICEINCLUDESTAX, false);
     public String getEntityName() {
         return ENTITY_NAME;
     public String getId() {
         return (String) get(PROPERTY_ID);
     public void setId(String id) {
         set(PROPERTY_ID, id);
     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 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 BusinessPartner getBusinessPartner() {
         return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
     public void setBusinessPartner(BusinessPartner businessPartner) {
         set(PROPERTY_BUSINESSPARTNER, businessPartner);
     public Order getSalesOrder() {
         return (Order) get(PROPERTY_SALESORDER);
     public void setSalesOrder(Order salesOrder) {
         set(PROPERTY_SALESORDER, salesOrder);
     public String getDocumentNo() {
         return (String) get(PROPERTY_DOCUMENTNO);
     public void setDocumentNo(String documentNo) {
         set(PROPERTY_DOCUMENTNO, documentNo);
     public Date getOrderDate() {
         return (Date) get(PROPERTY_ORDERDATE);
     public void setOrderDate(Date orderDate) {
         set(PROPERTY_ORDERDATE, orderDate);
     public DocumentType getDocumentType() {
         return (DocumentType) get(PROPERTY_DOCUMENTTYPE);
     public void setDocumentType(DocumentType documentType) {
         set(PROPERTY_DOCUMENTTYPE, documentType);
     public Long getAmountlines() {
         return (Long) get(PROPERTY_AMOUNTLINES);
     public void setAmountlines(Long amountlines) {
         set(PROPERTY_AMOUNTLINES, amountlines);
     public Long getAmountlinesgross() {
         return (Long) get(PROPERTY_AMOUNTLINESGROSS);
     public void setAmountlinesgross(Long amountlinesgross) {
         set(PROPERTY_AMOUNTLINESGROSS, amountlinesgross);
     public Long getNotinvoicedlines() {
         return (Long) get(PROPERTY_NOTINVOICEDLINES);
     public void setNotinvoicedlines(Long notinvoicedlines) {
         set(PROPERTY_NOTINVOICEDLINES, notinvoicedlines);
     public Long getNotinvoicedlinesgross() {
     public void setNotinvoicedlinesgross(Long notinvoicedlinesgross) {
         set(PROPERTY_NOTINVOICEDLINESGROSS, notinvoicedlinesgross);
     public String getTerm() {
         return (String) get(PROPERTY_TERM);
     public void setTerm(String term) {
         set(PROPERTY_TERM, term);
     public Long getPendinglines() {
         return (Long) get(PROPERTY_PENDINGLINES);
     public void setPendinglines(Long pendinglines) {
         set(PROPERTY_PENDINGLINES, pendinglines);
     public Long getPendinglinesgross() {
         return (Long) get(PROPERTY_PENDINGLINESGROSS);
     public void setPendinglinesgross(Long pendinglinesgross) {
         set(PROPERTY_PENDINGLINESGROSS, pendinglinesgross);
     public Long getOrderedQuantity() {
         return (Long) get(PROPERTY_ORDEREDQUANTITY);
     public void setOrderedQuantity(Long orderedQuantity) {
         set(PROPERTY_ORDEREDQUANTITY, orderedQuantity);
     public Long getDeliveredQuantity() {
         return (Long) get(PROPERTY_DELIVEREDQUANTITY);
     public void setDeliveredQuantity(Long deliveredQuantity) {
         set(PROPERTY_DELIVEREDQUANTITY, deliveredQuantity);
     public Boolean isSalesTransaction() {
         return (Boolean) get(PROPERTY_SALESTRANSACTION);
     public void setSalesTransaction(Boolean salesTransaction) {
         set(PROPERTY_SALESTRANSACTION, salesTransaction);
     public Boolean isPriceIncludesTax() {
         return (Boolean) get(PROPERTY_PRICEINCLUDESTAX);
     public void setPriceIncludesTax(Boolean priceIncludesTax) {
         set(PROPERTY_PRICEINCLUDESTAX, priceIncludesTax);
     public Currency getCurrency() {
         return (Currency) get(PROPERTY_CURRENCY);
     public void setCurrency(Currency currency) {
         set(PROPERTY_CURRENCY, currency);
     public Date getScheduledDeliveryDate() {
     public void setScheduledDeliveryDate(Date scheduledDeliveryDate) {
         set(PROPERTY_SCHEDULEDDELIVERYDATE, scheduledDeliveryDate);
     public Asset getAsset() {
         return (Asset) get(PROPERTY_ASSET);
     public void setAsset(Asset asset) {
         set(PROPERTY_ASSET, asset);
     public Project getProject() {
         return (Project) get(PROPERTY_PROJECT);
     public void setProject(Project project) {
         set(PROPERTY_PROJECT, project);
     public Costcenter getCostcenter() {
         return (Costcenter) get(PROPERTY_COSTCENTER);
     public void setCostcenter(Costcenter costcenter) {
         set(PROPERTY_COSTCENTER, costcenter);
     public UserDimension1 getStDimension() {
         return (UserDimension1) get(PROPERTY_STDIMENSION);
     public void setStDimension(UserDimension1 stDimension) {
         set(PROPERTY_STDIMENSION, stDimension);
     public UserDimension2 getNdDimension() {
         return (UserDimension2) get(PROPERTY_NDDIMENSION);
     public void setNdDimension(UserDimension2 ndDimension) {
         set(PROPERTY_NDDIMENSION, ndDimension);
     public Warehouse getWarehouse() {
         return (Warehouse) get(PROPERTY_WAREHOUSE);
     public void setWarehouse(Warehouse warehouse) {
         set(PROPERTY_WAREHOUSE, warehouse);
     public BigDecimal getGrandTotalAmount() {
         return (BigDecimal) get(PROPERTY_GRANDTOTALAMOUNT);
     public void setGrandTotalAmount(BigDecimal grandTotalAmount) {
         set(PROPERTY_GRANDTOTALAMOUNT, grandTotalAmount);

Retrieved from ""

This page has been accessed 171 times. This page was last modified on 24 June 2019, at 15:59. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.