Package org.compiere.model
Class X_M_BP_Price
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_BP_Price
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_BP_Price
,I_Persistent
,Evaluatee
Generated Model for M_BP_Price
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PriceOverrideType AD_Reference_ID=53410static final String
Discount = Dstatic final String
Fixed Price = PFields 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_M_BP_Price
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BreakValue, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_Comments, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Discount, COLUMNNAME_IsActive, COLUMNNAME_IsNetPrice, COLUMNNAME_M_BP_Price_ID, COLUMNNAME_M_BP_Price_UU, COLUMNNAME_M_Product_ID, COLUMNNAME_PriceLimit, COLUMNNAME_PriceList, COLUMNNAME_PriceOverrideType, COLUMNNAME_PriceStd, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ValidFrom, COLUMNNAME_ValidTo, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_BP_Price
(Properties ctx, int M_BP_Price_ID, String trxName) Standard ConstructorX_M_BP_Price
(Properties ctx, int M_BP_Price_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_BP_Price
(Properties ctx, String M_BP_Price_UU, String trxName) Standard ConstructorX_M_BP_Price
(Properties ctx, String M_BP_Price_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_BP_Price
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Break Value.int
Get Business Partner.int
Get Currency.Get Comments.Get Discount %.Get Record ID/ColumnNameint
Get Business Partner Price.Get M_BP_Price_UU.int
Get Product.Get Limit Price.Get List Price.Get Price Override Type.Get Standard Price.Get Valid from.Get Valid to.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Net Price.void
setBreakValue
(BigDecimal BreakValue) Set Break Value.void
setC_BPartner_ID
(int C_BPartner_ID) Set Business Partner.void
setC_Currency_ID
(int C_Currency_ID) Set Currency.void
setComments
(String Comments) Set Comments.void
setDiscount
(BigDecimal Discount) Set Discount %.void
setIsNetPrice
(boolean IsNetPrice) Set Net Price.void
setM_BP_Price_ID
(int M_BP_Price_ID) Set Business Partner Price.void
setM_BP_Price_UU
(String M_BP_Price_UU) Set M_BP_Price_UU.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setPriceLimit
(BigDecimal PriceLimit) Set Limit Price.void
setPriceList
(BigDecimal PriceList) Set List Price.void
setPriceOverrideType
(String PriceOverrideType) Set Price Override Type.void
setPriceStd
(BigDecimal PriceStd) Set Standard Price.void
setValidFrom
(Timestamp ValidFrom) Set Valid from.void
setValidTo
(Timestamp ValidTo) Set Valid to.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_M_BP_Price
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
-
PRICEOVERRIDETYPE_AD_Reference_ID
public static final int PRICEOVERRIDETYPE_AD_Reference_IDPriceOverrideType AD_Reference_ID=53410- See Also:
-
PRICEOVERRIDETYPE_Discount
Discount = D- See Also:
-
PRICEOVERRIDETYPE_FixedPrice
Fixed Price = P- See Also:
-
-
Constructor Details
-
X_M_BP_Price
Standard Constructor -
X_M_BP_Price
Standard Constructor -
X_M_BP_Price
Standard Constructor -
X_M_BP_Price
Standard Constructor -
X_M_BP_Price
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 -
setBreakValue
Set Break Value.- Specified by:
setBreakValue
in interfaceI_M_BP_Price
- Parameters:
BreakValue
- Low Value of trade discount break level
-
getBreakValue
Get Break Value.- Specified by:
getBreakValue
in interfaceI_M_BP_Price
- Returns:
- Low Value of trade discount break level
-
getC_BPartner
- Specified by:
getC_BPartner
in interfaceI_M_BP_Price
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_M_BP_Price
- Parameters:
C_BPartner_ID
- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()Get Business Partner.- Specified by:
getC_BPartner_ID
in interfaceI_M_BP_Price
- Returns:
- Identifies a Business Partner
-
getC_Currency
- Specified by:
getC_Currency
in interfaceI_M_BP_Price
- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_ID
in interfaceI_M_BP_Price
- Parameters:
C_Currency_ID
- The Currency for this record
-
getC_Currency_ID
public int getC_Currency_ID()Get Currency.- Specified by:
getC_Currency_ID
in interfaceI_M_BP_Price
- Returns:
- The Currency for this record
-
setComments
Set Comments.- Specified by:
setComments
in interfaceI_M_BP_Price
- Parameters:
Comments
- Comments or additional information
-
getComments
Get Comments.- Specified by:
getComments
in interfaceI_M_BP_Price
- Returns:
- Comments or additional information
-
setDiscount
Set Discount %.- Specified by:
setDiscount
in interfaceI_M_BP_Price
- Parameters:
Discount
- Discount in percent
-
getDiscount
Get Discount %.- Specified by:
getDiscount
in interfaceI_M_BP_Price
- Returns:
- Discount in percent
-
setIsNetPrice
public void setIsNetPrice(boolean IsNetPrice) Set Net Price.- Specified by:
setIsNetPrice
in interfaceI_M_BP_Price
- Parameters:
IsNetPrice
- Net Price including all discounts
-
isNetPrice
public boolean isNetPrice()Get Net Price.- Specified by:
isNetPrice
in interfaceI_M_BP_Price
- Returns:
- Net Price including all discounts
-
setM_BP_Price_ID
public void setM_BP_Price_ID(int M_BP_Price_ID) Set Business Partner Price.- Specified by:
setM_BP_Price_ID
in interfaceI_M_BP_Price
- Parameters:
M_BP_Price_ID
- Business Partner Price
-
getM_BP_Price_ID
public int getM_BP_Price_ID()Get Business Partner Price.- Specified by:
getM_BP_Price_ID
in interfaceI_M_BP_Price
- Returns:
- Business Partner Price
-
setM_BP_Price_UU
Set M_BP_Price_UU.- Specified by:
setM_BP_Price_UU
in interfaceI_M_BP_Price
- Parameters:
M_BP_Price_UU
- M_BP_Price_UU
-
getM_BP_Price_UU
Get M_BP_Price_UU.- Specified by:
getM_BP_Price_UU
in interfaceI_M_BP_Price
- Returns:
- M_BP_Price_UU
-
getM_Product
- Specified by:
getM_Product
in interfaceI_M_BP_Price
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_BP_Price
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_M_BP_Price
- Returns:
- Product, Service, Item
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPriceLimit
Set Limit Price.- Specified by:
setPriceLimit
in interfaceI_M_BP_Price
- Parameters:
PriceLimit
- Lowest price for a product
-
getPriceLimit
Get Limit Price.- Specified by:
getPriceLimit
in interfaceI_M_BP_Price
- Returns:
- Lowest price for a product
-
setPriceList
Set List Price.- Specified by:
setPriceList
in interfaceI_M_BP_Price
- Parameters:
PriceList
- List Price
-
getPriceList
Get List Price.- Specified by:
getPriceList
in interfaceI_M_BP_Price
- Returns:
- List Price
-
setPriceOverrideType
Set Price Override Type.- Specified by:
setPriceOverrideType
in interfaceI_M_BP_Price
- Parameters:
PriceOverrideType
- Type of price override, fixed price or discount off list
-
getPriceOverrideType
Get Price Override Type.- Specified by:
getPriceOverrideType
in interfaceI_M_BP_Price
- Returns:
- Type of price override, fixed price or discount off list
-
setPriceStd
Set Standard Price.- Specified by:
setPriceStd
in interfaceI_M_BP_Price
- Parameters:
PriceStd
- Standard Price
-
getPriceStd
Get Standard Price.- Specified by:
getPriceStd
in interfaceI_M_BP_Price
- Returns:
- Standard Price
-
setValidFrom
Set Valid from.- Specified by:
setValidFrom
in interfaceI_M_BP_Price
- Parameters:
ValidFrom
- Valid from including this date (first day)
-
getValidFrom
Get Valid from.- Specified by:
getValidFrom
in interfaceI_M_BP_Price
- Returns:
- Valid from including this date (first day)
-
setValidTo
Set Valid to.- Specified by:
setValidTo
in interfaceI_M_BP_Price
- Parameters:
ValidTo
- Valid to including this date (last day)
-
getValidTo
Get Valid to.- Specified by:
getValidTo
in interfaceI_M_BP_Price
- Returns:
- Valid to including this date (last day)
-