View source | Discuss this page | Page history | Printable version   

ERP/2.50/Developers Guide/Reference/Entity Model/BusinessPartner

BusinessPartner

The Business Partner table defines any entity with whom an organization transacts. The entity could be a customer or/and a vendor or/and an employee. Customer defines a Business Partner who is a customer of this organization. If the Customer check box is selected then the necessary fields will display. Vendor defines a Business Partner that is a Vendor for this Organization. If the Vendor check box is selected the necessary fields will display. Employee defines a Business Partner who is an Employee of this organization. If the Employee is also a Sales Representative then the check box should be selected.

To the database table (C_BPartner) of this entity.

Back to the entity model.

Properties

Note:

Property Column Constraints Type Description
id* C_BPartner_ID Mandatory
Max Length: 32
java.lang.String A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
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.
searchKey Value Mandatory
Max Length: 40
java.lang.String A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).

Usually, company's internal identifiers for various records (products, customers, etc) are stored here.

name# Name Mandatory
Max Length: 60
java.lang.String A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
name2 Name2 Max Length: 60 java.lang.String Additional Name
description Description Max Length: 255 java.lang.String A description is limited to 255 characters.
summaryLevel IsSummary Mandatory java.lang.Boolean A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.
businessPartnerCategory C_BP_Group_ID Mandatory BusinessPartnerCategory 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.
oneTimeTransaction IsOneTime Mandatory java.lang.Boolean
potentialCustomer IsProspect Mandatory java.lang.Boolean The Prospect checkbox indicates an entity that is an active prospect or customer.
vendor IsVendor Mandatory java.lang.Boolean The Vendor checkbox indicates if this Business Partner is a Vendor. If it is selected, additional fields will display which further identify this vendor.
customer IsCustomer Mandatory java.lang.Boolean Indicates a business partner that is your customer, ie. that will be making purchases from you. If selected, additional fields will display further details that need to be entered for a customer.
employee IsEmployee Mandatory java.lang.Boolean The Employee checkbox indicates if this Business Partner is an Employee. If it is selected, additional fields will display which further identify this employee.
isSalesRepresentative IsSalesRep Mandatory java.lang.Boolean The Sales Rep checkbox indicates if this employee is also a sales representative.
referenceNo ReferenceNo Max Length: 40 java.lang.String The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.
dUNS DUNS Max Length: 11 java.lang.String Used for EDI - For details see www.dnb.com/dunsno/list.htm
uRL URL Max Length: 120 java.lang.String The URL defines an online address for this element.
language AD_Language ADLanguage The Language identifies the language to use for display
taxID TaxID Max Length: 20 java.lang.String The Tax ID field identifies the legal Identification number of this Entity.
taxExempt IsTaxExempt java.lang.Boolean If a business partner is exempt from tax, the exempt tax rate is used. For this, you need to set up a tax rate with a 0% rate and indicate that this is your tax exempt rate. This is required for tax reporting, so that you can track tax exempt transactions.
invoiceSchedule C_InvoiceSchedule_ID InvoiceSchedule The Invoice Schedule identifies the frequency used when generating invoices.
valuation Rating Max Length: 1 java.lang.String The Rating is used to differentiate the importance
volumeOfSales SalesVolume java.math.BigDecimal The Sales Volume indicates the total volume of sales for a Business Partner.
noOfEmployees NumberEmployees java.lang.Long Indicates the number of employees for this Business Partner. This field displays only for Prospects.
nAICSSIC NAICS Max Length: 6 java.lang.String The NAICS/SIC identifies either of these codes that may be applicable to this Business Partner.
dateOfFirstSale FirstSale java.util.Date The First Sale Date identifies the date of the first sale to this Business Partner
acquisitionCost AcqusitionCost java.math.BigDecimal The Acquisition Cost identifies the cost associated with making this prospect a customer.
expectedLifetimeRevenue PotentialLifeTimeValue java.math.BigDecimal The Potential Life Time Value is the anticipated revenue to be generated by this Business Partner.
lifetimeRevenueToDate ActualLifeTimeValue java.math.BigDecimal The Actual Life Time Value is the recorded revenue to be generated by this Business Partner.
share ShareOfCustomer java.lang.Long The Share indicates the percentage of this Business Partner's volume of the products supplied.
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.)
creditLimit SO_CreditLimit java.math.BigDecimal The Credit Line Limit indicates the total amount allowed 'on account'. If this is exceeded a warning message will be generated.
creditUsed SO_CreditUsed java.math.BigDecimal The Customer Balance indicates the total amount of open or unpaid invoices for this Business Partner.
paymentTerms C_PaymentTerm_ID FinancialMgmtPaymentTerm Payment Terms identify the method and timing of payment for this transaction.
priceList M_PriceList_ID PricingPriceList

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

printDiscount IsDiscountPrinted java.lang.Boolean The Discount Printed Checkbox indicates if the discount will be printed on the document.
orderDescription SO_Description Max Length: 255 java.lang.String The Order Description identifies the standard description to use on orders for this Customer.
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.
pOFormOfPayment PaymentRulePO Max Length: 60 java.lang.String The Payment Rule indicates the method of purchase payment.
purchasePricelist PO_PriceList_ID PricingPriceList Identifies the price list used by a Vendor for products purchased by this organization.
pOPaymentTerms PO_PaymentTerm_ID FinancialMgmtPaymentTerm The PO Payment Term indicates the payment term that will be used when this purchase order becomes an invoice.
numberOfCopies DocumentCopies java.lang.Long The Document Copies indicates the number of copies of each document that will be generated.
greeting C_Greeting_ID Greeting The Greeting identifies the greeting to print on correspondence.
invoiceTerms InvoiceRule Max Length: 60 java.lang.String The Invoice Rule defines how a Business Partner is invoiced and the frequency of invoicing.
deliveryTerms DeliveryRule Max Length: 60 java.lang.String The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.
deliveryMethod DeliveryViaRule Max Length: 60 java.lang.String The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.
salesRepresentative SalesRep_ID BusinessPartner 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.
partnerParent BPartner_Parent_ID Max Length: 32 java.lang.String The parent (organization) of the Business Partner for reporting purposes.
creditStatus SOCreditStatus Max Length: 60 java.lang.String For Documentation only
forcedOrg AD_Forced_Org_ID Organization
pricesShownInOrder ShowPriceInOrder Mandatory java.lang.Boolean When not checked prices are not shown (left blank) in the printed order document
invoiceGrouping Invoicegrouping Max Length: 60 java.lang.String For scheduled invoicing, break into different invoices if the related values are different. The value is used as a binary code with 15 digits:

1.-Order organization (AD_Org_ID) 2.-Order (C_Order_ID) 3.-Shipment (M_InOut_ID) 4.-Invoice location (BillTo_ID) 5.-Ship location (C_BPartner_Location_ID) 6.-Sales representative (SalesRep_ID) 7.-Payment rule (PaymentRule) 8.-Payment term (C_PaymentTerm_ID) 9.-Currency (C_Currency_ID) 10.-Campaign (C_Campaign_ID) 11.-Project (C_Project_ID) 12.-Activity (C_Activity_ID) 13.-Transaction organization (AD_OrgTrx_ID) 14.-User defined 1 (User1) 15.-User defined 2 (User2)

For example, if you want to create different invoices for each ship location for a customer, use the value "By ship location" (000010000000000)

maturityDate1 FixMonthDay Min: 1
Max: 31
java.lang.Long The Fix Month Day indicates the day of the month that invoices are due. This field is displayed only when the fixed due date checkbox is selected. 3 different fix month days can be defined.
maturityDate2 FixMonthDay2 Min: 1
Max: 31
java.lang.Long The Fix Month Day indicates the day of the month that invoices are due. This field is displayed only when the fixed due date checkbox is selected. 3 different fix month days can be defined.
maturityDate3 Fixmonthday3 Min: 1
Max: 31
java.lang.Long The Fix Month Day indicates the day of the month that invoices are due. This field is displayed only when the fixed due date checkbox is selected. 3 different fix month days can be defined.
operator Isworker java.lang.Boolean
uPCEAN UPC Max Length: 30 java.lang.String Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode)
salaryCategory C_Salary_Category_ID SalaryCategory Indicates a salary category
invoicePrintformat Invoice_Printformat Max Length: 60 java.lang.String You need to define a Print Format to print the document.
consumptionDays Last_Days java.lang.Long This field is used Copy Lines From in Order tab to specify the consumptions made in the last n days.
bankAccount PO_Bankaccount_ID BankAccount Default Vendor Bank Account
taxCategory PO_BP_TaxCategory_ID BusinessPartnerTaxCategory PO Bussines Partner Tax Category is a category defined for apply default taxes for procurement transactions.
pOMaturityDate1 PO_Fixmonthday Min: 1
Max: 31
java.lang.Long The Fix Month Day for Purchases indicates the day of the month that invoices are due. This field only displays if the fixed due date checkbox is selected. 3 different Fix Month Days can be defined.
pOMaturityDate2 PO_Fixmonthday2 Min: 1
Max: 31
java.lang.Long The Fix Month Day for Purchases indicates the day of the month that invoices are due. This field only displays if the fixed due date checkbox is selected. 3 different Fix Month Days can be defined.
pOMaturityDate3 PO_Fixmonthday3 Min: 1
Max: 31
java.lang.Long The Fix Month Day for Purchases indicates the day of the month that invoices are due. This field only displays if the fixed due date checkbox is selected. 3 different Fix Month Days can be defined.
transactionalBankAccount SO_Bankaccount_ID BankAccount Default Customer Bankaccount
sOBPTaxCategory SO_Bp_Taxcategory_ID BusinessPartnerTaxCategory Bussines Partner Tax Category is a category defined for apply default taxes for sales transactions.
fiscalcode Fiscalcode Max Length: 16 java.lang.String
isofiscalcode Isofiscalcode Max Length: 2 java.lang.String
incotermsPO PO_C_Incoterms_ID FinancialMgmtIncoterms
incotermsSO SO_C_Incoterms_ID FinancialMgmtIncoterms
paymentMethod FIN_Paymentmethod_ID FIN_PaymentMethod
pOPaymentMethod PO_Paymentmethod_ID FIN_PaymentMethod
account FIN_Financial_Account_ID FIN_Financial_Account Financial account used to deposit / withdrawal money such as bank accounts or petty cash
pOFinancialAccount PO_Financial_Account_ID FIN_Financial_Account Financial account used to deposit / withdrawal money such as bank accounts or petty cash
employeeAccountsList List of EmployeeAccounts
customerAccountsList List of CustomerAccounts
timeAndExpenseSheetLineVList List of TimeAndExpenseSheetLineV
businessPartnerBankAccountList List of BusinessPartnerBankAccount
approvedVendorList List of ApprovedVendor
financialMgmtAssetList List of FinancialMgmtAsset
businessPartnerDiscountList List of BusinessPartnerDiscount
timeAndExpenseSheetLineList List of TimeAndExpenseSheetLine
invoiceList List of Invoice
pricingVolumeDiscountBusinessPartnerList List of PricingVolumeDiscountBusinessPartner
employeeSalaryCategoryList List of EmployeeSalaryCategory
aDUserList List of ADUser
businessPartnerWithholdingList List of BusinessPartnerWithholding
businessPartnerLocationList List of BusinessPartnerLocation
warehouseShipperList List of WarehouseShipper
vendorAccountsList List of VendorAccounts

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 http://www.openbravo.com/legal/license.html
 * 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-2010 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
*/
package org.openbravo.model.common.businesspartner;
 
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.ad.access.User;
import org.openbravo.model.ad.system.Client;
import org.openbravo.model.ad.system.Language;
import org.openbravo.model.common.bank.BankAccount;
import org.openbravo.model.common.enterprise.Organization;
import org.openbravo.model.common.enterprise.WarehouseShipper;
import org.openbravo.model.common.hcm.SalaryCategory;
import org.openbravo.model.common.invoice.Invoice;
import org.openbravo.model.common.invoice.InvoiceSchedule;
import org.openbravo.model.common.plm.ApprovedVendor;
import org.openbravo.model.financialmgmt.assetmgmt.Asset;
import org.openbravo.model.financialmgmt.payment.Incoterms;
import org.openbravo.model.financialmgmt.payment.PaymentTerm;
import org.openbravo.model.pricing.pricelist.PriceList;
import org.openbravo.model.timeandexpense.SheetLine;
import org.openbravo.model.timeandexpense.SheetLineV;
 
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
 
import java.math.BigDecimal;
 
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
/**
 * Entity class for entity BusinessPartner (stored in table C_BPartner).
 *
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 */
public class BusinessPartner extends BaseOBObject implements Traceable,
    ClientEnabled, OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "C_BPartner";
    public static final String BusinessPartner = "BusinessPartner";
    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_SEARCHKEY = "searchKey";
    public static final String PROPERTY_NAME = "name";
    public static final String PROPERTY_NAME2 = "name2";
    public static final String PROPERTY_DESCRIPTION = "description";
    public static final String PROPERTY_SUMMARYLEVEL = "summaryLevel";
    public static final String PROPERTY_BUSINESSPARTNERCATEGORY =
        "businessPartnerCategory";
    public static final String PROPERTY_ONETIMETRANSACTION =
        "oneTimeTransaction";
    public static final String PROPERTY_POTENTIALCUSTOMER = "potentialCustomer";
    public static final String PROPERTY_VENDOR = "vendor";
    public static final String PROPERTY_CUSTOMER = "customer";
    public static final String PROPERTY_EMPLOYEE = "employee";
    public static final String PROPERTY_ISSALESREPRESENTATIVE =
        "isSalesRepresentative";
    public static final String PROPERTY_REFERENCENO = "referenceNo";
    public static final String PROPERTY_DUNS = "dUNS";
    public static final String PROPERTY_URL = "uRL";
    public static final String PROPERTY_LANGUAGE = "language";
    public static final String PROPERTY_TAXID = "taxID";
    public static final String PROPERTY_TAXEXEMPT = "taxExempt";
    public static final String PROPERTY_INVOICESCHEDULE = "invoiceSchedule";
    public static final String PROPERTY_VALUATION = "valuation";
    public static final String PROPERTY_VOLUMEOFSALES = "volumeOfSales";
    public static final String PROPERTY_NOOFEMPLOYEES = "noOfEmployees";
    public static final String PROPERTY_NAICSSIC = "nAICSSIC";
    public static final String PROPERTY_DATEOFFIRSTSALE = "dateOfFirstSale";
    public static final String PROPERTY_ACQUISITIONCOST = "acquisitionCost";
    public static final String PROPERTY_EXPECTEDLIFETIMEREVENUE =
        "expectedLifetimeRevenue";
    public static final String PROPERTY_LIFETIMEREVENUETODATE =
        "lifetimeRevenueToDate";
    public static final String PROPERTY_SHARE = "share";
    public static final String PROPERTY_FORMOFPAYMENT = "formOfPayment";
    public static final String PROPERTY_CREDITLIMIT = "creditLimit";
    public static final String PROPERTY_CREDITUSED = "creditUsed";
    public static final String PROPERTY_PAYMENTTERMS = "paymentTerms";
    public static final String PROPERTY_PRICELIST = "priceList";
    public static final String PROPERTY_PRINTDISCOUNT = "printDiscount";
    public static final String PROPERTY_ORDERDESCRIPTION = "orderDescription";
    public static final String PROPERTY_ORDERREFERENCE = "orderReference";
    public static final String PROPERTY_POFORMOFPAYMENT = "pOFormOfPayment";
    public static final String PROPERTY_PURCHASEPRICELIST = "purchasePricelist";
    public static final String PROPERTY_POPAYMENTTERMS = "pOPaymentTerms";
    public static final String PROPERTY_NUMBEROFCOPIES = "numberOfCopies";
    public static final String PROPERTY_GREETING = "greeting";
    public static final String PROPERTY_INVOICETERMS = "invoiceTerms";
    public static final String PROPERTY_DELIVERYTERMS = "deliveryTerms";
    public static final String PROPERTY_DELIVERYMETHOD = "deliveryMethod";
    public static final String PROPERTY_SALESREPRESENTATIVE =
        "salesRepresentative";
    public static final String PROPERTY_PARTNERPARENT = "partnerParent";
    public static final String PROPERTY_CREDITSTATUS = "creditStatus";
    public static final String PROPERTY_FORCEDORG = "forcedOrg";
    public static final String PROPERTY_PRICESSHOWNINORDER =
        "pricesShownInOrder";
    public static final String PROPERTY_INVOICEGROUPING = "invoiceGrouping";
    public static final String PROPERTY_MATURITYDATE1 = "maturityDate1";
    public static final String PROPERTY_MATURITYDATE2 = "maturityDate2";
    public static final String PROPERTY_MATURITYDATE3 = "maturityDate3";
    public static final String PROPERTY_OPERATOR = "operator";
    public static final String PROPERTY_UPCEAN = "uPCEAN";
    public static final String PROPERTY_SALARYCATEGORY = "salaryCategory";
    public static final String PROPERTY_INVOICEPRINTFORMAT =
        "invoicePrintformat";
    public static final String PROPERTY_CONSUMPTIONDAYS = "consumptionDays";
    public static final String PROPERTY_BANKACCOUNT = "bankAccount";
    public static final String PROPERTY_TAXCATEGORY = "taxCategory";
    public static final String PROPERTY_POMATURITYDATE1 = "pOMaturityDate1";
    public static final String PROPERTY_POMATURITYDATE2 = "pOMaturityDate2";
    public static final String PROPERTY_POMATURITYDATE3 = "pOMaturityDate3";
    public static final String PROPERTY_TRANSACTIONALBANKACCOUNT =
        "transactionalBankAccount";
    public static final String PROPERTY_SOBPTAXCATEGORY = "sOBPTaxCategory";
    public static final String PROPERTY_FISCALCODE = "fiscalcode";
    public static final String PROPERTY_ISOFISCALCODE = "isofiscalcode";
    public static final String PROPERTY_INCOTERMSPO = "incotermsPO";
    public static final String PROPERTY_INCOTERMSSO = "incotermsSO";
    public static final String PROPERTY_PAYMENTMETHOD = "paymentMethod";
    public static final String PROPERTY_POPAYMENTMETHOD = "pOPaymentMethod";
    public static final String PROPERTY_ACCOUNT = "account";
    public static final String PROPERTY_POFINANCIALACCOUNT =
        "pOFinancialAccount";
    public static final String PROPERTY_EMPLOYEEACCOUNTSLIST =
        "employeeAccountsList";
    public static final String PROPERTY_CUSTOMERACCOUNTSLIST =
        "customerAccountsList";
    public static final String PROPERTY_TIMEANDEXPENSESHEETLINEVLIST =
        "timeAndExpenseSheetLineVList";
    public static final String PROPERTY_BUSINESSPARTNERBANKACCOUNTLIST =
        "businessPartnerBankAccountList";
    public static final String PROPERTY_APPROVEDVENDORLIST =
        "approvedVendorList";
    public static final String PROPERTY_FINANCIALMGMTASSETLIST =
        "financialMgmtAssetList";
    public static final String PROPERTY_BUSINESSPARTNERDISCOUNTLIST =
        "businessPartnerDiscountList";
    public static final String PROPERTY_TIMEANDEXPENSESHEETLINELIST =
        "timeAndExpenseSheetLineList";
    public static final String PROPERTY_INVOICELIST = "invoiceList";
    public static final String PROPERTY_PRICINGVOLUMEDISCOUNTBUSINESSPARTNERLIST =
        "pricingVolumeDiscountBusinessPartnerList";
    public static final String PROPERTY_EMPLOYEESALARYCATEGORYLIST =
        "employeeSalaryCategoryList";
    public static final String PROPERTY_ADUSERLIST = "aDUserList";
    public static final String PROPERTY_BUSINESSPARTNERWITHHOLDINGLIST =
        "businessPartnerWithholdingList";
    public static final String PROPERTY_BUSINESSPARTNERLOCATIONLIST =
        "businessPartnerLocationList";
    public static final String PROPERTY_WAREHOUSESHIPPERLIST =
        "warehouseShipperList";
    public static final String PROPERTY_VENDORACCOUNTSLIST =
        "vendorAccountsList";
 
    public BusinessPartner() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_SUMMARYLEVEL, false);
        setDefaultValue(PROPERTY_ONETIMETRANSACTION, false);
        setDefaultValue(PROPERTY_POTENTIALCUSTOMER, false);
        setDefaultValue(PROPERTY_VENDOR, false);
        setDefaultValue(PROPERTY_CUSTOMER, true);
        setDefaultValue(PROPERTY_EMPLOYEE, false);
        setDefaultValue(PROPERTY_ISSALESREPRESENTATIVE, false);
        setDefaultValue(PROPERTY_TAXEXEMPT, false);
        setDefaultValue(PROPERTY_PRINTDISCOUNT, false);
        setDefaultValue(PROPERTY_INVOICETERMS, "I");
        setDefaultValue(PROPERTY_PRICESSHOWNINORDER, true);
        setDefaultValue(PROPERTY_INVOICEGROUPING, "000000000000000");
        setDefaultValue(PROPERTY_OPERATOR, false);
        setDefaultValue(PROPERTY_EMPLOYEEACCOUNTSLIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_CUSTOMERACCOUNTSLIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_TIMEANDEXPENSESHEETLINEVLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_BUSINESSPARTNERBANKACCOUNTLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_APPROVEDVENDORLIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_FINANCIALMGMTASSETLIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_BUSINESSPARTNERDISCOUNTLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_TIMEANDEXPENSESHEETLINELIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_INVOICELIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_PRICINGVOLUMEDISCOUNTBUSINESSPARTNERLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_EMPLOYEESALARYCATEGORYLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_ADUSERLIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_BUSINESSPARTNERWITHHOLDINGLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_BUSINESSPARTNERLOCATIONLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_WAREHOUSESHIPPERLIST, new ArrayList<Object>());
        setDefaultValue(PROPERTY_VENDORACCOUNTSLIST, new ArrayList<Object>());
    }
 
    @Override
    public String getEntityName() {
        return BusinessPartner;
    }
 
    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 String getSearchKey() {
        return (String) get(PROPERTY_SEARCHKEY);
    }
 
    public void setSearchKey(String searchKey) {
        set(PROPERTY_SEARCHKEY, searchKey);
    }
 
    public String getName() {
        return (String) get(PROPERTY_NAME);
    }
 
    public void setName(String name) {
        set(PROPERTY_NAME, name);
    }
 
    public String getName2() {
        return (String) get(PROPERTY_NAME2);
    }
 
    public void setName2(String name2) {
        set(PROPERTY_NAME2, name2);
    }
 
    public String getDescription() {
        return (String) get(PROPERTY_DESCRIPTION);
    }
 
    public void setDescription(String description) {
        set(PROPERTY_DESCRIPTION, description);
    }
 
    public Boolean isSummaryLevel() {
        return (Boolean) get(PROPERTY_SUMMARYLEVEL);
    }
 
    public void setSummaryLevel(Boolean summaryLevel) {
        set(PROPERTY_SUMMARYLEVEL, summaryLevel);
    }
 
    public Category getBusinessPartnerCategory() {
        return (Category) get(PROPERTY_BUSINESSPARTNERCATEGORY);
    }
 
    public void setBusinessPartnerCategory(Category businessPartnerCategory) {
        set(PROPERTY_BUSINESSPARTNERCATEGORY, businessPartnerCategory);
    }
 
    public Boolean isOneTimeTransaction() {
        return (Boolean) get(PROPERTY_ONETIMETRANSACTION);
    }
 
    public void setOneTimeTransaction(Boolean oneTimeTransaction) {
        set(PROPERTY_ONETIMETRANSACTION, oneTimeTransaction);
    }
 
    public Boolean isPotentialCustomer() {
        return (Boolean) get(PROPERTY_POTENTIALCUSTOMER);
    }
 
    public void setPotentialCustomer(Boolean potentialCustomer) {
        set(PROPERTY_POTENTIALCUSTOMER, potentialCustomer);
    }
 
    public Boolean isVendor() {
        return (Boolean) get(PROPERTY_VENDOR);
    }
 
    public void setVendor(Boolean vendor) {
        set(PROPERTY_VENDOR, vendor);
    }
 
    public Boolean isCustomer() {
        return (Boolean) get(PROPERTY_CUSTOMER);
    }
 
    public void setCustomer(Boolean customer) {
        set(PROPERTY_CUSTOMER, customer);
    }
 
    public Boolean isEmployee() {
        return (Boolean) get(PROPERTY_EMPLOYEE);
    }
 
    public void setEmployee(Boolean employee) {
        set(PROPERTY_EMPLOYEE, employee);
    }
 
    public Boolean isSalesRepresentative() {
        return (Boolean) get(PROPERTY_ISSALESREPRESENTATIVE);
    }
 
    public void setSalesRepresentative(Boolean isSalesRepresentative) {
        set(PROPERTY_ISSALESREPRESENTATIVE, isSalesRepresentative);
    }
 
    public String getReferenceNo() {
        return (String) get(PROPERTY_REFERENCENO);
    }
 
    public void setReferenceNo(String referenceNo) {
        set(PROPERTY_REFERENCENO, referenceNo);
    }
 
    public String getDUNS() {
        return (String) get(PROPERTY_DUNS);
    }
 
    public void setDUNS(String dUNS) {
        set(PROPERTY_DUNS, dUNS);
    }
 
    public String getURL() {
        return (String) get(PROPERTY_URL);
    }
 
    public void setURL(String uRL) {
        set(PROPERTY_URL, uRL);
    }
 
    public Language getLanguage() {
        return (Language) get(PROPERTY_LANGUAGE);
    }
 
    public void setLanguage(Language language) {
        set(PROPERTY_LANGUAGE, language);
    }
 
    public String getTaxID() {
        return (String) get(PROPERTY_TAXID);
    }
 
    public void setTaxID(String taxID) {
        set(PROPERTY_TAXID, taxID);
    }
 
    public Boolean isTaxExempt() {
        return (Boolean) get(PROPERTY_TAXEXEMPT);
    }
 
    public void setTaxExempt(Boolean taxExempt) {
        set(PROPERTY_TAXEXEMPT, taxExempt);
    }
 
    public InvoiceSchedule getInvoiceSchedule() {
        return (InvoiceSchedule) get(PROPERTY_INVOICESCHEDULE);
    }
 
    public void setInvoiceSchedule(InvoiceSchedule invoiceSchedule) {
        set(PROPERTY_INVOICESCHEDULE, invoiceSchedule);
    }
 
    public String getValuation() {
        return (String) get(PROPERTY_VALUATION);
    }
 
    public void setValuation(String valuation) {
        set(PROPERTY_VALUATION, valuation);
    }
 
    public BigDecimal getVolumeOfSales() {
        return (BigDecimal) get(PROPERTY_VOLUMEOFSALES);
    }
 
    public void setVolumeOfSales(BigDecimal volumeOfSales) {
        set(PROPERTY_VOLUMEOFSALES, volumeOfSales);
    }
 
    public Long getNoOfEmployees() {
        return (Long) get(PROPERTY_NOOFEMPLOYEES);
    }
 
    public void setNoOfEmployees(Long noOfEmployees) {
        set(PROPERTY_NOOFEMPLOYEES, noOfEmployees);
    }
 
    public String getNAICSSIC() {
        return (String) get(PROPERTY_NAICSSIC);
    }
 
    public void setNAICSSIC(String nAICSSIC) {
        set(PROPERTY_NAICSSIC, nAICSSIC);
    }
 
    public Date getDateOfFirstSale() {
        return (Date) get(PROPERTY_DATEOFFIRSTSALE);
    }
 
    public void setDateOfFirstSale(Date dateOfFirstSale) {
        set(PROPERTY_DATEOFFIRSTSALE, dateOfFirstSale);
    }
 
    public BigDecimal getAcquisitionCost() {
        return (BigDecimal) get(PROPERTY_ACQUISITIONCOST);
    }
 
    public void setAcquisitionCost(BigDecimal acquisitionCost) {
        set(PROPERTY_ACQUISITIONCOST, acquisitionCost);
    }
 
    public BigDecimal getExpectedLifetimeRevenue() {
        return (BigDecimal) get(PROPERTY_EXPECTEDLIFETIMEREVENUE);
    }
 
    public void setExpectedLifetimeRevenue(BigDecimal expectedLifetimeRevenue) {
        set(PROPERTY_EXPECTEDLIFETIMEREVENUE, expectedLifetimeRevenue);
    }
 
    public BigDecimal getLifetimeRevenueToDate() {
        return (BigDecimal) get(PROPERTY_LIFETIMEREVENUETODATE);
    }
 
    public void setLifetimeRevenueToDate(BigDecimal lifetimeRevenueToDate) {
        set(PROPERTY_LIFETIMEREVENUETODATE, lifetimeRevenueToDate);
    }
 
    public Long getShare() {
        return (Long) get(PROPERTY_SHARE);
    }
 
    public void setShare(Long share) {
        set(PROPERTY_SHARE, share);
    }
 
    public String getFormOfPayment() {
        return (String) get(PROPERTY_FORMOFPAYMENT);
    }
 
    public void setFormOfPayment(String formOfPayment) {
        set(PROPERTY_FORMOFPAYMENT, formOfPayment);
    }
 
    public BigDecimal getCreditLimit() {
        return (BigDecimal) get(PROPERTY_CREDITLIMIT);
    }
 
    public void setCreditLimit(BigDecimal creditLimit) {
        set(PROPERTY_CREDITLIMIT, creditLimit);
    }
 
    public BigDecimal getCreditUsed() {
        return (BigDecimal) get(PROPERTY_CREDITUSED);
    }
 
    public void setCreditUsed(BigDecimal creditUsed) {
        set(PROPERTY_CREDITUSED, creditUsed);
    }
 
    public PaymentTerm getPaymentTerms() {
        return (PaymentTerm) get(PROPERTY_PAYMENTTERMS);
    }
 
    public void setPaymentTerms(PaymentTerm paymentTerms) {
        set(PROPERTY_PAYMENTTERMS, paymentTerms);
    }
 
    public PriceList getPriceList() {
        return (PriceList) get(PROPERTY_PRICELIST);
    }
 
    public void setPriceList(PriceList priceList) {
        set(PROPERTY_PRICELIST, priceList);
    }
 
    public Boolean isPrintDiscount() {
        return (Boolean) get(PROPERTY_PRINTDISCOUNT);
    }
 
    public void setPrintDiscount(Boolean printDiscount) {
        set(PROPERTY_PRINTDISCOUNT, printDiscount);
    }
 
    public String getOrderDescription() {
        return (String) get(PROPERTY_ORDERDESCRIPTION);
    }
 
    public void setOrderDescription(String orderDescription) {
        set(PROPERTY_ORDERDESCRIPTION, orderDescription);
    }
 
    public String getOrderReference() {
        return (String) get(PROPERTY_ORDERREFERENCE);
    }
 
    public void setOrderReference(String orderReference) {
        set(PROPERTY_ORDERREFERENCE, orderReference);
    }
 
    public String getPOFormOfPayment() {
        return (String) get(PROPERTY_POFORMOFPAYMENT);
    }
 
    public void setPOFormOfPayment(String pOFormOfPayment) {
        set(PROPERTY_POFORMOFPAYMENT, pOFormOfPayment);
    }
 
    public PriceList getPurchasePricelist() {
        return (PriceList) get(PROPERTY_PURCHASEPRICELIST);
    }
 
    public void setPurchasePricelist(PriceList purchasePricelist) {
        set(PROPERTY_PURCHASEPRICELIST, purchasePricelist);
    }
 
    public PaymentTerm getPOPaymentTerms() {
        return (PaymentTerm) get(PROPERTY_POPAYMENTTERMS);
    }
 
    public void setPOPaymentTerms(PaymentTerm pOPaymentTerms) {
        set(PROPERTY_POPAYMENTTERMS, pOPaymentTerms);
    }
 
    public Long getNumberOfCopies() {
        return (Long) get(PROPERTY_NUMBEROFCOPIES);
    }
 
    public void setNumberOfCopies(Long numberOfCopies) {
        set(PROPERTY_NUMBEROFCOPIES, numberOfCopies);
    }
 
    public Greeting getGreeting() {
        return (Greeting) get(PROPERTY_GREETING);
    }
 
    public void setGreeting(Greeting greeting) {
        set(PROPERTY_GREETING, greeting);
    }
 
    public String getInvoiceTerms() {
        return (String) get(PROPERTY_INVOICETERMS);
    }
 
    public void setInvoiceTerms(String invoiceTerms) {
        set(PROPERTY_INVOICETERMS, invoiceTerms);
    }
 
    public String getDeliveryTerms() {
        return (String) get(PROPERTY_DELIVERYTERMS);
    }
 
    public void setDeliveryTerms(String deliveryTerms) {
        set(PROPERTY_DELIVERYTERMS, deliveryTerms);
    }
 
    public String getDeliveryMethod() {
        return (String) get(PROPERTY_DELIVERYMETHOD);
    }
 
    public void setDeliveryMethod(String deliveryMethod) {
        set(PROPERTY_DELIVERYMETHOD, deliveryMethod);
    }
 
    public BusinessPartner getSalesRepresentative() {
        return (BusinessPartner) get(PROPERTY_SALESREPRESENTATIVE);
    }
 
    public void setSalesRepresentative(BusinessPartner salesRepresentative) {
        set(PROPERTY_SALESREPRESENTATIVE, salesRepresentative);
    }
 
    public String getPartnerParent() {
        return (String) get(PROPERTY_PARTNERPARENT);
    }
 
    public void setPartnerParent(String partnerParent) {
        set(PROPERTY_PARTNERPARENT, partnerParent);
    }
 
    public String getCreditStatus() {
        return (String) get(PROPERTY_CREDITSTATUS);
    }
 
    public void setCreditStatus(String creditStatus) {
        set(PROPERTY_CREDITSTATUS, creditStatus);
    }
 
    public Organization getForcedOrg() {
        return (Organization) get(PROPERTY_FORCEDORG);
    }
 
    public void setForcedOrg(Organization forcedOrg) {
        set(PROPERTY_FORCEDORG, forcedOrg);
    }
 
    public Boolean isPricesShownInOrder() {
        return (Boolean) get(PROPERTY_PRICESSHOWNINORDER);
    }
 
    public void setPricesShownInOrder(Boolean pricesShownInOrder) {
        set(PROPERTY_PRICESSHOWNINORDER, pricesShownInOrder);
    }
 
    public String getInvoiceGrouping() {
        return (String) get(PROPERTY_INVOICEGROUPING);
    }
 
    public void setInvoiceGrouping(String invoiceGrouping) {
        set(PROPERTY_INVOICEGROUPING, invoiceGrouping);
    }
 
    public Long getMaturityDate1() {
        return (Long) get(PROPERTY_MATURITYDATE1);
    }
 
    public void setMaturityDate1(Long maturityDate1) {
        set(PROPERTY_MATURITYDATE1, maturityDate1);
    }
 
    public Long getMaturityDate2() {
        return (Long) get(PROPERTY_MATURITYDATE2);
    }
 
    public void setMaturityDate2(Long maturityDate2) {
        set(PROPERTY_MATURITYDATE2, maturityDate2);
    }
 
    public Long getMaturityDate3() {
        return (Long) get(PROPERTY_MATURITYDATE3);
    }
 
    public void setMaturityDate3(Long maturityDate3) {
        set(PROPERTY_MATURITYDATE3, maturityDate3);
    }
 
    public Boolean isOperator() {
        return (Boolean) get(PROPERTY_OPERATOR);
    }
 
    public void setOperator(Boolean operator) {
        set(PROPERTY_OPERATOR, operator);
    }
 
    public String getUPCEAN() {
        return (String) get(PROPERTY_UPCEAN);
    }
 
    public void setUPCEAN(String uPCEAN) {
        set(PROPERTY_UPCEAN, uPCEAN);
    }
 
    public SalaryCategory getSalaryCategory() {
        return (SalaryCategory) get(PROPERTY_SALARYCATEGORY);
    }
 
    public void setSalaryCategory(SalaryCategory salaryCategory) {
        set(PROPERTY_SALARYCATEGORY, salaryCategory);
    }
 
    public String getInvoicePrintformat() {
        return (String) get(PROPERTY_INVOICEPRINTFORMAT);
    }
 
    public void setInvoicePrintformat(String invoicePrintformat) {
        set(PROPERTY_INVOICEPRINTFORMAT, invoicePrintformat);
    }
 
    public Long getConsumptionDays() {
        return (Long) get(PROPERTY_CONSUMPTIONDAYS);
    }
 
    public void setConsumptionDays(Long consumptionDays) {
        set(PROPERTY_CONSUMPTIONDAYS, consumptionDays);
    }
 
    public BankAccount getBankAccount() {
        return (BankAccount) get(PROPERTY_BANKACCOUNT);
    }
 
    public void setBankAccount(BankAccount bankAccount) {
        set(PROPERTY_BANKACCOUNT, bankAccount);
    }
 
    public TaxCategory getTaxCategory() {
        return (TaxCategory) get(PROPERTY_TAXCATEGORY);
    }
 
    public void setTaxCategory(TaxCategory taxCategory) {
        set(PROPERTY_TAXCATEGORY, taxCategory);
    }
 
    public Long getPOMaturityDate1() {
        return (Long) get(PROPERTY_POMATURITYDATE1);
    }
 
    public void setPOMaturityDate1(Long pOMaturityDate1) {
        set(PROPERTY_POMATURITYDATE1, pOMaturityDate1);
    }
 
    public Long getPOMaturityDate2() {
        return (Long) get(PROPERTY_POMATURITYDATE2);
    }
 
    public void setPOMaturityDate2(Long pOMaturityDate2) {
        set(PROPERTY_POMATURITYDATE2, pOMaturityDate2);
    }
 
    public Long getPOMaturityDate3() {
        return (Long) get(PROPERTY_POMATURITYDATE3);
    }
 
    public void setPOMaturityDate3(Long pOMaturityDate3) {
        set(PROPERTY_POMATURITYDATE3, pOMaturityDate3);
    }
 
    public BankAccount getTransactionalBankAccount() {
        return (BankAccount) get(PROPERTY_TRANSACTIONALBANKACCOUNT);
    }
 
    public void setTransactionalBankAccount(
        BankAccount transactionalBankAccount) {
        set(PROPERTY_TRANSACTIONALBANKACCOUNT, transactionalBankAccount);
    }
 
    public TaxCategory getSOBPTaxCategory() {
        return (TaxCategory) get(PROPERTY_SOBPTAXCATEGORY);
    }
 
    public void setSOBPTaxCategory(TaxCategory sOBPTaxCategory) {
        set(PROPERTY_SOBPTAXCATEGORY, sOBPTaxCategory);
    }
 
    public String getFiscalcode() {
        return (String) get(PROPERTY_FISCALCODE);
    }
 
    public void setFiscalcode(String fiscalcode) {
        set(PROPERTY_FISCALCODE, fiscalcode);
    }
 
    public String getIsofiscalcode() {
        return (String) get(PROPERTY_ISOFISCALCODE);
    }
 
    public void setIsofiscalcode(String isofiscalcode) {
        set(PROPERTY_ISOFISCALCODE, isofiscalcode);
    }
 
    public Incoterms getIncotermsPO() {
        return (Incoterms) get(PROPERTY_INCOTERMSPO);
    }
 
    public void setIncotermsPO(Incoterms incotermsPO) {
        set(PROPERTY_INCOTERMSPO, incotermsPO);
    }
 
    public Incoterms getIncotermsSO() {
        return (Incoterms) get(PROPERTY_INCOTERMSSO);
    }
 
    public void setIncotermsSO(Incoterms incotermsSO) {
        set(PROPERTY_INCOTERMSSO, incotermsSO);
    }
 
    public org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod getPaymentMethod() {
        return (org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod) get(PROPERTY_PAYMENTMETHOD);
    }
 
    public void setPaymentMethod(
        org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod paymentMethod) {
        set(PROPERTY_PAYMENTMETHOD, paymentMethod);
    }
 
    public org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod getPOPaymentMethod() {
        return (org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod) get(PROPERTY_POPAYMENTMETHOD);
    }
 
    public void setPOPaymentMethod(
        org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod pOPaymentMethod) {
        set(PROPERTY_POPAYMENTMETHOD, pOPaymentMethod);
    }
 
    public org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount getAccount() {
        return (org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount) get(PROPERTY_ACCOUNT);
    }
 
    public void setAccount(
        org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount account) {
        set(PROPERTY_ACCOUNT, account);
    }
 
    public org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount getPOFinancialAccount() {
        return (org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount) get(PROPERTY_POFINANCIALACCOUNT);
    }
 
    public void setPOFinancialAccount(
        org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount pOFinancialAccount) {
        set(PROPERTY_POFINANCIALACCOUNT, pOFinancialAccount);
    }
 
    @SuppressWarnings("unchecked")
    public List<EmployeeAccounts> getEmployeeAccountsList() {
        return (List<EmployeeAccounts>) get(PROPERTY_EMPLOYEEACCOUNTSLIST);
    }
 
    public void setEmployeeAccountsList(
        List<EmployeeAccounts> employeeAccountsList) {
        set(PROPERTY_EMPLOYEEACCOUNTSLIST, employeeAccountsList);
    }
 
    @SuppressWarnings("unchecked")
    public List<CustomerAccounts> getCustomerAccountsList() {
        return (List<CustomerAccounts>) get(PROPERTY_CUSTOMERACCOUNTSLIST);
    }
 
    public void setCustomerAccountsList(
        List<CustomerAccounts> customerAccountsList) {
        set(PROPERTY_CUSTOMERACCOUNTSLIST, customerAccountsList);
    }
 
    @SuppressWarnings("unchecked")
    public List<SheetLineV> getTimeAndExpenseSheetLineVList() {
        return (List<SheetLineV>) get(PROPERTY_TIMEANDEXPENSESHEETLINEVLIST);
    }
 
    public void setTimeAndExpenseSheetLineVList(
        List<SheetLineV> timeAndExpenseSheetLineVList) {
        set(PROPERTY_TIMEANDEXPENSESHEETLINEVLIST, timeAndExpenseSheetLineVList);
    }
 
    @SuppressWarnings("unchecked")
    public List<org.openbravo.model.common.businesspartner.BankAccount> getBusinessPartnerBankAccountList() {
        return (List<org.openbravo.model.common.businesspartner.BankAccount>) get(PROPERTY_BUSINESSPARTNERBANKACCOUNTLIST);
    }
 
    public void setBusinessPartnerBankAccountList(
        List<org.openbravo.model.common.businesspartner.BankAccount> businessPartnerBankAccountList) {
        set(PROPERTY_BUSINESSPARTNERBANKACCOUNTLIST,
            businessPartnerBankAccountList);
    }
 
    @SuppressWarnings("unchecked")
    public List<ApprovedVendor> getApprovedVendorList() {
        return (List<ApprovedVendor>) get(PROPERTY_APPROVEDVENDORLIST);
    }
 
    public void setApprovedVendorList(List<ApprovedVendor> approvedVendorList) {
        set(PROPERTY_APPROVEDVENDORLIST, approvedVendorList);
    }
 
    @SuppressWarnings("unchecked")
    public List<Asset> getFinancialMgmtAssetList() {
        return (List<Asset>) get(PROPERTY_FINANCIALMGMTASSETLIST);
    }
 
    public void setFinancialMgmtAssetList(List<Asset> financialMgmtAssetList) {
        set(PROPERTY_FINANCIALMGMTASSETLIST, financialMgmtAssetList);
    }
 
    @SuppressWarnings("unchecked")
    public List<Discount> getBusinessPartnerDiscountList() {
        return (List<Discount>) get(PROPERTY_BUSINESSPARTNERDISCOUNTLIST);
    }
 
    public void setBusinessPartnerDiscountList(
        List<Discount> businessPartnerDiscountList) {
        set(PROPERTY_BUSINESSPARTNERDISCOUNTLIST, businessPartnerDiscountList);
    }
 
    @SuppressWarnings("unchecked")
    public List<SheetLine> getTimeAndExpenseSheetLineList() {
        return (List<SheetLine>) get(PROPERTY_TIMEANDEXPENSESHEETLINELIST);
    }
 
    public void setTimeAndExpenseSheetLineList(
        List<SheetLine> timeAndExpenseSheetLineList) {
        set(PROPERTY_TIMEANDEXPENSESHEETLINELIST, timeAndExpenseSheetLineList);
    }
 
    @SuppressWarnings("unchecked")
    public List<Invoice> getInvoiceList() {
        return (List<Invoice>) get(PROPERTY_INVOICELIST);
    }
 
    public void setInvoiceList(List<Invoice> invoiceList) {
        set(PROPERTY_INVOICELIST, invoiceList);
    }
 
    @SuppressWarnings("unchecked")
    public List<org.openbravo.model.pricing.volumediscount.BusinessPartner> getPricingVolumeDiscountBusinessPartnerList() {
        return (List<org.openbravo.model.pricing.volumediscount.BusinessPartner>) get(PROPERTY_PRICINGVOLUMEDISCOUNTBUSINESSPARTNERLIST);
    }
 
    public void setPricingVolumeDiscountBusinessPartnerList(
        List<org.openbravo.model.pricing.volumediscount.BusinessPartner> pricingVolumeDiscountBusinessPartnerList) {
        set(PROPERTY_PRICINGVOLUMEDISCOUNTBUSINESSPARTNERLIST,
            pricingVolumeDiscountBusinessPartnerList);
    }
 
    @SuppressWarnings("unchecked")
    public List<EmployeeSalaryCategory> getEmployeeSalaryCategoryList() {
        return (List<EmployeeSalaryCategory>) get(PROPERTY_EMPLOYEESALARYCATEGORYLIST);
    }
 
    public void setEmployeeSalaryCategoryList(
        List<EmployeeSalaryCategory> employeeSalaryCategoryList) {
        set(PROPERTY_EMPLOYEESALARYCATEGORYLIST, employeeSalaryCategoryList);
    }
 
    @SuppressWarnings("unchecked")
    public List<User> getADUserList() {
        return (List<User>) get(PROPERTY_ADUSERLIST);
    }
 
    public void setADUserList(List<User> aDUserList) {
        set(PROPERTY_ADUSERLIST, aDUserList);
    }
 
    @SuppressWarnings("unchecked")
    public List<Withholding> getBusinessPartnerWithholdingList() {
        return (List<Withholding>) get(PROPERTY_BUSINESSPARTNERWITHHOLDINGLIST);
    }
 
    public void setBusinessPartnerWithholdingList(
        List<Withholding> businessPartnerWithholdingList) {
        set(PROPERTY_BUSINESSPARTNERWITHHOLDINGLIST,
            businessPartnerWithholdingList);
    }
 
    @SuppressWarnings("unchecked")
    public List<Location> getBusinessPartnerLocationList() {
        return (List<Location>) get(PROPERTY_BUSINESSPARTNERLOCATIONLIST);
    }
 
    public void setBusinessPartnerLocationList(
        List<Location> businessPartnerLocationList) {
        set(PROPERTY_BUSINESSPARTNERLOCATIONLIST, businessPartnerLocationList);
    }
 
    @SuppressWarnings("unchecked")
    public List<WarehouseShipper> getWarehouseShipperList() {
        return (List<WarehouseShipper>) get(PROPERTY_WAREHOUSESHIPPERLIST);
    }
 
    public void setWarehouseShipperList(
        List<WarehouseShipper> warehouseShipperList) {
        set(PROPERTY_WAREHOUSESHIPPERLIST, warehouseShipperList);
    }
 
    @SuppressWarnings("unchecked")
    public List<VendorAccounts> getVendorAccountsList() {
        return (List<VendorAccounts>) get(PROPERTY_VENDORACCOUNTSLIST);
    }
 
    public void setVendorAccountsList(List<VendorAccounts> vendorAccountsList) {
        set(PROPERTY_VENDORACCOUNTSLIST, vendorAccountsList);
    }
}

Retrieved from "http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Reference/Entity_Model/BusinessPartner"

This page has been accessed 4,925 times. This page was last modified on 2 July 2011, at 21:22. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.