Compiere 3.1

org.compiere.model
Class MBPartnerInfo

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_RV_BPartner
          extended by org.compiere.model.MBPartnerInfo
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee

public class MBPartnerInfo
extends X_RV_BPartner

Business Partner Info Model for Query

Version:
$Id: MBPartnerInfo.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.compiere.model.X_RV_BPartner
accessLevel, AD_LANGUAGE_AD_Reference_ID, AD_ORGBP_ID_AD_Reference_ID, AD_ORGTRX_ID_AD_Reference_ID, BPARTNER_PARENT_ID_AD_Reference_ID, BPCONTACTGREETING_AD_Reference_ID, DELIVERYRULE_AD_Reference_ID, DELIVERYRULE_AfterReceipt, DELIVERYRULE_Availability, DELIVERYRULE_CompleteLine, DELIVERYRULE_CompleteOrder, DELIVERYRULE_Force, DELIVERYRULE_Manual, DELIVERYVIARULE_AD_Reference_ID, DELIVERYVIARULE_Delivery, DELIVERYVIARULE_Pickup, DELIVERYVIARULE_Shipper, FREIGHTCOSTRULE_AD_Reference_ID, FREIGHTCOSTRULE_Calculated, FREIGHTCOSTRULE_FixPrice, FREIGHTCOSTRULE_FreightIncluded, FREIGHTCOSTRULE_Line, INVOICE_PRINTFORMAT_ID_AD_Reference_ID, INVOICERULE_AD_Reference_ID, INVOICERULE_AfterDelivery, INVOICERULE_AfterOrderDelivered, INVOICERULE_CustomerScheduleAfterDelivery, INVOICERULE_Immediate, Model, NOTIFICATIONTYPE_AD_Reference_ID, NOTIFICATIONTYPE_EMail, NOTIFICATIONTYPE_EMailPlusNotice, NOTIFICATIONTYPE_None, NOTIFICATIONTYPE_Notice, PAYMENTRULE_AD_Reference_ID, PAYMENTRULE_Cash, PAYMENTRULE_Check, PAYMENTRULE_CreditCard, PAYMENTRULE_DirectDebit, PAYMENTRULE_DirectDeposit, PAYMENTRULE_OnCredit, PAYMENTRULEPO_AD_Reference_ID, PAYMENTRULEPO_Cash, PAYMENTRULEPO_Check, PAYMENTRULEPO_CreditCard, PAYMENTRULEPO_DirectDebit, PAYMENTRULEPO_DirectDeposit, PAYMENTRULEPO_OnCredit, PO_DISCOUNTSCHEMA_ID_AD_Reference_ID, PO_PAYMENTTERM_ID_AD_Reference_ID, PO_PRICELIST_ID_AD_Reference_ID, SALESREP_ID_AD_Reference_ID, SOCREDITSTATUS_AD_Reference_ID, SOCREDITSTATUS_CreditHold, SOCREDITSTATUS_CreditOK, SOCREDITSTATUS_CreditStop, SOCREDITSTATUS_CreditWatch, SOCREDITSTATUS_NoCreditCheck, SUPERVISOR_ID_AD_Reference_ID, Table_ID, Table_Name, updatedMS
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
MBPartnerInfo(Ctx ctx)
          Temporary Info Constructor - You cannot SAVE!
MBPartnerInfo(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
static ArrayList<MBPartnerInfo> findAll(Ctx ctx, String Value, String Name, String Contact, String EMail, String Phone, String City)
          Find BPartners
static void main(String[] args)
          Test
 
Methods inherited from class org.compiere.model.X_RV_BPartner
get_AccessLevel, getAcqusitionCost, getActualLifeTimeValue, getAD_Language, getAD_OrgBP_ID, getAD_OrgTrx_ID, getAD_User_ID, getAddress1, getAddress2, getAddress3, getBirthday, getBPartner_Parent_ID, getBPContactGreeting, getC_BP_Group_ID, getC_BPartner_ID, getC_BPartner_Location_ID, getC_Country_ID, getC_Dunning_ID, getC_Greeting_ID, getC_InvoiceSchedule_ID, getC_Job_ID, getC_PaymentTerm_ID, getC_Region_ID, getCity, getComments, getContactDescription, getContactName, getCountryName, getDeliveryRule, getDeliveryViaRule, getDescription, getDocumentCopies, getDUNS, getEMail, getEMailUser, getEMailVerify, getEMailVerifyDate, getFax, getFirstSale, getFlatDiscount, getFreightCostRule, getInvoice_PrintFormat_ID, getInvoiceRule, getLastContact, getLastResult, getM_DiscountSchema_ID, getM_PriceList_ID, getNAICS, getName, getName2, getNotificationType, getNumberEmployees, getPaymentRule, getPaymentRulePO, getPhone, getPhone2, getPO_DiscountSchema_ID, getPO_PaymentTerm_ID, getPO_PriceList_ID, getPOReference, getPostal, getPotentialLifeTimeValue, getRating, getReferenceNo, getRegionName, getSalesRep_ID, getSalesVolume, getShareOfCustomer, getShelfLifeMinPct, getSO_CreditAvailable, getSO_CreditLimit, getSO_CreditUsed, getSO_Description, getSOCreditStatus, getSupervisor_ID, getTaxID, getTitle, getTotalOpenBalance, getURL, getValue, initPO, isCustomer, isDeliveryRuleValid, isDeliveryViaRuleValid, isDiscountPrinted, isEmployee, isFreightCostRuleValid, isFullBPAccess, isInvoiceRuleValid, isLDAPUser, isNotificationTypeValid, isOneTime, isPaymentRulePOValid, isPaymentRuleValid, isProspect, isSalesRep, isSendEMail, isSOCreditStatusValid, isSummary, isTaxExempt, isVendor, setAcqusitionCost, setActualLifeTimeValue, setAD_Language, setAD_OrgBP_ID, setAD_OrgTrx_ID, setAD_User_ID, setAddress1, setAddress2, setAddress3, setBirthday, setBPartner_Parent_ID, setBPContactGreeting, setC_BP_Group_ID, setC_BPartner_ID, setC_BPartner_Location_ID, setC_Country_ID, setC_Dunning_ID, setC_Greeting_ID, setC_InvoiceSchedule_ID, setC_Job_ID, setC_PaymentTerm_ID, setC_Region_ID, setCity, setComments, setContactDescription, setContactName, setCountryName, setDeliveryRule, setDeliveryViaRule, setDescription, setDocumentCopies, setDUNS, setEMail, setEMailUser, setEMailVerify, setEMailVerifyDate, setFax, setFirstSale, setFlatDiscount, setFreightCostRule, setInvoice_PrintFormat_ID, setInvoiceRule, setIsCustomer, setIsDiscountPrinted, setIsEmployee, setIsFullBPAccess, setIsOneTime, setIsProspect, setIsSalesRep, setIsSummary, setIsTaxExempt, setIsVendor, setLastContact, setLastResult, setLDAPUser, setM_DiscountSchema_ID, setM_PriceList_ID, setNAICS, setName, setName2, setNotificationType, setNumberEmployees, setPaymentRule, setPaymentRulePO, setPhone, setPhone2, setPO_DiscountSchema_ID, setPO_PaymentTerm_ID, setPO_PriceList_ID, setPOReference, setPostal, setPotentialLifeTimeValue, setRating, setReferenceNo, setRegionName, setSalesRep_ID, setSalesVolume, setSendEMail, setShareOfCustomer, setShelfLifeMinPct, setSO_CreditAvailable, setSO_CreditLimit, setSO_CreditUsed, setSO_Description, setSOCreditStatus, setSupervisor_ID, setTaxID, setTitle, setTotalOpenBalance, setURL, setValue, toString
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBPartnerInfo

public MBPartnerInfo(Ctx ctx)
Temporary Info Constructor - You cannot SAVE!

Parameters:
ctx - context

MBPartnerInfo

public MBPartnerInfo(Ctx ctx,
                     ResultSet rs,
                     String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

findAll

public static ArrayList<MBPartnerInfo> findAll(Ctx ctx,
                                               String Value,
                                               String Name,
                                               String Contact,
                                               String EMail,
                                               String Phone,
                                               String City)
Find BPartners

Parameters:
ctx - context for sql security
Value - Business Partner Value
Name - Business Partner Name
Contact - Contact/User Name
EMail - Contact/User EMail
Phone - phone
City - city
Returns:
array if of info

main

public static void main(String[] args)
Test

Parameters:
args - ignored

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.