Package org.compiere.model
Class X_C_BP_Group
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_BP_Group
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_BP_Group
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MBPGroup
public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent
Generated Model for C_BP_Group- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
PRIORITYBASE_AD_Reference_ID
PriorityBase AD_Reference_ID=350static String
PRIORITYBASE_Higher
Higher = Hstatic String
PRIORITYBASE_Lower
Lower = Lstatic String
PRIORITYBASE_Same
Same = S-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_BP_Group
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintColor_ID, COLUMNNAME_C_BP_Group_ID, COLUMNNAME_C_BP_Group_UU, COLUMNNAME_C_Dunning_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CreditWatchPercent, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsConfidentialInfo, COLUMNNAME_IsDefault, COLUMNNAME_M_DiscountSchema_ID, COLUMNNAME_M_PriceList_ID, COLUMNNAME_Name, COLUMNNAME_PO_DiscountSchema_ID, COLUMNNAME_PO_PriceList_ID, COLUMNNAME_PriceMatchTolerance, COLUMNNAME_PriorityBase, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_BP_Group(Properties ctx, int C_BP_Group_ID, String trxName)
Standard ConstructorX_C_BP_Group(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_AD_PrintColor
getAD_PrintColor()
int
getAD_PrintColor_ID()
Get Print Color.int
getC_BP_Group_ID()
Get Business Partner Group.String
getC_BP_Group_UU()
Get C_BP_Group_UU.I_C_Dunning
getC_Dunning()
int
getC_Dunning_ID()
Get Dunning.BigDecimal
getCreditWatchPercent()
Get Credit Watch %.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_DiscountSchema
getM_DiscountSchema()
int
getM_DiscountSchema_ID()
Get Discount Schema.I_M_PriceList
getM_PriceList()
int
getM_PriceList_ID()
Get Price List.String
getName()
Get Name.I_M_DiscountSchema
getPO_DiscountSchema()
int
getPO_DiscountSchema_ID()
Get PO Discount Schema.I_M_PriceList
getPO_PriceList()
int
getPO_PriceList_ID()
Get Purchase Pricelist.BigDecimal
getPriceMatchTolerance()
Get Price Match Tolerance.String
getPriorityBase()
Get Priority Base.String
getValue()
Get Search Key.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isConfidentialInfo()
Get Confidential Info.boolean
isDefault()
Get Default.void
setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.void
setC_BP_Group_ID(int C_BP_Group_ID)
Set Business Partner Group.void
setC_BP_Group_UU(String C_BP_Group_UU)
Set C_BP_Group_UU.void
setC_Dunning_ID(int C_Dunning_ID)
Set Dunning.void
setCreditWatchPercent(BigDecimal CreditWatchPercent)
Set Credit Watch %.void
setDescription(String Description)
Set Description.void
setIsConfidentialInfo(boolean IsConfidentialInfo)
Set Confidential Info.void
setIsDefault(boolean IsDefault)
Set Default.void
setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.void
setM_PriceList_ID(int M_PriceList_ID)
Set Price List.void
setName(String Name)
Set Name.void
setPO_DiscountSchema_ID(int PO_DiscountSchema_ID)
Set PO Discount Schema.void
setPO_PriceList_ID(int PO_PriceList_ID)
Set Purchase Pricelist.void
setPriceMatchTolerance(BigDecimal PriceMatchTolerance)
Set Price Match Tolerance.void
setPriorityBase(String PriorityBase)
Set Priority Base.void
setValue(String Value)
Set Search Key.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_C_BP_Group
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
PRIORITYBASE_AD_Reference_ID
public static final int PRIORITYBASE_AD_Reference_ID
PriorityBase AD_Reference_ID=350- See Also:
- Constant Field Values
-
PRIORITYBASE_Higher
public static final String PRIORITYBASE_Higher
Higher = H- See Also:
- Constant Field Values
-
PRIORITYBASE_Lower
public static final String PRIORITYBASE_Lower
Lower = L- See Also:
- Constant Field Values
-
PRIORITYBASE_Same
public static final String PRIORITYBASE_Same
Same = S- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_BP_Group
public X_C_BP_Group(Properties ctx, int C_BP_Group_ID, String trxName)
Standard Constructor
-
X_C_BP_Group
public X_C_BP_Group(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_PrintColor
public I_AD_PrintColor getAD_PrintColor() throws RuntimeException
- Specified by:
getAD_PrintColor
in interfaceI_C_BP_Group
- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID)
Set Print Color.- Specified by:
setAD_PrintColor_ID
in interfaceI_C_BP_Group
- Parameters:
AD_PrintColor_ID
- Color used for printing and display
-
getAD_PrintColor_ID
public int getAD_PrintColor_ID()
Get Print Color.- Specified by:
getAD_PrintColor_ID
in interfaceI_C_BP_Group
- Returns:
- Color used for printing and display
-
setC_BP_Group_ID
public void setC_BP_Group_ID(int C_BP_Group_ID)
Set Business Partner Group.- Specified by:
setC_BP_Group_ID
in interfaceI_C_BP_Group
- Parameters:
C_BP_Group_ID
- Business Partner Group
-
getC_BP_Group_ID
public int getC_BP_Group_ID()
Get Business Partner Group.- Specified by:
getC_BP_Group_ID
in interfaceI_C_BP_Group
- Returns:
- Business Partner Group
-
setC_BP_Group_UU
public void setC_BP_Group_UU(String C_BP_Group_UU)
Set C_BP_Group_UU.- Specified by:
setC_BP_Group_UU
in interfaceI_C_BP_Group
- Parameters:
C_BP_Group_UU
- C_BP_Group_UU
-
getC_BP_Group_UU
public String getC_BP_Group_UU()
Get C_BP_Group_UU.- Specified by:
getC_BP_Group_UU
in interfaceI_C_BP_Group
- Returns:
- C_BP_Group_UU
-
getC_Dunning
public I_C_Dunning getC_Dunning() throws RuntimeException
- Specified by:
getC_Dunning
in interfaceI_C_BP_Group
- Throws:
RuntimeException
-
setC_Dunning_ID
public void setC_Dunning_ID(int C_Dunning_ID)
Set Dunning.- Specified by:
setC_Dunning_ID
in interfaceI_C_BP_Group
- Parameters:
C_Dunning_ID
- Dunning Rules for overdue invoices
-
getC_Dunning_ID
public int getC_Dunning_ID()
Get Dunning.- Specified by:
getC_Dunning_ID
in interfaceI_C_BP_Group
- Returns:
- Dunning Rules for overdue invoices
-
setCreditWatchPercent
public void setCreditWatchPercent(BigDecimal CreditWatchPercent)
Set Credit Watch %.- Specified by:
setCreditWatchPercent
in interfaceI_C_BP_Group
- Parameters:
CreditWatchPercent
- Credit Watch - Percent of Credit Limit when OK switches to Watch
-
getCreditWatchPercent
public BigDecimal getCreditWatchPercent()
Get Credit Watch %.- Specified by:
getCreditWatchPercent
in interfaceI_C_BP_Group
- Returns:
- Credit Watch - Percent of Credit Limit when OK switches to Watch
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_BP_Group
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_BP_Group
- Returns:
- Optional short description of the record
-
setIsConfidentialInfo
public void setIsConfidentialInfo(boolean IsConfidentialInfo)
Set Confidential Info.- Specified by:
setIsConfidentialInfo
in interfaceI_C_BP_Group
- Parameters:
IsConfidentialInfo
- Can enter confidential information
-
isConfidentialInfo
public boolean isConfidentialInfo()
Get Confidential Info.- Specified by:
isConfidentialInfo
in interfaceI_C_BP_Group
- Returns:
- Can enter confidential information
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefault
in interfaceI_C_BP_Group
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefault
in interfaceI_C_BP_Group
- Returns:
- Default value
-
getM_DiscountSchema
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
- Specified by:
getM_DiscountSchema
in interfaceI_C_BP_Group
- Throws:
RuntimeException
-
setM_DiscountSchema_ID
public void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.- Specified by:
setM_DiscountSchema_ID
in interfaceI_C_BP_Group
- Parameters:
M_DiscountSchema_ID
- Schema to calculate the trade discount percentage
-
getM_DiscountSchema_ID
public int getM_DiscountSchema_ID()
Get Discount Schema.- Specified by:
getM_DiscountSchema_ID
in interfaceI_C_BP_Group
- Returns:
- Schema to calculate the trade discount percentage
-
getM_PriceList
public I_M_PriceList getM_PriceList() throws RuntimeException
- Specified by:
getM_PriceList
in interfaceI_C_BP_Group
- Throws:
RuntimeException
-
setM_PriceList_ID
public void setM_PriceList_ID(int M_PriceList_ID)
Set Price List.- Specified by:
setM_PriceList_ID
in interfaceI_C_BP_Group
- Parameters:
M_PriceList_ID
- Unique identifier of a Price List
-
getM_PriceList_ID
public int getM_PriceList_ID()
Get Price List.- Specified by:
getM_PriceList_ID
in interfaceI_C_BP_Group
- Returns:
- Unique identifier of a Price List
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_BP_Group
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_BP_Group
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getPO_DiscountSchema
public I_M_DiscountSchema getPO_DiscountSchema() throws RuntimeException
- Specified by:
getPO_DiscountSchema
in interfaceI_C_BP_Group
- Throws:
RuntimeException
-
setPO_DiscountSchema_ID
public void setPO_DiscountSchema_ID(int PO_DiscountSchema_ID)
Set PO Discount Schema.- Specified by:
setPO_DiscountSchema_ID
in interfaceI_C_BP_Group
- Parameters:
PO_DiscountSchema_ID
- Schema to calculate the purchase trade discount percentage
-
getPO_DiscountSchema_ID
public int getPO_DiscountSchema_ID()
Get PO Discount Schema.- Specified by:
getPO_DiscountSchema_ID
in interfaceI_C_BP_Group
- Returns:
- Schema to calculate the purchase trade discount percentage
-
getPO_PriceList
public I_M_PriceList getPO_PriceList() throws RuntimeException
- Specified by:
getPO_PriceList
in interfaceI_C_BP_Group
- Throws:
RuntimeException
-
setPO_PriceList_ID
public void setPO_PriceList_ID(int PO_PriceList_ID)
Set Purchase Pricelist.- Specified by:
setPO_PriceList_ID
in interfaceI_C_BP_Group
- Parameters:
PO_PriceList_ID
- Price List used by this Business Partner
-
getPO_PriceList_ID
public int getPO_PriceList_ID()
Get Purchase Pricelist.- Specified by:
getPO_PriceList_ID
in interfaceI_C_BP_Group
- Returns:
- Price List used by this Business Partner
-
setPriceMatchTolerance
public void setPriceMatchTolerance(BigDecimal PriceMatchTolerance)
Set Price Match Tolerance.- Specified by:
setPriceMatchTolerance
in interfaceI_C_BP_Group
- Parameters:
PriceMatchTolerance
- PO-Invoice Match Price Tolerance in percent of the purchase price
-
getPriceMatchTolerance
public BigDecimal getPriceMatchTolerance()
Get Price Match Tolerance.- Specified by:
getPriceMatchTolerance
in interfaceI_C_BP_Group
- Returns:
- PO-Invoice Match Price Tolerance in percent of the purchase price
-
setPriorityBase
public void setPriorityBase(String PriorityBase)
Set Priority Base.- Specified by:
setPriorityBase
in interfaceI_C_BP_Group
- Parameters:
PriorityBase
- Base of Priority
-
getPriorityBase
public String getPriorityBase()
Get Priority Base.- Specified by:
getPriorityBase
in interfaceI_C_BP_Group
- Returns:
- Base of Priority
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValue
in interfaceI_C_BP_Group
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
public String getValue()
Get Search Key.- Specified by:
getValue
in interfaceI_C_BP_Group
- Returns:
- Search key for the record in the format required - must be unique
-
-