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

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#Invoice


Contains all the invoices

To the database table (C_Invoice) of this entity.



Property Column Constraints Type Description
id* C_Invoice_ID Mandatory
Max Length: 32
java.lang.String The Invoice ID uniquely identifies an Invoice Document.
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.
salesTransaction IsSOTrx Mandatory
java.lang.Boolean The Sales Transaction checkbox indicates if this item is a Sales Transaction.
documentNo# DocumentNo Mandatory
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).
documentStatus DocStatus Mandatory
Max Length: 60
java.lang.String The Document Status indicates the status of a document at this time. To change the status of a document, use one of the buttons usually located at the bottom of the document window.
documentAction DocAction Mandatory
Max Length: 60

You find the current status in the Document Status field. The options are listed in a popup

processNow Processing java.lang.Boolean When this field is set as 'Y' a process is being performed on this record.
processed Processed Mandatory
java.lang.Boolean The Processed checkbox indicates that a document has been processed.
posted Posted Mandatory
Max Length: 60
java.lang.String An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.
documentType C_DocType_ID Mandatory
DocumentType The Document Type determines document sequence and processing rules
transactionDocument C_DocTypeTarget_ID Mandatory
DocumentType Specifies document subtype (eg. POS Order, Return Material, etc.) that each document (such as Sales Invoice, Purchase Order, etc.). Various document subtypes usually differ on the consequences they have. You can convert document types (e.g. from Offer to Order). The conversion is then reflected in the current type.
salesOrder C_Order_ID Order Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.
description Description Max Length: 255
java.lang.String A description is limited to 255 characters.
print IsPrinted Mandatory
java.lang.Boolean The Printed checkbox indicates if this document or line will included when printing.
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.
invoiceDate# DateInvoiced Mandatory
java.util.Date The Date Invoice indicates the date printed on the invoice.
datePrinted DatePrinted java.util.Date Indicates the Date that a document was printed.
accountingDate DateAcct Mandatory
java.util.Date 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.
businessPartner C_BPartner_ID Mandatory
BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
partnerAddress C_BPartner_Location_ID Mandatory
BusinessPartnerLocation The Partner address indicates the location of a Business Partner
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.
printDiscount IsDiscountPrinted Mandatory
java.lang.Boolean The Discount Printed Checkbox indicates if the discount will be printed on the document.
orderDate DateOrdered java.util.Date Indicates the Date an item was ordered.
currency C_Currency_ID Mandatory
Currency Indicates the currency to be used when processing this document.
formOfPayment PaymentRule Max Length: 60
java.lang.String Form of Payment indicates the method of payment used for this transaction (eg. cash, wire transfer, etc.)
paymentTerms C_PaymentTerm_ID Mandatory
FinancialMgmtPaymentTerm Payment Terms identify the method and timing of payment for this transaction.
charge C_Charge_ID FinancialMgmtGLCharge The Charge indicates a type of Charge (Handling, Shipping, Restocking)
chargeAmount ChargeAmt java.math.BigDecimal The Charge Amount indicates the amount for an additional charge.
summedLineAmount TotalLines Mandatory
java.math.BigDecimal The Total amount displays the total of all lines in document currency
grandTotalAmount# GrandTotal Mandatory
java.math.BigDecimal The Grand Total displays the total amount including Tax and Freight in document currency
priceList M_PriceList_ID Mandatory

Price Lists are used to determine the pricing, margin and cost of items purchased or sold.

priceIncludesTax IsTaxIncluded java.lang.Boolean The Tax Included checkbox indicates if the prices include tax. This is also known as the gross price.
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.
project C_Project_ID Project Identifier of a project defined within the Project & Service Management module.
activity C_Activity_ID MaterialMgmtABCActivity Activities indicate tasks that are performed and used to utilize Activity based Costing
createLinesFrom CreateFrom java.lang.Boolean A process that allows the user to copy lines (products) from an existing document different from the one being copied into. For example, in case of entering a new Goods Shipment, the user can copy lines (products) from an existing Sales Order or Sales Invoice.
generateTo GenerateTo java.lang.Boolean A button that creates documents
userContact AD_User_ID ADUser The User identifies a unique user in the system. This could be an internal user or a business partner contact
copyFrom CopyFrom java.lang.Boolean Copy lines (products) from another document of the same type.
selfService IsSelfService Mandatory
java.lang.Boolean Self-Service allows users to enter data or update their data. The flag indicates, that this record was entered or created via Self-Service or that the user can change it via the Self-Service functionality.
trxOrganization AD_OrgTrx_ID Organization 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.
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.
withholdingamount Withholdingamount java.math.BigDecimal
taxDate Taxdate java.util.Date Tax Date
withholding C_Withholding_ID FinancialMgmtWithholding The Withholding indicates the type of withholding to be calculated.
paymentComplete Ispaid Mandatory
java.lang.Boolean The document is paid for.
totalPaid Totalpaid Mandatory
java.math.BigDecimal Total amount paid.
outstandingAmount OutstandingAmt Mandatory
java.math.BigDecimal Outstanding Amount. Amount pending to be paid
daysTillDue DaysTillDue Mandatory
java.lang.Long Number of days left for the next due date
dueAmount DueAmt Mandatory
java.math.BigDecimal Total amount due
lastCalculatedOnDate LastCalculatedOnDate java.util.Date Last Calculated On Date for payment monitor
updatePaymentMonitor UpdatePaymentMonitor Mandatory
java.lang.Boolean Update payment monitor information
paymentMethod FIN_Paymentmethod_ID FIN_PaymentMethod
fINPaymentPriority FIN_Payment_Priority_ID FIN_Payment_Priority Sets the priority of the payment plans generated when processing the invoice or order.

The distribution algorithm will be driven by this priority. The pending payments for order or payments will be displayed ordered by the payment priority first and then by the due date.

finalSettlementDate Finalsettlement java.util.Date
daysSalesOutstanding Daysoutstanding java.lang.Long
percentageOverdue Percentageoverdue java.lang.Long
costcenter C_Costcenter_ID Costcenter Division that adds to the cost of an organization. Internal structure for cost allocation.
aPRMAddpayment EM_APRM_Addpayment java.lang.Boolean Launches a process to add a payment to the selected invoice.
calculatePromotions Calculate_Promotions java.lang.Boolean
aPRMProcessinvoice EM_APRM_Processinvoice Max Length: 60
asset A_Asset_ID FinancialMgmtAsset Any item of economic value owned by the corporation, especially that which could be converted to cash.
cashVAT Iscashvat Mandatory
java.lang.Boolean Cash VAT tax rate
prepaymentamt Prepaymentamt Mandatory
aPRMPendingPaymentInvoiceList APRM_PendingPaymentInvoice
currencyConversionRateDocList CurrencyConversionRateDoc
fINPaymentSchedInvVList FIN_Payment_Sched_Inv_V
fINPaymentSchedOrdVList FIN_Payment_Sched_Ord_V
fINPaymentScheduleList FIN_Payment_Schedule
finOrigPaymentScheduleList Fin_Orig_Payment_Schedule
financialMgmtDebtPaymentList FinancialMgmtDebtPayment
financialMgmtDebtPaymentCancelVList FinancialMgmtDebtPaymentCancelV
financialMgmtDebtPaymentGenerateVList FinancialMgmtDebtPaymentGenerateV
invoiceDiscountList InvoiceDiscount
invoiceLineList InvoiceLine
invoiceLineTaxList InvoiceLineTax
invoiceLineV2List InvoiceLineV2
invoiceTaxList InvoiceTax
invoiceV2List InvoiceV2
materialMgmtShipmentInOutList MaterialMgmtShipmentInOut
pricingVolumeDiscountInvoiceList PricingVolumeDiscountInvoice
reversedInvoicesList ReversedInvoices
reversedInvoicesReversedInvoiceList ReversedInvoices
salesCommissionRunList SalesCommissionRun

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-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
 package org.openbravo.model.common.invoice;
 import java.math.BigDecimal;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 import org.openbravo.advpaymentmngt.APRMPendingPaymentFromInvoice;
 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.businesspartner.Location;
 import org.openbravo.model.common.currency.ConversionRateDoc;
 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.order.Order;
 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.financialmgmt.payment.DebtPayment;
 import org.openbravo.model.financialmgmt.payment.DebtPaymentCancelV;
 import org.openbravo.model.financialmgmt.payment.DebtPaymentGenerateV;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedInvV;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedOrdV;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedule;
 import org.openbravo.model.financialmgmt.payment.Fin_OrigPaymentSchedule;
 import org.openbravo.model.financialmgmt.payment.PaymentPriority;
 import org.openbravo.model.financialmgmt.payment.PaymentTerm;
 import org.openbravo.model.materialmgmt.cost.ABCActivity;
 import org.openbravo.model.materialmgmt.transaction.ShipmentInOut;
 import org.openbravo.model.pricing.pricelist.PriceList;
 import org.openbravo.model.pricing.volumediscount.DiscountInvoice;
 import org.openbravo.model.project.Project;
 import org.openbravo.model.sales.CommissionRun;
  * Entity class for entity Invoice (stored in table C_Invoice).
  * NOTE: This class should not be instantiated directly. To instantiate this
  * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 public class Invoice extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
     private static final long serialVersionUID = 1L;
     public static final String TABLE_NAME = "C_Invoice";
     public static final String ENTITY_NAME = "Invoice";
     public static final String PROPERTY_ID = "id";
     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_SALESTRANSACTION = "salesTransaction";
     public static final String PROPERTY_DOCUMENTNO = "documentNo";
     public static final String PROPERTY_DOCUMENTSTATUS = "documentStatus";
     public static final String PROPERTY_DOCUMENTACTION = "documentAction";
     public static final String PROPERTY_PROCESSNOW = "processNow";
     public static final String PROPERTY_PROCESSED = "processed";
     public static final String PROPERTY_POSTED = "posted";
     public static final String PROPERTY_DOCUMENTTYPE = "documentType";
     public static final String PROPERTY_TRANSACTIONDOCUMENT = "transactionDocument";
     public static final String PROPERTY_SALESORDER = "salesOrder";
     public static final String PROPERTY_DESCRIPTION = "description";
     public static final String PROPERTY_PRINT = "print";
     public static final String PROPERTY_SALESREPRESENTATIVE = "salesRepresentative";
     public static final String PROPERTY_INVOICEDATE = "invoiceDate";
     public static final String PROPERTY_DATEPRINTED = "datePrinted";
     public static final String PROPERTY_ACCOUNTINGDATE = "accountingDate";
     public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
     public static final String PROPERTY_PARTNERADDRESS = "partnerAddress";
     public static final String PROPERTY_ORDERREFERENCE = "orderReference";
     public static final String PROPERTY_PRINTDISCOUNT = "printDiscount";
     public static final String PROPERTY_ORDERDATE = "orderDate";
     public static final String PROPERTY_CURRENCY = "currency";
     public static final String PROPERTY_FORMOFPAYMENT = "formOfPayment";
     public static final String PROPERTY_PAYMENTTERMS = "paymentTerms";
     public static final String PROPERTY_CHARGE = "charge";
     public static final String PROPERTY_CHARGEAMOUNT = "chargeAmount";
     public static final String PROPERTY_SUMMEDLINEAMOUNT = "summedLineAmount";
     public static final String PROPERTY_GRANDTOTALAMOUNT = "grandTotalAmount";
     public static final String PROPERTY_PRICELIST = "priceList";
     public static final String PROPERTY_PRICEINCLUDESTAX = "priceIncludesTax";
     public static final String PROPERTY_SALESCAMPAIGN = "salesCampaign";
     public static final String PROPERTY_PROJECT = "project";
     public static final String PROPERTY_ACTIVITY = "activity";
     public static final String PROPERTY_CREATELINESFROM = "createLinesFrom";
     public static final String PROPERTY_GENERATETO = "generateTo";
     public static final String PROPERTY_USERCONTACT = "userContact";
     public static final String PROPERTY_COPYFROM = "copyFrom";
     public static final String PROPERTY_SELFSERVICE = "selfService";
     public static final String PROPERTY_TRXORGANIZATION = "trxOrganization";
     public static final String PROPERTY_STDIMENSION = "stDimension";
     public static final String PROPERTY_NDDIMENSION = "ndDimension";
     public static final String PROPERTY_WITHHOLDINGAMOUNT = "withholdingamount";
     public static final String PROPERTY_TAXDATE = "taxDate";
     public static final String PROPERTY_WITHHOLDING = "withholding";
     public static final String PROPERTY_PAYMENTCOMPLETE = "paymentComplete";
     public static final String PROPERTY_TOTALPAID = "totalPaid";
     public static final String PROPERTY_OUTSTANDINGAMOUNT = "outstandingAmount";
     public static final String PROPERTY_DAYSTILLDUE = "daysTillDue";
     public static final String PROPERTY_DUEAMOUNT = "dueAmount";
     public static final String PROPERTY_LASTCALCULATEDONDATE = "lastCalculatedOnDate";
     public static final String PROPERTY_UPDATEPAYMENTMONITOR = "updatePaymentMonitor";
     public static final String PROPERTY_PAYMENTMETHOD = "paymentMethod";
     public static final String PROPERTY_FINPAYMENTPRIORITY = "fINPaymentPriority";
     public static final String PROPERTY_FINALSETTLEMENTDATE = "finalSettlementDate";
     public static final String PROPERTY_DAYSSALESOUTSTANDING = "daysSalesOutstanding";
     public static final String PROPERTY_PERCENTAGEOVERDUE = "percentageOverdue";
     public static final String PROPERTY_COSTCENTER = "costcenter";
     public static final String PROPERTY_APRMADDPAYMENT = "aPRMAddpayment";
     public static final String PROPERTY_CALCULATEPROMOTIONS = "calculatePromotions";
     public static final String PROPERTY_APRMPROCESSINVOICE = "aPRMProcessinvoice";
     public static final String PROPERTY_ASSET = "asset";
     public static final String PROPERTY_CASHVAT = "cashVAT";
     public static final String PROPERTY_PREPAYMENTAMT = "prepaymentamt";
     public static final String PROPERTY_APRMPENDINGPAYMENTINVOICELIST = "aPRMPendingPaymentInvoiceList";
     public static final String PROPERTY_CURRENCYCONVERSIONRATEDOCLIST = "currencyConversionRateDocList";
     public static final String PROPERTY_FINPAYMENTSCHEDINVVLIST = "fINPaymentSchedInvVList";
     public static final String PROPERTY_FINPAYMENTSCHEDORDVLIST = "fINPaymentSchedOrdVList";
     public static final String PROPERTY_FINPAYMENTSCHEDULELIST = "fINPaymentScheduleList";
     public static final String PROPERTY_FINORIGPAYMENTSCHEDULELIST = "finOrigPaymentScheduleList";
     public static final String PROPERTY_FINANCIALMGMTDEBTPAYMENTLIST = "financialMgmtDebtPaymentList";
     public static final String PROPERTY_FINANCIALMGMTDEBTPAYMENTCANCELVLIST = "financialMgmtDebtPaymentCancelVList";
     public static final String PROPERTY_FINANCIALMGMTDEBTPAYMENTGENERATEVLIST = "financialMgmtDebtPaymentGenerateVList";
     public static final String PROPERTY_INVOICEDISCOUNTLIST = "invoiceDiscountList";
     public static final String PROPERTY_INVOICELINELIST = "invoiceLineList";
     public static final String PROPERTY_INVOICELINETAXLIST = "invoiceLineTaxList";
     public static final String PROPERTY_INVOICELINEV2LIST = "invoiceLineV2List";
     public static final String PROPERTY_INVOICETAXLIST = "invoiceTaxList";
     public static final String PROPERTY_INVOICEV2LIST = "invoiceV2List";
     public static final String PROPERTY_MATERIALMGMTSHIPMENTINOUTLIST = "materialMgmtShipmentInOutList";
     public static final String PROPERTY_PRICINGVOLUMEDISCOUNTINVOICELIST = "pricingVolumeDiscountInvoiceList";
     public static final String PROPERTY_REVERSEDINVOICESLIST = "reversedInvoicesList";
     public static final String PROPERTY_REVERSEDINVOICESREVERSEDINVOICELIST = "reversedInvoicesReversedInvoiceList";
     public static final String PROPERTY_SALESCOMMISSIONRUNLIST = "salesCommissionRunList";
     public Invoice() {
         setDefaultValue(PROPERTY_ACTIVE, true);
         setDefaultValue(PROPERTY_DOCUMENTSTATUS, "DR");
         setDefaultValue(PROPERTY_DOCUMENTACTION, "CO");
         setDefaultValue(PROPERTY_PROCESSNOW, false);
         setDefaultValue(PROPERTY_PROCESSED, false);
         setDefaultValue(PROPERTY_POSTED, "N");
         setDefaultValue(PROPERTY_PRINT, false);
         setDefaultValue(PROPERTY_PRINTDISCOUNT, false);
         setDefaultValue(PROPERTY_FORMOFPAYMENT, "P");
         setDefaultValue(PROPERTY_PRICEINCLUDESTAX, false);
         setDefaultValue(PROPERTY_CREATELINESFROM, false);
         setDefaultValue(PROPERTY_GENERATETO, false);
         setDefaultValue(PROPERTY_COPYFROM, false);
         setDefaultValue(PROPERTY_SELFSERVICE, false);
         setDefaultValue(PROPERTY_PAYMENTCOMPLETE, false);
         setDefaultValue(PROPERTY_TOTALPAID, new BigDecimal(0));
         setDefaultValue(PROPERTY_OUTSTANDINGAMOUNT, new BigDecimal(0));
         setDefaultValue(PROPERTY_DAYSTILLDUE, (long) 0);
         setDefaultValue(PROPERTY_DUEAMOUNT, new BigDecimal(0));
         setDefaultValue(PROPERTY_UPDATEPAYMENTMONITOR, false);
         setDefaultValue(PROPERTY_APRMADDPAYMENT, true);
         setDefaultValue(PROPERTY_CALCULATEPROMOTIONS, false);
         setDefaultValue(PROPERTY_APRMPROCESSINVOICE, "CO");
         setDefaultValue(PROPERTY_CASHVAT, false);
         setDefaultValue(PROPERTY_PREPAYMENTAMT, new BigDecimal(0));
         setDefaultValue(PROPERTY_APRMPENDINGPAYMENTINVOICELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_CURRENCYCONVERSIONRATEDOCLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINPAYMENTSCHEDINVVLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINPAYMENTSCHEDORDVLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINPAYMENTSCHEDULELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINORIGPAYMENTSCHEDULELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINANCIALMGMTDEBTPAYMENTLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_FINANCIALMGMTDEBTPAYMENTCANCELVLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_INVOICEDISCOUNTLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_INVOICELINELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_INVOICELINETAXLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_INVOICELINEV2LIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_INVOICETAXLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_INVOICEV2LIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_MATERIALMGMTSHIPMENTINOUTLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_PRICINGVOLUMEDISCOUNTINVOICELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_REVERSEDINVOICESLIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_REVERSEDINVOICESREVERSEDINVOICELIST, new ArrayList<Object>());
         setDefaultValue(PROPERTY_SALESCOMMISSIONRUNLIST, new ArrayList<Object>());
     public String getEntityName() {
         return ENTITY_NAME;
     public String getId() {
         return (String) get(PROPERTY_ID);
     public void setId(String id) {
         set(PROPERTY_ID, id);
     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 Boolean isSalesTransaction() {
         return (Boolean) get(PROPERTY_SALESTRANSACTION);
     public void setSalesTransaction(Boolean salesTransaction) {
         set(PROPERTY_SALESTRANSACTION, salesTransaction);
     public String getDocumentNo() {
         return (String) get(PROPERTY_DOCUMENTNO);
     public void setDocumentNo(String documentNo) {
         set(PROPERTY_DOCUMENTNO, documentNo);
     public String getDocumentStatus() {
         return (String) get(PROPERTY_DOCUMENTSTATUS);
     public void setDocumentStatus(String documentStatus) {
         set(PROPERTY_DOCUMENTSTATUS, documentStatus);
     public String getDocumentAction() {
         return (String) get(PROPERTY_DOCUMENTACTION);
     public void setDocumentAction(String documentAction) {
         set(PROPERTY_DOCUMENTACTION, documentAction);
     public Boolean isProcessNow() {
         return (Boolean) get(PROPERTY_PROCESSNOW);
     public void setProcessNow(Boolean processNow) {
         set(PROPERTY_PROCESSNOW, processNow);
     public Boolean isProcessed() {
         return (Boolean) get(PROPERTY_PROCESSED);
     public void setProcessed(Boolean processed) {
         set(PROPERTY_PROCESSED, processed);
     public String getPosted() {
         return (String) get(PROPERTY_POSTED);
     public void setPosted(String posted) {
         set(PROPERTY_POSTED, posted);
     public DocumentType getDocumentType() {
         return (DocumentType) get(PROPERTY_DOCUMENTTYPE);
     public void setDocumentType(DocumentType documentType) {
         set(PROPERTY_DOCUMENTTYPE, documentType);
     public DocumentType getTransactionDocument() {
         return (DocumentType) get(PROPERTY_TRANSACTIONDOCUMENT);
     public void setTransactionDocument(DocumentType transactionDocument) {
         set(PROPERTY_TRANSACTIONDOCUMENT, transactionDocument);
     public Order getSalesOrder() {
         return (Order) get(PROPERTY_SALESORDER);
     public void setSalesOrder(Order salesOrder) {
         set(PROPERTY_SALESORDER, salesOrder);
     public String getDescription() {
         return (String) get(PROPERTY_DESCRIPTION);
     public void setDescription(String description) {
         set(PROPERTY_DESCRIPTION, description);
     public Boolean isPrint() {
         return (Boolean) get(PROPERTY_PRINT);
     public void setPrint(Boolean print) {
         set(PROPERTY_PRINT, print);
     public User getSalesRepresentative() {
         return (User) get(PROPERTY_SALESREPRESENTATIVE);
     public void setSalesRepresentative(User salesRepresentative) {
         set(PROPERTY_SALESREPRESENTATIVE, salesRepresentative);
     public Date getInvoiceDate() {
         return (Date) get(PROPERTY_INVOICEDATE);
     public void setInvoiceDate(Date invoiceDate) {
         set(PROPERTY_INVOICEDATE, invoiceDate);
     public Date getDatePrinted() {
         return (Date) get(PROPERTY_DATEPRINTED);
     public void setDatePrinted(Date datePrinted) {
         set(PROPERTY_DATEPRINTED, datePrinted);
     public Date getAccountingDate() {
         return (Date) get(PROPERTY_ACCOUNTINGDATE);
     public void setAccountingDate(Date accountingDate) {
         set(PROPERTY_ACCOUNTINGDATE, accountingDate);
     public BusinessPartner getBusinessPartner() {
         return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
     public void setBusinessPartner(BusinessPartner businessPartner) {
         set(PROPERTY_BUSINESSPARTNER, businessPartner);
     public Location getPartnerAddress() {
         return (Location) get(PROPERTY_PARTNERADDRESS);
     public void setPartnerAddress(Location partnerAddress) {
         set(PROPERTY_PARTNERADDRESS, partnerAddress);
     public String getOrderReference() {
         return (String) get(PROPERTY_ORDERREFERENCE);
     public void setOrderReference(String orderReference) {
         set(PROPERTY_ORDERREFERENCE, orderReference);
     public Boolean isPrintDiscount() {
         return (Boolean) get(PROPERTY_PRINTDISCOUNT);
     public void setPrintDiscount(Boolean printDiscount) {
         set(PROPERTY_PRINTDISCOUNT, printDiscount);
     public Date getOrderDate() {
         return (Date) get(PROPERTY_ORDERDATE);
     public void setOrderDate(Date orderDate) {
         set(PROPERTY_ORDERDATE, orderDate);
     public Currency getCurrency() {
         return (Currency) get(PROPERTY_CURRENCY);
     public void setCurrency(Currency currency) {
         set(PROPERTY_CURRENCY, currency);
     public String getFormOfPayment() {
         return (String) get(PROPERTY_FORMOFPAYMENT);
     public void setFormOfPayment(String formOfPayment) {
         set(PROPERTY_FORMOFPAYMENT, formOfPayment);
     public PaymentTerm getPaymentTerms() {
         return (PaymentTerm) get(PROPERTY_PAYMENTTERMS);
     public void setPaymentTerms(PaymentTerm paymentTerms) {
         set(PROPERTY_PAYMENTTERMS, paymentTerms);
     public GLCharge getCharge() {
         return (GLCharge) get(PROPERTY_CHARGE);
     public void setCharge(GLCharge charge) {
         set(PROPERTY_CHARGE, charge);
     public BigDecimal getChargeAmount() {
         return (BigDecimal) get(PROPERTY_CHARGEAMOUNT);
     public void setChargeAmount(BigDecimal chargeAmount) {
         set(PROPERTY_CHARGEAMOUNT, chargeAmount);
     public BigDecimal getSummedLineAmount() {
         return (BigDecimal) get(PROPERTY_SUMMEDLINEAMOUNT);
     public void setSummedLineAmount(BigDecimal summedLineAmount) {
         set(PROPERTY_SUMMEDLINEAMOUNT, summedLineAmount);
     public BigDecimal getGrandTotalAmount() {
         return (BigDecimal) get(PROPERTY_GRANDTOTALAMOUNT);
     public void setGrandTotalAmount(BigDecimal grandTotalAmount) {
         set(PROPERTY_GRANDTOTALAMOUNT, grandTotalAmount);
     public PriceList getPriceList() {
         return (PriceList) get(PROPERTY_PRICELIST);
     public void setPriceList(PriceList priceList) {
         set(PROPERTY_PRICELIST, priceList);
     public Boolean isPriceIncludesTax() {
         return (Boolean) get(PROPERTY_PRICEINCLUDESTAX);
     public void setPriceIncludesTax(Boolean priceIncludesTax) {
         set(PROPERTY_PRICEINCLUDESTAX, priceIncludesTax);
     public Campaign getSalesCampaign() {
         return (Campaign) get(PROPERTY_SALESCAMPAIGN);
     public void setSalesCampaign(Campaign salesCampaign) {
         set(PROPERTY_SALESCAMPAIGN, salesCampaign);
     public Project getProject() {
         return (Project) get(PROPERTY_PROJECT);
     public void setProject(Project project) {
         set(PROPERTY_PROJECT, project);
     public ABCActivity getActivity() {
         return (ABCActivity) get(PROPERTY_ACTIVITY);
     public void setActivity(ABCActivity activity) {
         set(PROPERTY_ACTIVITY, activity);
     public Boolean isCreateLinesFrom() {
         return (Boolean) get(PROPERTY_CREATELINESFROM);
     public void setCreateLinesFrom(Boolean createLinesFrom) {
         set(PROPERTY_CREATELINESFROM, createLinesFrom);
     public Boolean isGenerateTo() {
         return (Boolean) get(PROPERTY_GENERATETO);
     public void setGenerateTo(Boolean generateTo) {
         set(PROPERTY_GENERATETO, generateTo);
     public User getUserContact() {
         return (User) get(PROPERTY_USERCONTACT);
     public void setUserContact(User userContact) {
         set(PROPERTY_USERCONTACT, userContact);
     public Boolean isCopyFrom() {
         return (Boolean) get(PROPERTY_COPYFROM);
     public void setCopyFrom(Boolean copyFrom) {
         set(PROPERTY_COPYFROM, copyFrom);
     public Boolean isSelfService() {
         return (Boolean) get(PROPERTY_SELFSERVICE);
     public void setSelfService(Boolean selfService) {
         set(PROPERTY_SELFSERVICE, selfService);
     public Organization getTrxOrganization() {
         return (Organization) get(PROPERTY_TRXORGANIZATION);
     public void setTrxOrganization(Organization trxOrganization) {
         set(PROPERTY_TRXORGANIZATION, trxOrganization);
     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 BigDecimal getWithholdingamount() {
         return (BigDecimal) get(PROPERTY_WITHHOLDINGAMOUNT);
     public void setWithholdingamount(BigDecimal withholdingamount) {
         set(PROPERTY_WITHHOLDINGAMOUNT, withholdingamount);
     public Date getTaxDate() {
         return (Date) get(PROPERTY_TAXDATE);
     public void setTaxDate(Date taxDate) {
         set(PROPERTY_TAXDATE, taxDate);
     public Withholding getWithholding() {
         return (Withholding) get(PROPERTY_WITHHOLDING);
     public void setWithholding(Withholding withholding) {
         set(PROPERTY_WITHHOLDING, withholding);
     public Boolean isPaymentComplete() {
         return (Boolean) get(PROPERTY_PAYMENTCOMPLETE);
     public void setPaymentComplete(Boolean paymentComplete) {
         set(PROPERTY_PAYMENTCOMPLETE, paymentComplete);
     public BigDecimal getTotalPaid() {
         return (BigDecimal) get(PROPERTY_TOTALPAID);
     public void setTotalPaid(BigDecimal totalPaid) {
         set(PROPERTY_TOTALPAID, totalPaid);
     public BigDecimal getOutstandingAmount() {
         return (BigDecimal) get(PROPERTY_OUTSTANDINGAMOUNT);
     public void setOutstandingAmount(BigDecimal outstandingAmount) {
         set(PROPERTY_OUTSTANDINGAMOUNT, outstandingAmount);
     public Long getDaysTillDue() {
         return (Long) get(PROPERTY_DAYSTILLDUE);
     public void setDaysTillDue(Long daysTillDue) {
         set(PROPERTY_DAYSTILLDUE, daysTillDue);
     public BigDecimal getDueAmount() {
         return (BigDecimal) get(PROPERTY_DUEAMOUNT);
     public void setDueAmount(BigDecimal dueAmount) {
         set(PROPERTY_DUEAMOUNT, dueAmount);
     public Date getLastCalculatedOnDate() {
         return (Date) get(PROPERTY_LASTCALCULATEDONDATE);
     public void setLastCalculatedOnDate(Date lastCalculatedOnDate) {
         set(PROPERTY_LASTCALCULATEDONDATE, lastCalculatedOnDate);
     public Boolean isUpdatePaymentMonitor() {
         return (Boolean) get(PROPERTY_UPDATEPAYMENTMONITOR);
     public void setUpdatePaymentMonitor(Boolean updatePaymentMonitor) {
         set(PROPERTY_UPDATEPAYMENTMONITOR, updatePaymentMonitor);
     public FIN_PaymentMethod getPaymentMethod() {
         return (FIN_PaymentMethod) get(PROPERTY_PAYMENTMETHOD);
     public void setPaymentMethod(FIN_PaymentMethod paymentMethod) {
         set(PROPERTY_PAYMENTMETHOD, paymentMethod);
     public PaymentPriority getFINPaymentPriority() {
         return (PaymentPriority) get(PROPERTY_FINPAYMENTPRIORITY);
     public void setFINPaymentPriority(PaymentPriority fINPaymentPriority) {
         set(PROPERTY_FINPAYMENTPRIORITY, fINPaymentPriority);
     public Date getFinalSettlementDate() {
         return (Date) get(PROPERTY_FINALSETTLEMENTDATE);
     public void setFinalSettlementDate(Date finalSettlementDate) {
         set(PROPERTY_FINALSETTLEMENTDATE, finalSettlementDate);
     public Long getDaysSalesOutstanding() {
         return (Long) get(PROPERTY_DAYSSALESOUTSTANDING);
     public void setDaysSalesOutstanding(Long daysSalesOutstanding) {
         set(PROPERTY_DAYSSALESOUTSTANDING, daysSalesOutstanding);
     public Long getPercentageOverdue() {
         return (Long) get(PROPERTY_PERCENTAGEOVERDUE);
     public void setPercentageOverdue(Long percentageOverdue) {
         set(PROPERTY_PERCENTAGEOVERDUE, percentageOverdue);
     public Costcenter getCostcenter() {
         return (Costcenter) get(PROPERTY_COSTCENTER);
     public void setCostcenter(Costcenter costcenter) {
         set(PROPERTY_COSTCENTER, costcenter);
     public Boolean isAPRMAddpayment() {
         return (Boolean) get(PROPERTY_APRMADDPAYMENT);
     public void setAPRMAddpayment(Boolean aPRMAddpayment) {
         set(PROPERTY_APRMADDPAYMENT, aPRMAddpayment);
     public Boolean isCalculatePromotions() {
         return (Boolean) get(PROPERTY_CALCULATEPROMOTIONS);
     public void setCalculatePromotions(Boolean calculatePromotions) {
         set(PROPERTY_CALCULATEPROMOTIONS, calculatePromotions);
     public String getAPRMProcessinvoice() {
         return (String) get(PROPERTY_APRMPROCESSINVOICE);
     public void setAPRMProcessinvoice(String aPRMProcessinvoice) {
         set(PROPERTY_APRMPROCESSINVOICE, aPRMProcessinvoice);
     public Asset getAsset() {
         return (Asset) get(PROPERTY_ASSET);
     public void setAsset(Asset asset) {
         set(PROPERTY_ASSET, asset);
     public Boolean isCashVAT() {
         return (Boolean) get(PROPERTY_CASHVAT);
     public void setCashVAT(Boolean cashVAT) {
         set(PROPERTY_CASHVAT, cashVAT);
     public BigDecimal getPrepaymentamt() {
         return (BigDecimal) get(PROPERTY_PREPAYMENTAMT);
     public void setPrepaymentamt(BigDecimal prepaymentamt) {
         set(PROPERTY_PREPAYMENTAMT, prepaymentamt);
     public List<APRMPendingPaymentFromInvoice> getAPRMPendingPaymentInvoiceList() {
       return (List<APRMPendingPaymentFromInvoice>) get(PROPERTY_APRMPENDINGPAYMENTINVOICELIST);
     public void setAPRMPendingPaymentInvoiceList(List<APRMPendingPaymentFromInvoice> aPRMPendingPaymentInvoiceList) {
     public List<ConversionRateDoc> getCurrencyConversionRateDocList() {
       return (List<ConversionRateDoc>) get(PROPERTY_CURRENCYCONVERSIONRATEDOCLIST);
     public void setCurrencyConversionRateDocList(List<ConversionRateDoc> currencyConversionRateDocList) {
         set(PROPERTY_CURRENCYCONVERSIONRATEDOCLIST, currencyConversionRateDocList);
     public List<FIN_PaymentSchedInvV> getFINPaymentSchedInvVList() {
       return (List<FIN_PaymentSchedInvV>) get(PROPERTY_FINPAYMENTSCHEDINVVLIST);
     public void setFINPaymentSchedInvVList(List<FIN_PaymentSchedInvV> fINPaymentSchedInvVList) {
     public List<FIN_PaymentSchedOrdV> getFINPaymentSchedOrdVList() {
       return (List<FIN_PaymentSchedOrdV>) get(PROPERTY_FINPAYMENTSCHEDORDVLIST);
     public void setFINPaymentSchedOrdVList(List<FIN_PaymentSchedOrdV> fINPaymentSchedOrdVList) {
     public List<FIN_PaymentSchedule> getFINPaymentScheduleList() {
       return (List<FIN_PaymentSchedule>) get(PROPERTY_FINPAYMENTSCHEDULELIST);
     public void setFINPaymentScheduleList(List<FIN_PaymentSchedule> fINPaymentScheduleList) {
         set(PROPERTY_FINPAYMENTSCHEDULELIST, fINPaymentScheduleList);
     public List<Fin_OrigPaymentSchedule> getFinOrigPaymentScheduleList() {
       return (List<Fin_OrigPaymentSchedule>) get(PROPERTY_FINORIGPAYMENTSCHEDULELIST);
     public void setFinOrigPaymentScheduleList(List<Fin_OrigPaymentSchedule> finOrigPaymentScheduleList) {
         set(PROPERTY_FINORIGPAYMENTSCHEDULELIST, finOrigPaymentScheduleList);
     public List<DebtPayment> getFinancialMgmtDebtPaymentList() {
     public void setFinancialMgmtDebtPaymentList(List<DebtPayment> financialMgmtDebtPaymentList) {
         set(PROPERTY_FINANCIALMGMTDEBTPAYMENTLIST, financialMgmtDebtPaymentList);
     public List<DebtPaymentCancelV> getFinancialMgmtDebtPaymentCancelVList() {
     public void setFinancialMgmtDebtPaymentCancelVList(List<DebtPaymentCancelV> financialMgmtDebtPaymentCancelVList) {
     public List<DebtPaymentGenerateV> getFinancialMgmtDebtPaymentGenerateVList() {
     public void setFinancialMgmtDebtPaymentGenerateVList(List<DebtPaymentGenerateV> financialMgmtDebtPaymentGenerateVList) {
     public List<InvoiceDiscount> getInvoiceDiscountList() {
       return (List<InvoiceDiscount>) get(PROPERTY_INVOICEDISCOUNTLIST);
     public void setInvoiceDiscountList(List<InvoiceDiscount> invoiceDiscountList) {
         set(PROPERTY_INVOICEDISCOUNTLIST, invoiceDiscountList);
     public List<InvoiceLine> getInvoiceLineList() {
       return (List<InvoiceLine>) get(PROPERTY_INVOICELINELIST);
     public void setInvoiceLineList(List<InvoiceLine> invoiceLineList) {
         set(PROPERTY_INVOICELINELIST, invoiceLineList);
     public List<InvoiceLineTax> getInvoiceLineTaxList() {
       return (List<InvoiceLineTax>) get(PROPERTY_INVOICELINETAXLIST);
     public void setInvoiceLineTaxList(List<InvoiceLineTax> invoiceLineTaxList) {
         set(PROPERTY_INVOICELINETAXLIST, invoiceLineTaxList);
     public List<InvoiceLineV2> getInvoiceLineV2List() {
       return (List<InvoiceLineV2>) get(PROPERTY_INVOICELINEV2LIST);
     public void setInvoiceLineV2List(List<InvoiceLineV2> invoiceLineV2List) {
         set(PROPERTY_INVOICELINEV2LIST, invoiceLineV2List);
     public List<InvoiceTax> getInvoiceTaxList() {
       return (List<InvoiceTax>) get(PROPERTY_INVOICETAXLIST);
     public void setInvoiceTaxList(List<InvoiceTax> invoiceTaxList) {
         set(PROPERTY_INVOICETAXLIST, invoiceTaxList);
     public List<InvoiceV2> getInvoiceV2List() {
       return (List<InvoiceV2>) get(PROPERTY_INVOICEV2LIST);
     public void setInvoiceV2List(List<InvoiceV2> invoiceV2List) {
         set(PROPERTY_INVOICEV2LIST, invoiceV2List);
     public List<ShipmentInOut> getMaterialMgmtShipmentInOutList() {
     public void setMaterialMgmtShipmentInOutList(List<ShipmentInOut> materialMgmtShipmentInOutList) {
         set(PROPERTY_MATERIALMGMTSHIPMENTINOUTLIST, materialMgmtShipmentInOutList);
     public List<DiscountInvoice> getPricingVolumeDiscountInvoiceList() {
     public void setPricingVolumeDiscountInvoiceList(List<DiscountInvoice> pricingVolumeDiscountInvoiceList) {
         set(PROPERTY_PRICINGVOLUMEDISCOUNTINVOICELIST, pricingVolumeDiscountInvoiceList);
     public List<ReversedInvoice> getReversedInvoicesList() {
       return (List<ReversedInvoice>) get(PROPERTY_REVERSEDINVOICESLIST);
     public void setReversedInvoicesList(List<ReversedInvoice> reversedInvoicesList) {
         set(PROPERTY_REVERSEDINVOICESLIST, reversedInvoicesList);
     public List<ReversedInvoice> getReversedInvoicesReversedInvoiceList() {
     public void setReversedInvoicesReversedInvoiceList(List<ReversedInvoice> reversedInvoicesReversedInvoiceList) {
         set(PROPERTY_REVERSEDINVOICESREVERSEDINVOICELIST, reversedInvoicesReversedInvoiceList);
     public List<CommissionRun> getSalesCommissionRunList() {
       return (List<CommissionRun>) get(PROPERTY_SALESCOMMISSIONRUNLIST);
     public void setSalesCommissionRunList(List<CommissionRun> salesCommissionRunList) {
         set(PROPERTY_SALESCOMMISSIONRUNLIST, salesCommissionRunList);

Retrieved from ""

This page has been accessed 2,785 times. This page was last modified on 2 February 2015, at 14:01. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.