Compiere 3.1

org.compiere.model
Class X_C_BPartner

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_C_BPartner
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MBPartner

public class X_C_BPartner
extends PO

Generated Model for C_BPartner

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int AD_LANGUAGE_AD_Reference_ID
          AD_Language AD_Reference_ID=327
static int AD_ORGBP_ID_AD_Reference_ID
          AD_OrgBP_ID AD_Reference_ID=417
static int DELIVERYRULE_AD_Reference_ID
          DeliveryRule AD_Reference_ID=151
static String DELIVERYRULE_AfterReceipt
          After Receipt = R
static String DELIVERYRULE_Availability
          Availability = A
static String DELIVERYRULE_CompleteLine
          Complete Line = L
static String DELIVERYRULE_CompleteOrder
          Complete Order = O
static String DELIVERYRULE_Force
          Force = F
static String DELIVERYRULE_Manual
          Manual = M
static int DELIVERYVIARULE_AD_Reference_ID
          DeliveryViaRule AD_Reference_ID=152
static String DELIVERYVIARULE_Delivery
          Delivery = D
static String DELIVERYVIARULE_Pickup
          Pickup = P
static String DELIVERYVIARULE_Shipper
          Shipper = S
static int FREIGHTCOSTRULE_AD_Reference_ID
          FreightCostRule AD_Reference_ID=153
static String FREIGHTCOSTRULE_Calculated
          Calculated = C
static String FREIGHTCOSTRULE_FixPrice
          Fix price = F
static String FREIGHTCOSTRULE_FreightIncluded
          Freight included = I
static String FREIGHTCOSTRULE_Line
          Line = L
static int INVOICE_PRINTFORMAT_ID_AD_Reference_ID
          Invoice_PrintFormat_ID AD_Reference_ID=261
static int INVOICERULE_AD_Reference_ID
          InvoiceRule AD_Reference_ID=150
static String INVOICERULE_AfterDelivery
          After Delivery = D
static String INVOICERULE_AfterOrderDelivered
          After Order delivered = O
static String INVOICERULE_CustomerScheduleAfterDelivery
          Customer Schedule after Delivery = S
static String INVOICERULE_Immediate
          Immediate = I
static int M_DISCOUNTSCHEMA_ID_AD_Reference_ID
          M_DiscountSchema_ID AD_Reference_ID=325
protected static KeyNamePair Model
           
static int PAYMENTRULE_AD_Reference_ID
          PaymentRule AD_Reference_ID=195
static String PAYMENTRULE_Cash
          Cash = B
static String PAYMENTRULE_Check
          Check = S
static String PAYMENTRULE_CreditCard
          Credit Card = K
static String PAYMENTRULE_DirectDebit
          Direct Debit = D
static String PAYMENTRULE_DirectDeposit
          Direct Deposit = T
static String PAYMENTRULE_OnCredit
          On Credit = P
static int PAYMENTRULEPO_AD_Reference_ID
          PaymentRulePO AD_Reference_ID=195
static String PAYMENTRULEPO_Cash
          Cash = B
static String PAYMENTRULEPO_Check
          Check = S
static String PAYMENTRULEPO_CreditCard
          Credit Card = K
static String PAYMENTRULEPO_DirectDebit
          Direct Debit = D
static String PAYMENTRULEPO_DirectDeposit
          Direct Deposit = T
static String PAYMENTRULEPO_OnCredit
          On Credit = P
static int PO_DISCOUNTSCHEMA_ID_AD_Reference_ID
          PO_DiscountSchema_ID AD_Reference_ID=325
static int PO_PAYMENTTERM_ID_AD_Reference_ID
          PO_PaymentTerm_ID AD_Reference_ID=227
static int PO_PRICELIST_ID_AD_Reference_ID
          PO_PriceList_ID AD_Reference_ID=166
static int PO_RETURNPOLICY_ID_AD_Reference_ID
          PO_ReturnPolicy_ID AD_Reference_ID=431
static String RATING_A
          A = A
static int RATING_AD_Reference_ID
          Rating AD_Reference_ID=419
static String RATING_B
          B = B
static String RATING_C
          C = C
static String RATING_NotRated
          Not Rated = -
static int SALESREP_ID_AD_Reference_ID
          SalesRep_ID AD_Reference_ID=190
static int SOCREDITSTATUS_AD_Reference_ID
          SOCreditStatus AD_Reference_ID=289
static String SOCREDITSTATUS_CreditHold
          Credit Hold = H
static String SOCREDITSTATUS_CreditOK
          Credit OK = O
static String SOCREDITSTATUS_CreditStop
          Credit Stop = S
static String SOCREDITSTATUS_CreditWatch
          Credit Watch = W
static String SOCREDITSTATUS_NoCreditCheck
          No Credit Check = X
static int Table_ID
          AD_Table_ID=291
static String Table_Name
          TableName=C_BPartner
static long updatedMS
          Last Updated Timestamp 2008-06-23 11:43:32.0
 
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
X_C_BPartner(Ctx ctx, int C_BPartner_ID, String trxName)
          Standard Constructor
X_C_BPartner(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 BigDecimal getAcqusitionCost()
          Get Acquisition Cost.
 BigDecimal getActualLifeTimeValue()
          Get Life Time Value.
 String getAD_Language()
          Get Language.
 String getAD_OrgBP_ID()
          Get Linked Organization.
 int getBPartner_Parent_ID()
          Get Partner Parent.
 int getC_BP_Group_ID()
          Get Business Partner Group.
 int getC_BP_Size_ID()
          Get BP Size.
 int getC_BP_Status_ID()
          Get BP Status.
 int getC_BPartner_ID()
          Get Business Partner.
 int getC_ConsolidationReference_ID()
          Get Consolidation Reference.
 int getC_Dunning_ID()
          Get Dunning.
 int getC_Greeting_ID()
          Get Greeting.
 int getC_IndustryCode_ID()
          Get Industry Code.
 int getC_InvoiceSchedule_ID()
          Get Invoice Schedule.
 int getC_PaymentTerm_ID()
          Get Payment Term.
 String getDeliveryRule()
          Get Shipping Rule.
 String getDeliveryViaRule()
          Get Shipping Method.
 String getDescription()
          Get Description.
 int getDocumentCopies()
          Get Document Copies.
 String getDUNS()
          Get D-U-N-S.
 Timestamp getFirstSale()
          Get First Sale.
 BigDecimal getFlatDiscount()
          Get Flat Discount %.
 String getFreightCostRule()
          Get Freight Cost Rule.
 int getInvoice_PrintFormat_ID()
          Get Invoice Print Format.
 String getInvoiceRule()
          Get Invoicing Rule.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_DiscountSchema_ID()
          Get Discount Schema.
 int getM_PriceList_ID()
          Get Price List.
 int getM_ReturnPolicy_ID()
          Get Return Policy.
 String getNAICS()
          Get NAICS/SIC.
 String getName()
          Get Name.
 String getName2()
          Get Name 2.
 int getNumberEmployees()
          Get Employees.
 String getPaymentRule()
          Get Payment Method.
 String getPaymentRulePO()
          Get Payment Rule.
 int getPO_DiscountSchema_ID()
          Get PO Discount Schema.
 int getPO_PaymentTerm_ID()
          Get PO Payment Term.
 int getPO_PriceList_ID()
          Get Purchase Pricelist.
 int getPO_ReturnPolicy_ID()
          Get Vendor Return Policy.
 String getPOReference()
          Get Order Reference.
 BigDecimal getPotentialLifeTimeValue()
          Get Potential Life Time Value.
 String getRating()
          Get Rating.
 String getReferenceNo()
          Get Reference No.
 int getSalesRep_ID()
          Get Representative.
 int getSalesVolume()
          Get Sales Volume.
 int getShareOfCustomer()
          Get Share.
 int getShelfLifeMinPct()
          Get Min Shelf Life %.
 BigDecimal getSO_CreditLimit()
          Get Credit Limit.
 BigDecimal getSO_CreditUsed()
          Get Credit Used.
 String getSO_Description()
          Get Order Description.
 String getSOCreditStatus()
          Get Credit Status.
 String getTaxID()
          Get Tax ID.
 BigDecimal getTotalOpenBalance()
          Get Open Balance.
 String getURL()
          Get URL.
 String getValue()
          Get Search Key.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isCustomer()
          Get Customer.
 boolean isDeliveryRuleValid(String test)
          Is test a valid value.
 boolean isDeliveryViaRuleValid(String test)
          Is test a valid value.
 boolean isDiscountPrinted()
          Get Discount Printed.
 boolean isEmployee()
          Get Employee.
 boolean isFreightCostRuleValid(String test)
          Is test a valid value.
 boolean isInvoiceRuleValid(String test)
          Is test a valid value.
 boolean isOneTime()
          Get One time transaction.
 boolean isPaymentRulePOValid(String test)
          Is test a valid value.
 boolean isPaymentRuleValid(String test)
          Is test a valid value.
 boolean isProspect()
          Get Prospect.
 boolean isRatingValid(String test)
          Is test a valid value.
 boolean isSalesRep()
          Get Representative.
 boolean isSendEMail()
          Get Send EMail.
 boolean isSOCreditStatusValid(String test)
          Is test a valid value.
 boolean isSummary()
          Get Summary Level.
 boolean isTaxExempt()
          Get Tax exempt.
 boolean isVendor()
          Get Vendor.
 void setAcqusitionCost(BigDecimal AcqusitionCost)
          Set Acquisition Cost.
 void setActualLifeTimeValue(BigDecimal ActualLifeTimeValue)
          Set Life Time Value.
 void setAD_Language(String AD_Language)
          Set Language.
 void setAD_OrgBP_ID(String AD_OrgBP_ID)
          Set Linked Organization.
 void setBPartner_Parent_ID(int BPartner_Parent_ID)
          Set Partner Parent.
 void setC_BP_Group_ID(int C_BP_Group_ID)
          Set Business Partner Group.
 void setC_BP_Size_ID(int C_BP_Size_ID)
          Set BP Size.
 void setC_BP_Status_ID(int C_BP_Status_ID)
          Set BP Status.
 void setC_BPartner_ID(int C_BPartner_ID)
          Set Business Partner.
 void setC_ConsolidationReference_ID(int C_ConsolidationReference_ID)
          Set Consolidation Reference.
 void setC_Dunning_ID(int C_Dunning_ID)
          Set Dunning.
 void setC_Greeting_ID(int C_Greeting_ID)
          Set Greeting.
 void setC_IndustryCode_ID(int C_IndustryCode_ID)
          Set Industry Code.
 void setC_InvoiceSchedule_ID(int C_InvoiceSchedule_ID)
          Set Invoice Schedule.
 void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
          Set Payment Term.
 void setDeliveryRule(String DeliveryRule)
          Set Shipping Rule.
 void setDeliveryViaRule(String DeliveryViaRule)
          Set Shipping Method.
 void setDescription(String Description)
          Set Description.
 void setDocumentCopies(int DocumentCopies)
          Set Document Copies.
 void setDUNS(String DUNS)
          Set D-U-N-S.
 void setFirstSale(Timestamp FirstSale)
          Set First Sale.
 void setFlatDiscount(BigDecimal FlatDiscount)
          Set Flat Discount %.
 void setFreightCostRule(String FreightCostRule)
          Set Freight Cost Rule.
 void setInvoice_PrintFormat_ID(int Invoice_PrintFormat_ID)
          Set Invoice Print Format.
 void setInvoiceRule(String InvoiceRule)
          Set Invoicing Rule.
 void setIsCustomer(boolean IsCustomer)
          Set Customer.
 void setIsDiscountPrinted(boolean IsDiscountPrinted)
          Set Discount Printed.
 void setIsEmployee(boolean IsEmployee)
          Set Employee.
 void setIsOneTime(boolean IsOneTime)
          Set One time transaction.
 void setIsProspect(boolean IsProspect)
          Set Prospect.
 void setIsSalesRep(boolean IsSalesRep)
          Set Representative.
 void setIsSummary(boolean IsSummary)
          Set Summary Level.
 void setIsTaxExempt(boolean IsTaxExempt)
          Set Tax exempt.
 void setIsVendor(boolean IsVendor)
          Set Vendor.
 void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
          Set Discount Schema.
 void setM_PriceList_ID(int M_PriceList_ID)
          Set Price List.
 void setM_ReturnPolicy_ID(int M_ReturnPolicy_ID)
          Set Return Policy.
 void setNAICS(String NAICS)
          Set NAICS/SIC.
 void setName(String Name)
          Set Name.
 void setName2(String Name2)
          Set Name 2.
 void setNumberEmployees(int NumberEmployees)
          Set Employees.
 void setPaymentRule(String PaymentRule)
          Set Payment Method.
 void setPaymentRulePO(String PaymentRulePO)
          Set Payment Rule.
 void setPO_DiscountSchema_ID(int PO_DiscountSchema_ID)
          Set PO Discount Schema.
 void setPO_PaymentTerm_ID(int PO_PaymentTerm_ID)
          Set PO Payment Term.
 void setPO_PriceList_ID(int PO_PriceList_ID)
          Set Purchase Pricelist.
 void setPO_ReturnPolicy_ID(int PO_ReturnPolicy_ID)
          Set Vendor Return Policy.
 void setPOReference(String POReference)
          Set Order Reference.
 void setPotentialLifeTimeValue(BigDecimal PotentialLifeTimeValue)
          Set Potential Life Time Value.
 void setRating(String Rating)
          Set Rating.
 void setReferenceNo(String ReferenceNo)
          Set Reference No.
 void setSalesRep_ID(int SalesRep_ID)
          Set Representative.
 void setSalesVolume(int SalesVolume)
          Set Sales Volume.
 void setSendEMail(boolean SendEMail)
          Set Send EMail.
 void setShareOfCustomer(int ShareOfCustomer)
          Set Share.
 void setShelfLifeMinPct(int ShelfLifeMinPct)
          Set Min Shelf Life %.
 void setSO_CreditLimit(BigDecimal SO_CreditLimit)
          Set Credit Limit.
 void setSO_CreditUsed(BigDecimal SO_CreditUsed)
          Set Credit Used.
 void setSO_Description(String SO_Description)
          Set Order Description.
 void setSOCreditStatus(String SOCreditStatus)
          Set Credit Status.
 void setTaxID(String TaxID)
          Set Tax ID.
 void setTotalOpenBalance(BigDecimal TotalOpenBalance)
          Set Open Balance.
 void setURL(String URL)
          Set URL.
 void setValue(String Value)
          Set Search Key.
 String toString()
          Info
 
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
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-23 11:43:32.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=291

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=C_BPartner

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

AD_LANGUAGE_AD_Reference_ID

public static final int AD_LANGUAGE_AD_Reference_ID
AD_Language AD_Reference_ID=327

See Also:
Constant Field Values

AD_ORGBP_ID_AD_Reference_ID

public static final int AD_ORGBP_ID_AD_Reference_ID
AD_OrgBP_ID AD_Reference_ID=417

See Also:
Constant Field Values

DELIVERYRULE_AD_Reference_ID

public static final int DELIVERYRULE_AD_Reference_ID
DeliveryRule AD_Reference_ID=151

See Also:
Constant Field Values

DELIVERYRULE_Availability

public static final String DELIVERYRULE_Availability
Availability = A

See Also:
Constant Field Values

DELIVERYRULE_Force

public static final String DELIVERYRULE_Force
Force = F

See Also:
Constant Field Values

DELIVERYRULE_CompleteLine

public static final String DELIVERYRULE_CompleteLine
Complete Line = L

See Also:
Constant Field Values

DELIVERYRULE_Manual

public static final String DELIVERYRULE_Manual
Manual = M

See Also:
Constant Field Values

DELIVERYRULE_CompleteOrder

public static final String DELIVERYRULE_CompleteOrder
Complete Order = O

See Also:
Constant Field Values

DELIVERYRULE_AfterReceipt

public static final String DELIVERYRULE_AfterReceipt
After Receipt = R

See Also:
Constant Field Values

DELIVERYVIARULE_AD_Reference_ID

public static final int DELIVERYVIARULE_AD_Reference_ID
DeliveryViaRule AD_Reference_ID=152

See Also:
Constant Field Values

DELIVERYVIARULE_Delivery

public static final String DELIVERYVIARULE_Delivery
Delivery = D

See Also:
Constant Field Values

DELIVERYVIARULE_Pickup

public static final String DELIVERYVIARULE_Pickup
Pickup = P

See Also:
Constant Field Values

DELIVERYVIARULE_Shipper

public static final String DELIVERYVIARULE_Shipper
Shipper = S

See Also:
Constant Field Values

FREIGHTCOSTRULE_AD_Reference_ID

public static final int FREIGHTCOSTRULE_AD_Reference_ID
FreightCostRule AD_Reference_ID=153

See Also:
Constant Field Values

FREIGHTCOSTRULE_Calculated

public static final String FREIGHTCOSTRULE_Calculated
Calculated = C

See Also:
Constant Field Values

FREIGHTCOSTRULE_FixPrice

public static final String FREIGHTCOSTRULE_FixPrice
Fix price = F

See Also:
Constant Field Values

FREIGHTCOSTRULE_FreightIncluded

public static final String FREIGHTCOSTRULE_FreightIncluded
Freight included = I

See Also:
Constant Field Values

FREIGHTCOSTRULE_Line

public static final String FREIGHTCOSTRULE_Line
Line = L

See Also:
Constant Field Values

INVOICERULE_AD_Reference_ID

public static final int INVOICERULE_AD_Reference_ID
InvoiceRule AD_Reference_ID=150

See Also:
Constant Field Values

INVOICERULE_AfterDelivery

public static final String INVOICERULE_AfterDelivery
After Delivery = D

See Also:
Constant Field Values

INVOICERULE_Immediate

public static final String INVOICERULE_Immediate
Immediate = I

See Also:
Constant Field Values

INVOICERULE_AfterOrderDelivered

public static final String INVOICERULE_AfterOrderDelivered
After Order delivered = O

See Also:
Constant Field Values

INVOICERULE_CustomerScheduleAfterDelivery

public static final String INVOICERULE_CustomerScheduleAfterDelivery
Customer Schedule after Delivery = S

See Also:
Constant Field Values

INVOICE_PRINTFORMAT_ID_AD_Reference_ID

public static final int INVOICE_PRINTFORMAT_ID_AD_Reference_ID
Invoice_PrintFormat_ID AD_Reference_ID=261

See Also:
Constant Field Values

M_DISCOUNTSCHEMA_ID_AD_Reference_ID

public static final int M_DISCOUNTSCHEMA_ID_AD_Reference_ID
M_DiscountSchema_ID AD_Reference_ID=325

See Also:
Constant Field Values

PO_DISCOUNTSCHEMA_ID_AD_Reference_ID

public static final int PO_DISCOUNTSCHEMA_ID_AD_Reference_ID
PO_DiscountSchema_ID AD_Reference_ID=325

See Also:
Constant Field Values

PO_PAYMENTTERM_ID_AD_Reference_ID

public static final int PO_PAYMENTTERM_ID_AD_Reference_ID
PO_PaymentTerm_ID AD_Reference_ID=227

See Also:
Constant Field Values

PO_PRICELIST_ID_AD_Reference_ID

public static final int PO_PRICELIST_ID_AD_Reference_ID
PO_PriceList_ID AD_Reference_ID=166

See Also:
Constant Field Values

PO_RETURNPOLICY_ID_AD_Reference_ID

public static final int PO_RETURNPOLICY_ID_AD_Reference_ID
PO_ReturnPolicy_ID AD_Reference_ID=431

See Also:
Constant Field Values

PAYMENTRULE_AD_Reference_ID

public static final int PAYMENTRULE_AD_Reference_ID
PaymentRule AD_Reference_ID=195

See Also:
Constant Field Values

PAYMENTRULE_Cash

public static final String PAYMENTRULE_Cash
Cash = B

See Also:
Constant Field Values

PAYMENTRULE_DirectDebit

public static final String PAYMENTRULE_DirectDebit
Direct Debit = D

See Also:
Constant Field Values

PAYMENTRULE_CreditCard

public static final String PAYMENTRULE_CreditCard
Credit Card = K

See Also:
Constant Field Values

PAYMENTRULE_OnCredit

public static final String PAYMENTRULE_OnCredit
On Credit = P

See Also:
Constant Field Values

PAYMENTRULE_Check

public static final String PAYMENTRULE_Check
Check = S

See Also:
Constant Field Values

PAYMENTRULE_DirectDeposit

public static final String PAYMENTRULE_DirectDeposit
Direct Deposit = T

See Also:
Constant Field Values

PAYMENTRULEPO_AD_Reference_ID

public static final int PAYMENTRULEPO_AD_Reference_ID
PaymentRulePO AD_Reference_ID=195

See Also:
Constant Field Values

PAYMENTRULEPO_Cash

public static final String PAYMENTRULEPO_Cash
Cash = B

See Also:
Constant Field Values

PAYMENTRULEPO_DirectDebit

public static final String PAYMENTRULEPO_DirectDebit
Direct Debit = D

See Also:
Constant Field Values

PAYMENTRULEPO_CreditCard

public static final String PAYMENTRULEPO_CreditCard
Credit Card = K

See Also:
Constant Field Values

PAYMENTRULEPO_OnCredit

public static final String PAYMENTRULEPO_OnCredit
On Credit = P

See Also:
Constant Field Values

PAYMENTRULEPO_Check

public static final String PAYMENTRULEPO_Check
Check = S

See Also:
Constant Field Values

PAYMENTRULEPO_DirectDeposit

public static final String PAYMENTRULEPO_DirectDeposit
Direct Deposit = T

See Also:
Constant Field Values

RATING_AD_Reference_ID

public static final int RATING_AD_Reference_ID
Rating AD_Reference_ID=419

See Also:
Constant Field Values

RATING_NotRated

public static final String RATING_NotRated
Not Rated = -

See Also:
Constant Field Values

RATING_A

public static final String RATING_A
A = A

See Also:
Constant Field Values

RATING_B

public static final String RATING_B
B = B

See Also:
Constant Field Values

RATING_C

public static final String RATING_C
C = C

See Also:
Constant Field Values

SOCREDITSTATUS_AD_Reference_ID

public static final int SOCREDITSTATUS_AD_Reference_ID
SOCreditStatus AD_Reference_ID=289

See Also:
Constant Field Values

SOCREDITSTATUS_CreditHold

public static final String SOCREDITSTATUS_CreditHold
Credit Hold = H

See Also:
Constant Field Values

SOCREDITSTATUS_CreditOK

public static final String SOCREDITSTATUS_CreditOK
Credit OK = O

See Also:
Constant Field Values

SOCREDITSTATUS_CreditStop

public static final String SOCREDITSTATUS_CreditStop
Credit Stop = S

See Also:
Constant Field Values

SOCREDITSTATUS_CreditWatch

public static final String SOCREDITSTATUS_CreditWatch
Credit Watch = W

See Also:
Constant Field Values

SOCREDITSTATUS_NoCreditCheck

public static final String SOCREDITSTATUS_NoCreditCheck
No Credit Check = X

See Also:
Constant Field Values

SALESREP_ID_AD_Reference_ID

public static final int SALESREP_ID_AD_Reference_ID
SalesRep_ID AD_Reference_ID=190

See Also:
Constant Field Values
Constructor Detail

X_C_BPartner

public X_C_BPartner(Ctx ctx,
                    int C_BPartner_ID,
                    String trxName)
Standard Constructor

Parameters:
ctx - context
C_BPartner_ID - id
trxName - transaction

X_C_BPartner

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

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

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_Language

public void setAD_Language(String AD_Language)
Set Language.

Parameters:
AD_Language - Language for this entity

getAD_Language

public String getAD_Language()
Get Language.

Returns:
Language for this entity

setAD_OrgBP_ID

public void setAD_OrgBP_ID(String AD_OrgBP_ID)
Set Linked Organization.

Parameters:
AD_OrgBP_ID - The Business Partner is another Organization for explicit Inter-Org transactions

getAD_OrgBP_ID

public String getAD_OrgBP_ID()
Get Linked Organization.

Returns:
The Business Partner is another Organization for explicit Inter-Org transactions

setAcqusitionCost

public void setAcqusitionCost(BigDecimal AcqusitionCost)
Set Acquisition Cost.

Parameters:
AcqusitionCost - The cost of gaining the prospect as a customer

getAcqusitionCost

public BigDecimal getAcqusitionCost()
Get Acquisition Cost.

Returns:
The cost of gaining the prospect as a customer

setActualLifeTimeValue

public void setActualLifeTimeValue(BigDecimal ActualLifeTimeValue)
Set Life Time Value.

Parameters:
ActualLifeTimeValue - Actual Life Time Revenue

getActualLifeTimeValue

public BigDecimal getActualLifeTimeValue()
Get Life Time Value.

Returns:
Actual Life Time Revenue

setBPartner_Parent_ID

public void setBPartner_Parent_ID(int BPartner_Parent_ID)
Set Partner Parent.

Parameters:
BPartner_Parent_ID - Business Partner Parent

getBPartner_Parent_ID

public int getBPartner_Parent_ID()
Get Partner Parent.

Returns:
Business Partner Parent

setC_BP_Group_ID

public void setC_BP_Group_ID(int C_BP_Group_ID)
Set Business Partner Group.

Parameters:
C_BP_Group_ID - Business Partner Group

getC_BP_Group_ID

public int getC_BP_Group_ID()
Get Business Partner Group.

Returns:
Business Partner Group

setC_BP_Size_ID

public void setC_BP_Size_ID(int C_BP_Size_ID)
Set BP Size.

Parameters:
C_BP_Size_ID - Business Partner Size

getC_BP_Size_ID

public int getC_BP_Size_ID()
Get BP Size.

Returns:
Business Partner Size

setC_BP_Status_ID

public void setC_BP_Status_ID(int C_BP_Status_ID)
Set BP Status.

Parameters:
C_BP_Status_ID - Business Partner Status

getC_BP_Status_ID

public int getC_BP_Status_ID()
Get BP Status.

Returns:
Business Partner Status

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.

Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner.

Returns:
Identifies a Business Partner

setC_ConsolidationReference_ID

public void setC_ConsolidationReference_ID(int C_ConsolidationReference_ID)
Set Consolidation Reference.

Parameters:
C_ConsolidationReference_ID - Consolidation Reference

getC_ConsolidationReference_ID

public int getC_ConsolidationReference_ID()
Get Consolidation Reference.

Returns:
Consolidation Reference

setC_Dunning_ID

public void setC_Dunning_ID(int C_Dunning_ID)
Set Dunning.

Parameters:
C_Dunning_ID - Dunning Rules for overdue invoices

getC_Dunning_ID

public int getC_Dunning_ID()
Get Dunning.

Returns:
Dunning Rules for overdue invoices

setC_Greeting_ID

public void setC_Greeting_ID(int C_Greeting_ID)
Set Greeting.

Parameters:
C_Greeting_ID - Greeting to print on correspondence

getC_Greeting_ID

public int getC_Greeting_ID()
Get Greeting.

Returns:
Greeting to print on correspondence

setC_IndustryCode_ID

public void setC_IndustryCode_ID(int C_IndustryCode_ID)
Set Industry Code.

Parameters:
C_IndustryCode_ID - Business Partner Industry Classification

getC_IndustryCode_ID

public int getC_IndustryCode_ID()
Get Industry Code.

Returns:
Business Partner Industry Classification

setC_InvoiceSchedule_ID

public void setC_InvoiceSchedule_ID(int C_InvoiceSchedule_ID)
Set Invoice Schedule.

Parameters:
C_InvoiceSchedule_ID - Schedule for generating Invoices

getC_InvoiceSchedule_ID

public int getC_InvoiceSchedule_ID()
Get Invoice Schedule.

Returns:
Schedule for generating Invoices

setC_PaymentTerm_ID

public void setC_PaymentTerm_ID(int C_PaymentTerm_ID)
Set Payment Term.

Parameters:
C_PaymentTerm_ID - The terms of Payment (timing, discount)

getC_PaymentTerm_ID

public int getC_PaymentTerm_ID()
Get Payment Term.

Returns:
The terms of Payment (timing, discount)

setDUNS

public void setDUNS(String DUNS)
Set D-U-N-S.

Parameters:
DUNS - Creditor Check (Dun & Bradstreet) Number

getDUNS

public String getDUNS()
Get D-U-N-S.

Returns:
Creditor Check (Dun & Bradstreet) Number

isDeliveryRuleValid

public boolean isDeliveryRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDeliveryRule

public void setDeliveryRule(String DeliveryRule)
Set Shipping Rule.

Parameters:
DeliveryRule - Defines the timing of Shipping

getDeliveryRule

public String getDeliveryRule()
Get Shipping Rule.

Returns:
Defines the timing of Shipping

isDeliveryViaRuleValid

public boolean isDeliveryViaRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDeliveryViaRule

public void setDeliveryViaRule(String DeliveryViaRule)
Set Shipping Method.

Parameters:
DeliveryViaRule - How the order will be delivered

getDeliveryViaRule

public String getDeliveryViaRule()
Get Shipping Method.

Returns:
How the order will be delivered

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setDocumentCopies

public void setDocumentCopies(int DocumentCopies)
Set Document Copies.

Parameters:
DocumentCopies - Number of copies to be printed

getDocumentCopies

public int getDocumentCopies()
Get Document Copies.

Returns:
Number of copies to be printed

setFirstSale

public void setFirstSale(Timestamp FirstSale)
Set First Sale.

Parameters:
FirstSale - Date of First Sale

getFirstSale

public Timestamp getFirstSale()
Get First Sale.

Returns:
Date of First Sale

setFlatDiscount

public void setFlatDiscount(BigDecimal FlatDiscount)
Set Flat Discount %.

Parameters:
FlatDiscount - Flat discount percentage

getFlatDiscount

public BigDecimal getFlatDiscount()
Get Flat Discount %.

Returns:
Flat discount percentage

isFreightCostRuleValid

public boolean isFreightCostRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setFreightCostRule

public void setFreightCostRule(String FreightCostRule)
Set Freight Cost Rule.

Parameters:
FreightCostRule - Method for charging Freight

getFreightCostRule

public String getFreightCostRule()
Get Freight Cost Rule.

Returns:
Method for charging Freight

isInvoiceRuleValid

public boolean isInvoiceRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setInvoiceRule

public void setInvoiceRule(String InvoiceRule)
Set Invoicing Rule.

Parameters:
InvoiceRule - Frequency and method of invoicing

getInvoiceRule

public String getInvoiceRule()
Get Invoicing Rule.

Returns:
Frequency and method of invoicing

setInvoice_PrintFormat_ID

public void setInvoice_PrintFormat_ID(int Invoice_PrintFormat_ID)
Set Invoice Print Format.

Parameters:
Invoice_PrintFormat_ID - Print Format for printing Invoices

getInvoice_PrintFormat_ID

public int getInvoice_PrintFormat_ID()
Get Invoice Print Format.

Returns:
Print Format for printing Invoices

setIsCustomer

public void setIsCustomer(boolean IsCustomer)
Set Customer.

Parameters:
IsCustomer - Indicates if this Business Partner is a Customer

isCustomer

public boolean isCustomer()
Get Customer.

Returns:
Indicates if this Business Partner is a Customer

setIsDiscountPrinted

public void setIsDiscountPrinted(boolean IsDiscountPrinted)
Set Discount Printed.

Parameters:
IsDiscountPrinted - Print Discount on Invoice and Order

isDiscountPrinted

public boolean isDiscountPrinted()
Get Discount Printed.

Returns:
Print Discount on Invoice and Order

setIsEmployee

public void setIsEmployee(boolean IsEmployee)
Set Employee.

Parameters:
IsEmployee - Indicates if this Business Partner is an employee

isEmployee

public boolean isEmployee()
Get Employee.

Returns:
Indicates if this Business Partner is an employee

setIsOneTime

public void setIsOneTime(boolean IsOneTime)
Set One time transaction.

Parameters:
IsOneTime - One time transaction

isOneTime

public boolean isOneTime()
Get One time transaction.

Returns:
One time transaction

setIsProspect

public void setIsProspect(boolean IsProspect)
Set Prospect.

Parameters:
IsProspect - Indicates this is a Prospect

isProspect

public boolean isProspect()
Get Prospect.

Returns:
Indicates this is a Prospect

setIsSalesRep

public void setIsSalesRep(boolean IsSalesRep)
Set Representative.

Parameters:
IsSalesRep - Indicates if the business partner is a representative or company agent

isSalesRep

public boolean isSalesRep()
Get Representative.

Returns:
Indicates if the business partner is a representative or company agent

setIsSummary

public void setIsSummary(boolean IsSummary)
Set Summary Level.

Parameters:
IsSummary - This is a summary entity

isSummary

public boolean isSummary()
Get Summary Level.

Returns:
This is a summary entity

setIsTaxExempt

public void setIsTaxExempt(boolean IsTaxExempt)
Set Tax exempt.

Parameters:
IsTaxExempt - Business partner is exempt from tax

isTaxExempt

public boolean isTaxExempt()
Get Tax exempt.

Returns:
Business partner is exempt from tax

setIsVendor

public void setIsVendor(boolean IsVendor)
Set Vendor.

Parameters:
IsVendor - Indicates if this Business Partner is a Vendor

isVendor

public boolean isVendor()
Get Vendor.

Returns:
Indicates if this Business Partner is a Vendor

setM_DiscountSchema_ID

public void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.

Parameters:
M_DiscountSchema_ID - Schema to calculate price lists or the trade discount percentage

getM_DiscountSchema_ID

public int getM_DiscountSchema_ID()
Get Discount Schema.

Returns:
Schema to calculate price lists or the trade discount percentage

setM_PriceList_ID

public void setM_PriceList_ID(int M_PriceList_ID)
Set Price List.

Parameters:
M_PriceList_ID - Unique identifier of a Price List

getM_PriceList_ID

public int getM_PriceList_ID()
Get Price List.

Returns:
Unique identifier of a Price List

setM_ReturnPolicy_ID

public void setM_ReturnPolicy_ID(int M_ReturnPolicy_ID)
Set Return Policy.

Parameters:
M_ReturnPolicy_ID - The Return Policy dictates the timeframe within which goods can be returned.

getM_ReturnPolicy_ID

public int getM_ReturnPolicy_ID()
Get Return Policy.

Returns:
The Return Policy dictates the timeframe within which goods can be returned.

setNAICS

public void setNAICS(String NAICS)
Set NAICS/SIC.

Parameters:
NAICS - Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html

getNAICS

public String getNAICS()
Get NAICS/SIC.

Returns:
Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setName2

public void setName2(String Name2)
Set Name 2.

Parameters:
Name2 - Additional Name

getName2

public String getName2()
Get Name 2.

Returns:
Additional Name

setNumberEmployees

public void setNumberEmployees(int NumberEmployees)
Set Employees.

Parameters:
NumberEmployees - Number of employees

getNumberEmployees

public int getNumberEmployees()
Get Employees.

Returns:
Number of employees

setPOReference

public void setPOReference(String POReference)
Set Order Reference.

Parameters:
POReference - Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner

getPOReference

public String getPOReference()
Get Order Reference.

Returns:
Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner

setPO_DiscountSchema_ID

public void setPO_DiscountSchema_ID(int PO_DiscountSchema_ID)
Set PO Discount Schema.

Parameters:
PO_DiscountSchema_ID - Schema to calculate the purchase trade discount percentage

getPO_DiscountSchema_ID

public int getPO_DiscountSchema_ID()
Get PO Discount Schema.

Returns:
Schema to calculate the purchase trade discount percentage

setPO_PaymentTerm_ID

public void setPO_PaymentTerm_ID(int PO_PaymentTerm_ID)
Set PO Payment Term.

Parameters:
PO_PaymentTerm_ID - Payment rules for a purchase order

getPO_PaymentTerm_ID

public int getPO_PaymentTerm_ID()
Get PO Payment Term.

Returns:
Payment rules for a purchase order

setPO_PriceList_ID

public void setPO_PriceList_ID(int PO_PriceList_ID)
Set Purchase Pricelist.

Parameters:
PO_PriceList_ID - Price List used by this Business Partner

getPO_PriceList_ID

public int getPO_PriceList_ID()
Get Purchase Pricelist.

Returns:
Price List used by this Business Partner

setPO_ReturnPolicy_ID

public void setPO_ReturnPolicy_ID(int PO_ReturnPolicy_ID)
Set Vendor Return Policy.

Parameters:
PO_ReturnPolicy_ID - Vendor Return Policy

getPO_ReturnPolicy_ID

public int getPO_ReturnPolicy_ID()
Get Vendor Return Policy.

Returns:
Vendor Return Policy

isPaymentRuleValid

public boolean isPaymentRuleValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPaymentRule

public void setPaymentRule(String PaymentRule)
Set Payment Method.

Parameters:
PaymentRule - How you pay the invoice

getPaymentRule

public String getPaymentRule()
Get Payment Method.

Returns:
How you pay the invoice

isPaymentRulePOValid

public boolean isPaymentRulePOValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPaymentRulePO

public void setPaymentRulePO(String PaymentRulePO)
Set Payment Rule.

Parameters:
PaymentRulePO - Purchase payment option

getPaymentRulePO

public String getPaymentRulePO()
Get Payment Rule.

Returns:
Purchase payment option

setPotentialLifeTimeValue

public void setPotentialLifeTimeValue(BigDecimal PotentialLifeTimeValue)
Set Potential Life Time Value.

Parameters:
PotentialLifeTimeValue - Total Revenue expected

getPotentialLifeTimeValue

public BigDecimal getPotentialLifeTimeValue()
Get Potential Life Time Value.

Returns:
Total Revenue expected

isRatingValid

public boolean isRatingValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setRating

public void setRating(String Rating)
Set Rating.

Parameters:
Rating - Classification or Importance

getRating

public String getRating()
Get Rating.

Returns:
Classification or Importance

setReferenceNo

public void setReferenceNo(String ReferenceNo)
Set Reference No.

Parameters:
ReferenceNo - Your customer or vendor number at the Business Partner's site

getReferenceNo

public String getReferenceNo()
Get Reference No.

Returns:
Your customer or vendor number at the Business Partner's site

isSOCreditStatusValid

public boolean isSOCreditStatusValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setSOCreditStatus

public void setSOCreditStatus(String SOCreditStatus)
Set Credit Status.

Parameters:
SOCreditStatus - Business Partner Credit Status

getSOCreditStatus

public String getSOCreditStatus()
Get Credit Status.

Returns:
Business Partner Credit Status

setSO_CreditLimit

public void setSO_CreditLimit(BigDecimal SO_CreditLimit)
Set Credit Limit.

Parameters:
SO_CreditLimit - Total outstanding invoice amounts allowed

getSO_CreditLimit

public BigDecimal getSO_CreditLimit()
Get Credit Limit.

Returns:
Total outstanding invoice amounts allowed

setSO_CreditUsed

public void setSO_CreditUsed(BigDecimal SO_CreditUsed)
Set Credit Used.

Parameters:
SO_CreditUsed - Current open balance

getSO_CreditUsed

public BigDecimal getSO_CreditUsed()
Get Credit Used.

Returns:
Current open balance

setSO_Description

public void setSO_Description(String SO_Description)
Set Order Description.

Parameters:
SO_Description - Description to be used on orders

getSO_Description

public String getSO_Description()
Get Order Description.

Returns:
Description to be used on orders

setSalesRep_ID

public void setSalesRep_ID(int SalesRep_ID)
Set Representative.

Parameters:
SalesRep_ID - Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative...

getSalesRep_ID

public int getSalesRep_ID()
Get Representative.

Returns:
Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative...

setSalesVolume

public void setSalesVolume(int SalesVolume)
Set Sales Volume.

Parameters:
SalesVolume - Total Volume of Sales in Thousands of Base Currency

getSalesVolume

public int getSalesVolume()
Get Sales Volume.

Returns:
Total Volume of Sales in Thousands of Base Currency

setSendEMail

public void setSendEMail(boolean SendEMail)
Set Send EMail.

Parameters:
SendEMail - Enable sending Document EMail

isSendEMail

public boolean isSendEMail()
Get Send EMail.

Returns:
Enable sending Document EMail

setShareOfCustomer

public void setShareOfCustomer(int ShareOfCustomer)
Set Share.

Parameters:
ShareOfCustomer - Share of Customer's business as a percentage

getShareOfCustomer

public int getShareOfCustomer()
Get Share.

Returns:
Share of Customer's business as a percentage

setShelfLifeMinPct

public void setShelfLifeMinPct(int ShelfLifeMinPct)
Set Min Shelf Life %.

Parameters:
ShelfLifeMinPct - Minimum Shelf Life in percent based on Product Instance Guarantee Date

getShelfLifeMinPct

public int getShelfLifeMinPct()
Get Min Shelf Life %.

Returns:
Minimum Shelf Life in percent based on Product Instance Guarantee Date

setTaxID

public void setTaxID(String TaxID)
Set Tax ID.

Parameters:
TaxID - Tax Identification

getTaxID

public String getTaxID()
Get Tax ID.

Returns:
Tax Identification

setTotalOpenBalance

public void setTotalOpenBalance(BigDecimal TotalOpenBalance)
Set Open Balance.

Parameters:
TotalOpenBalance - Total Open Balance Amount in primary Accounting Currency

getTotalOpenBalance

public BigDecimal getTotalOpenBalance()
Get Open Balance.

Returns:
Total Open Balance Amount in primary Accounting Currency

setURL

public void setURL(String URL)
Set URL.

Parameters:
URL - Full URL address - e.g. http://www.compiere.org

getURL

public String getURL()
Get URL.

Returns:
Full URL address - e.g. http://www.compiere.org

setValue

public void setValue(String Value)
Set Search Key.

Parameters:
Value - Search key for the record in the format required - must be unique

getValue

public String getValue()
Get Search Key.

Returns:
Search key for the record in the format required - must be unique

Compiere 3.1

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