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
Generated Model for C_BP_Group
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PriorityBase AD_Reference_ID=350static final String
Higher = Hstatic final String
Lower = Lstatic final String
Same = SFields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_C_BP_Group
(Properties ctx, int C_BP_Group_ID, String trxName) Standard ConstructorX_C_BP_Group
(Properties ctx, int C_BP_Group_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_BP_Group
(Properties ctx, String C_BP_Group_UU, String trxName) Standard ConstructorX_C_BP_Group
(Properties ctx, String C_BP_Group_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_BP_Group
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Print Color.int
Get Business Partner Group.Get C_BP_Group_UU.int
Get Dunning.Get Credit Watch %.Get Description.Get Record ID/ColumnNameint
Get Discount Schema.int
Get Price List.getName()
Get Name.int
Get PO Discount Schema.int
Get Purchase Price List.Get Price Match Tolerance.Get Priority Base.getValue()
Get Search Key.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Confidential Info.boolean
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
Set Name.void
setPO_DiscountSchema_ID
(int PO_DiscountSchema_ID) Set PO Discount Schema.void
setPO_PriceList_ID
(int PO_PriceList_ID) Set Purchase Price List.void
setPriceMatchTolerance
(BigDecimal PriceMatchTolerance) Set Price Match Tolerance.void
setPriorityBase
(String PriorityBase) Set Priority Base.void
Set Search Key.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
PRIORITYBASE_AD_Reference_ID
public static final int PRIORITYBASE_AD_Reference_IDPriorityBase AD_Reference_ID=350- See Also:
-
PRIORITYBASE_Higher
Higher = H- See Also:
-
PRIORITYBASE_Lower
Lower = L- See Also:
-
PRIORITYBASE_Same
Same = S- See Also:
-
-
Constructor Details
-
X_C_BP_Group
Standard Constructor -
X_C_BP_Group
Standard Constructor -
X_C_BP_Group
Standard Constructor -
X_C_BP_Group
Standard Constructor -
X_C_BP_Group
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_PrintColor
- 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
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
Get C_BP_Group_UU.- Specified by:
getC_BP_Group_UU
in interfaceI_C_BP_Group
- Returns:
- C_BP_Group_UU
-
getC_Dunning
- 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
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
Get Credit Watch %.- Specified by:
getCreditWatchPercent
in interfaceI_C_BP_Group
- Returns:
- Credit Watch - Percent of Credit Limit when OK switches to Watch
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_BP_Group
- Parameters:
Description
- Optional short description of the record
-
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
- 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
- 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
Set Name.- Specified by:
setName
in interfaceI_C_BP_Group
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_C_BP_Group
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getPO_DiscountSchema
- 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
- 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 Price List.- 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 Price List.- Specified by:
getPO_PriceList_ID
in interfaceI_C_BP_Group
- Returns:
- Price List used by this Business Partner
-
setPriceMatchTolerance
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
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
Set Priority Base.- Specified by:
setPriorityBase
in interfaceI_C_BP_Group
- Parameters:
PriorityBase
- Base of Priority
-
getPriorityBase
Get Priority Base.- Specified by:
getPriorityBase
in interfaceI_C_BP_Group
- Returns:
- Base of Priority
-
setValue
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
Get Search Key.- Specified by:
getValue
in interfaceI_C_BP_Group
- Returns:
- Search key for the record in the format required - must be unique
-