Package org.compiere.model
Class X_M_DiscountSchemaLine
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_DiscountSchemaLine
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_DiscountSchemaLine
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MDiscountSchemaLine
public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine, I_Persistent
Generated Model for M_DiscountSchemaLine- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
LIMIT_BASE_AD_Reference_ID
Limit_Base AD_Reference_ID=194static String
LIMIT_BASE_FixedPrice
Fixed Price = Fstatic String
LIMIT_BASE_LimitPOPrice
Limit (PO) Price = Xstatic String
LIMIT_BASE_ListPrice
List Price = Lstatic String
LIMIT_BASE_ProductCost
Product Cost = Pstatic String
LIMIT_BASE_StandardPrice
Standard Price = Sstatic int
LIMIT_ROUNDING_AD_Reference_ID
Limit_Rounding AD_Reference_ID=155static String
LIMIT_ROUNDING_CurrencyPrecision
Currency Precision = Cstatic String
LIMIT_ROUNDING_Dime102030
Dime .10, .20, .30, ... = Dstatic String
LIMIT_ROUNDING_EndingIn95
Ending in 9/5 = 9static String
LIMIT_ROUNDING_Hundred
Hundred = hstatic String
LIMIT_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5static String
LIMIT_ROUNDING_NoRounding
No Rounding = Nstatic String
LIMIT_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Qstatic String
LIMIT_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = Tstatic String
LIMIT_ROUNDING_Thousand
Thousand = tstatic String
LIMIT_ROUNDING_WholeNumber00
Whole Number .00 = 0static int
LIST_BASE_AD_Reference_ID
List_Base AD_Reference_ID=194static String
LIST_BASE_FixedPrice
Fixed Price = Fstatic String
LIST_BASE_LimitPOPrice
Limit (PO) Price = Xstatic String
LIST_BASE_ListPrice
List Price = Lstatic String
LIST_BASE_ProductCost
Product Cost = Pstatic String
LIST_BASE_StandardPrice
Standard Price = Sstatic int
LIST_ROUNDING_AD_Reference_ID
List_Rounding AD_Reference_ID=155static String
LIST_ROUNDING_CurrencyPrecision
Currency Precision = Cstatic String
LIST_ROUNDING_Dime102030
Dime .10, .20, .30, ... = Dstatic String
LIST_ROUNDING_EndingIn95
Ending in 9/5 = 9static String
LIST_ROUNDING_Hundred
Hundred = hstatic String
LIST_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5static String
LIST_ROUNDING_NoRounding
No Rounding = Nstatic String
LIST_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Qstatic String
LIST_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = Tstatic String
LIST_ROUNDING_Thousand
Thousand = tstatic String
LIST_ROUNDING_WholeNumber00
Whole Number .00 = 0static int
STD_BASE_AD_Reference_ID
Std_Base AD_Reference_ID=194static String
STD_BASE_FixedPrice
Fixed Price = Fstatic String
STD_BASE_LimitPOPrice
Limit (PO) Price = Xstatic String
STD_BASE_ListPrice
List Price = Lstatic String
STD_BASE_ProductCost
Product Cost = Pstatic String
STD_BASE_StandardPrice
Standard Price = Sstatic int
STD_ROUNDING_AD_Reference_ID
Std_Rounding AD_Reference_ID=155static String
STD_ROUNDING_CurrencyPrecision
Currency Precision = Cstatic String
STD_ROUNDING_Dime102030
Dime .10, .20, .30, ... = Dstatic String
STD_ROUNDING_EndingIn95
Ending in 9/5 = 9static String
STD_ROUNDING_Hundred
Hundred = hstatic String
STD_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5static String
STD_ROUNDING_NoRounding
No Rounding = Nstatic String
STD_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Qstatic String
STD_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = Tstatic String
STD_ROUNDING_Thousand
Thousand = tstatic String
STD_ROUNDING_WholeNumber00
Whole Number .00 = 0-
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_M_DiscountSchemaLine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_ConversionType_ID, COLUMNNAME_Classification, COLUMNNAME_ConversionDate, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Group1, COLUMNNAME_Group2, COLUMNNAME_IsActive, COLUMNNAME_IsIgnoreIsCurrentVendor, COLUMNNAME_Limit_AddAmt, COLUMNNAME_Limit_Base, COLUMNNAME_Limit_Discount, COLUMNNAME_Limit_Fixed, COLUMNNAME_Limit_MaxAmt, COLUMNNAME_Limit_MinAmt, COLUMNNAME_Limit_Rounding, COLUMNNAME_List_AddAmt, COLUMNNAME_List_Base, COLUMNNAME_List_Discount, COLUMNNAME_List_Fixed, COLUMNNAME_List_MaxAmt, COLUMNNAME_List_MinAmt, COLUMNNAME_List_Rounding, COLUMNNAME_M_DiscountSchema_ID, COLUMNNAME_M_DiscountSchemaLine_ID, COLUMNNAME_M_DiscountSchemaLine_UU, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_SeqNo, COLUMNNAME_Std_AddAmt, COLUMNNAME_Std_Base, COLUMNNAME_Std_Discount, COLUMNNAME_Std_Fixed, COLUMNNAME_Std_MaxAmt, COLUMNNAME_Std_MinAmt, COLUMNNAME_Std_Rounding, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_VendorCategory, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_DiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName)
Standard ConstructorX_M_DiscountSchemaLine(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_C_BPartner
getC_BPartner()
int
getC_BPartner_ID()
Get Business Partner.I_C_ConversionType
getC_ConversionType()
int
getC_ConversionType_ID()
Get Currency Type.String
getClassification()
Get Classification.Timestamp
getConversionDate()
Get Conversion Date.String
getDescription()
Get Description.String
getGroup1()
Get Group1.String
getGroup2()
Get Group2.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameBigDecimal
getLimit_AddAmt()
Get Limit price Surcharge Amount.String
getLimit_Base()
Get Limit price Base.BigDecimal
getLimit_Discount()
Get Limit price Discount %.BigDecimal
getLimit_Fixed()
Get Fixed Limit Price.BigDecimal
getLimit_MaxAmt()
Get Limit price max Margin.BigDecimal
getLimit_MinAmt()
Get Limit price min Margin.String
getLimit_Rounding()
Get Limit price Rounding.BigDecimal
getList_AddAmt()
Get List price Surcharge Amount.String
getList_Base()
Get List price Base.BigDecimal
getList_Discount()
Get List price Discount %.BigDecimal
getList_Fixed()
Get Fixed List Price.BigDecimal
getList_MaxAmt()
Get List price max Margin.BigDecimal
getList_MinAmt()
Get List price min Margin.String
getList_Rounding()
Get List price Rounding.I_M_DiscountSchema
getM_DiscountSchema()
int
getM_DiscountSchema_ID()
Get Discount Schema.int
getM_DiscountSchemaLine_ID()
Get Discount Pricelist.String
getM_DiscountSchemaLine_UU()
Get M_DiscountSchemaLine_UU.I_M_Product
getM_Product()
I_M_Product_Category
getM_Product_Category()
int
getM_Product_Category_ID()
Get Product Category.int
getM_Product_ID()
Get Product.int
getSeqNo()
Get Sequence.BigDecimal
getStd_AddAmt()
Get Standard price Surcharge Amount.String
getStd_Base()
Get Standard price Base.BigDecimal
getStd_Discount()
Get Standard price Discount %.BigDecimal
getStd_Fixed()
Get Fixed Standard Price.BigDecimal
getStd_MaxAmt()
Get Standard max Margin.BigDecimal
getStd_MinAmt()
Get Standard price min Margin.String
getStd_Rounding()
Get Standard price Rounding.String
getVendorCategory()
Get Partner Category.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isIgnoreIsCurrentVendor()
Get Ignore Current Vendor Flag.void
setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.void
setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.void
setClassification(String Classification)
Set Classification.void
setConversionDate(Timestamp ConversionDate)
Set Conversion Date.void
setDescription(String Description)
Set Description.void
setGroup1(String Group1)
Set Group1.void
setGroup2(String Group2)
Set Group2.void
setIsIgnoreIsCurrentVendor(boolean IsIgnoreIsCurrentVendor)
Set Ignore Current Vendor Flag.void
setLimit_AddAmt(BigDecimal Limit_AddAmt)
Set Limit price Surcharge Amount.void
setLimit_Base(String Limit_Base)
Set Limit price Base.void
setLimit_Discount(BigDecimal Limit_Discount)
Set Limit price Discount %.void
setLimit_Fixed(BigDecimal Limit_Fixed)
Set Fixed Limit Price.void
setLimit_MaxAmt(BigDecimal Limit_MaxAmt)
Set Limit price max Margin.void
setLimit_MinAmt(BigDecimal Limit_MinAmt)
Set Limit price min Margin.void
setLimit_Rounding(String Limit_Rounding)
Set Limit price Rounding.void
setList_AddAmt(BigDecimal List_AddAmt)
Set List price Surcharge Amount.void
setList_Base(String List_Base)
Set List price Base.void
setList_Discount(BigDecimal List_Discount)
Set List price Discount %.void
setList_Fixed(BigDecimal List_Fixed)
Set Fixed List Price.void
setList_MaxAmt(BigDecimal List_MaxAmt)
Set List price max Margin.void
setList_MinAmt(BigDecimal List_MinAmt)
Set List price min Margin.void
setList_Rounding(String List_Rounding)
Set List price Rounding.void
setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.void
setM_DiscountSchemaLine_ID(int M_DiscountSchemaLine_ID)
Set Discount Pricelist.void
setM_DiscountSchemaLine_UU(String M_DiscountSchemaLine_UU)
Set M_DiscountSchemaLine_UU.void
setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setSeqNo(int SeqNo)
Set Sequence.void
setStd_AddAmt(BigDecimal Std_AddAmt)
Set Standard price Surcharge Amount.void
setStd_Base(String Std_Base)
Set Standard price Base.void
setStd_Discount(BigDecimal Std_Discount)
Set Standard price Discount %.void
setStd_Fixed(BigDecimal Std_Fixed)
Set Fixed Standard Price.void
setStd_MaxAmt(BigDecimal Std_MaxAmt)
Set Standard max Margin.void
setStd_MinAmt(BigDecimal Std_MinAmt)
Set Standard price min Margin.void
setStd_Rounding(String Std_Rounding)
Set Standard price Rounding.void
setVendorCategory(String VendorCategory)
Set Partner Category.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_M_DiscountSchemaLine
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
-
LIMIT_BASE_AD_Reference_ID
public static final int LIMIT_BASE_AD_Reference_ID
Limit_Base AD_Reference_ID=194- See Also:
- Constant Field Values
-
LIMIT_BASE_FixedPrice
public static final String LIMIT_BASE_FixedPrice
Fixed Price = F- See Also:
- Constant Field Values
-
LIMIT_BASE_ListPrice
public static final String LIMIT_BASE_ListPrice
List Price = L- See Also:
- Constant Field Values
-
LIMIT_BASE_ProductCost
public static final String LIMIT_BASE_ProductCost
Product Cost = P- See Also:
- Constant Field Values
-
LIMIT_BASE_StandardPrice
public static final String LIMIT_BASE_StandardPrice
Standard Price = S- See Also:
- Constant Field Values
-
LIMIT_BASE_LimitPOPrice
public static final String LIMIT_BASE_LimitPOPrice
Limit (PO) Price = X- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_AD_Reference_ID
public static final int LIMIT_ROUNDING_AD_Reference_ID
Limit_Rounding AD_Reference_ID=155- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_WholeNumber00
public static final String LIMIT_ROUNDING_WholeNumber00
Whole Number .00 = 0- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_Nickel051015
public static final String LIMIT_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_EndingIn95
public static final String LIMIT_ROUNDING_EndingIn95
Ending in 9/5 = 9- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_CurrencyPrecision
public static final String LIMIT_ROUNDING_CurrencyPrecision
Currency Precision = C- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_Dime102030
public static final String LIMIT_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_Hundred
public static final String LIMIT_ROUNDING_Hundred
Hundred = h- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_NoRounding
public static final String LIMIT_ROUNDING_NoRounding
No Rounding = N- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_Quarter255075
public static final String LIMIT_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Q- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_Thousand
public static final String LIMIT_ROUNDING_Thousand
Thousand = t- See Also:
- Constant Field Values
-
LIMIT_ROUNDING_Ten10002000
public static final String LIMIT_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T- See Also:
- Constant Field Values
-
LIST_BASE_AD_Reference_ID
public static final int LIST_BASE_AD_Reference_ID
List_Base AD_Reference_ID=194- See Also:
- Constant Field Values
-
LIST_BASE_FixedPrice
public static final String LIST_BASE_FixedPrice
Fixed Price = F- See Also:
- Constant Field Values
-
LIST_BASE_ListPrice
public static final String LIST_BASE_ListPrice
List Price = L- See Also:
- Constant Field Values
-
LIST_BASE_ProductCost
public static final String LIST_BASE_ProductCost
Product Cost = P- See Also:
- Constant Field Values
-
LIST_BASE_StandardPrice
public static final String LIST_BASE_StandardPrice
Standard Price = S- See Also:
- Constant Field Values
-
LIST_BASE_LimitPOPrice
public static final String LIST_BASE_LimitPOPrice
Limit (PO) Price = X- See Also:
- Constant Field Values
-
LIST_ROUNDING_AD_Reference_ID
public static final int LIST_ROUNDING_AD_Reference_ID
List_Rounding AD_Reference_ID=155- See Also:
- Constant Field Values
-
LIST_ROUNDING_WholeNumber00
public static final String LIST_ROUNDING_WholeNumber00
Whole Number .00 = 0- See Also:
- Constant Field Values
-
LIST_ROUNDING_Nickel051015
public static final String LIST_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5- See Also:
- Constant Field Values
-
LIST_ROUNDING_EndingIn95
public static final String LIST_ROUNDING_EndingIn95
Ending in 9/5 = 9- See Also:
- Constant Field Values
-
LIST_ROUNDING_CurrencyPrecision
public static final String LIST_ROUNDING_CurrencyPrecision
Currency Precision = C- See Also:
- Constant Field Values
-
LIST_ROUNDING_Dime102030
public static final String LIST_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D- See Also:
- Constant Field Values
-
LIST_ROUNDING_Hundred
public static final String LIST_ROUNDING_Hundred
Hundred = h- See Also:
- Constant Field Values
-
LIST_ROUNDING_NoRounding
public static final String LIST_ROUNDING_NoRounding
No Rounding = N- See Also:
- Constant Field Values
-
LIST_ROUNDING_Quarter255075
public static final String LIST_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Q- See Also:
- Constant Field Values
-
LIST_ROUNDING_Thousand
public static final String LIST_ROUNDING_Thousand
Thousand = t- See Also:
- Constant Field Values
-
LIST_ROUNDING_Ten10002000
public static final String LIST_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T- See Also:
- Constant Field Values
-
STD_BASE_AD_Reference_ID
public static final int STD_BASE_AD_Reference_ID
Std_Base AD_Reference_ID=194- See Also:
- Constant Field Values
-
STD_BASE_FixedPrice
public static final String STD_BASE_FixedPrice
Fixed Price = F- See Also:
- Constant Field Values
-
STD_BASE_ListPrice
public static final String STD_BASE_ListPrice
List Price = L- See Also:
- Constant Field Values
-
STD_BASE_ProductCost
public static final String STD_BASE_ProductCost
Product Cost = P- See Also:
- Constant Field Values
-
STD_BASE_StandardPrice
public static final String STD_BASE_StandardPrice
Standard Price = S- See Also:
- Constant Field Values
-
STD_BASE_LimitPOPrice
public static final String STD_BASE_LimitPOPrice
Limit (PO) Price = X- See Also:
- Constant Field Values
-
STD_ROUNDING_AD_Reference_ID
public static final int STD_ROUNDING_AD_Reference_ID
Std_Rounding AD_Reference_ID=155- See Also:
- Constant Field Values
-
STD_ROUNDING_WholeNumber00
public static final String STD_ROUNDING_WholeNumber00
Whole Number .00 = 0- See Also:
- Constant Field Values
-
STD_ROUNDING_Nickel051015
public static final String STD_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5- See Also:
- Constant Field Values
-
STD_ROUNDING_EndingIn95
public static final String STD_ROUNDING_EndingIn95
Ending in 9/5 = 9- See Also:
- Constant Field Values
-
STD_ROUNDING_CurrencyPrecision
public static final String STD_ROUNDING_CurrencyPrecision
Currency Precision = C- See Also:
- Constant Field Values
-
STD_ROUNDING_Dime102030
public static final String STD_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D- See Also:
- Constant Field Values
-
STD_ROUNDING_Hundred
public static final String STD_ROUNDING_Hundred
Hundred = h- See Also:
- Constant Field Values
-
STD_ROUNDING_NoRounding
public static final String STD_ROUNDING_NoRounding
No Rounding = N- See Also:
- Constant Field Values
-
STD_ROUNDING_Quarter255075
public static final String STD_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Q- See Also:
- Constant Field Values
-
STD_ROUNDING_Thousand
public static final String STD_ROUNDING_Thousand
Thousand = t- See Also:
- Constant Field Values
-
STD_ROUNDING_Ten10002000
public static final String STD_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_M_DiscountSchemaLine
public X_M_DiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName)
Standard Constructor
-
X_M_DiscountSchemaLine
public X_M_DiscountSchemaLine(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
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartner
in interfaceI_M_DiscountSchemaLine
- 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_DiscountSchemaLine
- 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_DiscountSchemaLine
- Returns:
- Identifies a Business Partner
-
getC_ConversionType
public I_C_ConversionType getC_ConversionType() throws RuntimeException
- Specified by:
getC_ConversionType
in interfaceI_M_DiscountSchemaLine
- Throws:
RuntimeException
-
setC_ConversionType_ID
public void setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.- Specified by:
setC_ConversionType_ID
in interfaceI_M_DiscountSchemaLine
- Parameters:
C_ConversionType_ID
- Currency Conversion Rate Type
-
getC_ConversionType_ID
public int getC_ConversionType_ID()
Get Currency Type.- Specified by:
getC_ConversionType_ID
in interfaceI_M_DiscountSchemaLine
- Returns:
- Currency Conversion Rate Type
-
setClassification
public void setClassification(String Classification)
Set Classification.- Specified by:
setClassification
in interfaceI_M_DiscountSchemaLine
- Parameters:
Classification
- Classification for grouping
-
getClassification
public String getClassification()
Get Classification.- Specified by:
getClassification
in interfaceI_M_DiscountSchemaLine
- Returns:
- Classification for grouping
-
setConversionDate
public void setConversionDate(Timestamp ConversionDate)
Set Conversion Date.- Specified by:
setConversionDate
in interfaceI_M_DiscountSchemaLine
- Parameters:
ConversionDate
- Date for selecting conversion rate
-
getConversionDate
public Timestamp getConversionDate()
Get Conversion Date.- Specified by:
getConversionDate
in interfaceI_M_DiscountSchemaLine
- Returns:
- Date for selecting conversion rate
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_DiscountSchemaLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_DiscountSchemaLine
- Returns:
- Optional short description of the record
-
setGroup1
public void setGroup1(String Group1)
Set Group1.- Specified by:
setGroup1
in interfaceI_M_DiscountSchemaLine
- Parameters:
Group1
- Group1
-
getGroup1
public String getGroup1()
Get Group1.- Specified by:
getGroup1
in interfaceI_M_DiscountSchemaLine
- Returns:
- Group1
-
setGroup2
public void setGroup2(String Group2)
Set Group2.- Specified by:
setGroup2
in interfaceI_M_DiscountSchemaLine
- Parameters:
Group2
- Group2
-
getGroup2
public String getGroup2()
Get Group2.- Specified by:
getGroup2
in interfaceI_M_DiscountSchemaLine
- Returns:
- Group2
-
setIsIgnoreIsCurrentVendor
public void setIsIgnoreIsCurrentVendor(boolean IsIgnoreIsCurrentVendor)
Set Ignore Current Vendor Flag.- Specified by:
setIsIgnoreIsCurrentVendor
in interfaceI_M_DiscountSchemaLine
- Parameters:
IsIgnoreIsCurrentVendor
- take all PO prices into account
-
isIgnoreIsCurrentVendor
public boolean isIgnoreIsCurrentVendor()
Get Ignore Current Vendor Flag.- Specified by:
isIgnoreIsCurrentVendor
in interfaceI_M_DiscountSchemaLine
- Returns:
- take all PO prices into account
-
setLimit_AddAmt
public void setLimit_AddAmt(BigDecimal Limit_AddAmt)
Set Limit price Surcharge Amount.- Specified by:
setLimit_AddAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_AddAmt
- Amount added to the converted/copied price before multiplying
-
getLimit_AddAmt
public BigDecimal getLimit_AddAmt()
Get Limit price Surcharge Amount.- Specified by:
getLimit_AddAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Amount added to the converted/copied price before multiplying
-
setLimit_Base
public void setLimit_Base(String Limit_Base)
Set Limit price Base.- Specified by:
setLimit_Base
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_Base
- Base price for calculation of the new price
-
getLimit_Base
public String getLimit_Base()
Get Limit price Base.- Specified by:
getLimit_Base
in interfaceI_M_DiscountSchemaLine
- Returns:
- Base price for calculation of the new price
-
setLimit_Discount
public void setLimit_Discount(BigDecimal Limit_Discount)
Set Limit price Discount %.- Specified by:
setLimit_Discount
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_Discount
- Discount in percent to be subtracted from base, if negative it will be added to base price
-
getLimit_Discount
public BigDecimal getLimit_Discount()
Get Limit price Discount %.- Specified by:
getLimit_Discount
in interfaceI_M_DiscountSchemaLine
- Returns:
- Discount in percent to be subtracted from base, if negative it will be added to base price
-
setLimit_Fixed
public void setLimit_Fixed(BigDecimal Limit_Fixed)
Set Fixed Limit Price.- Specified by:
setLimit_Fixed
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_Fixed
- Fixed Limit Price (not calculated)
-
getLimit_Fixed
public BigDecimal getLimit_Fixed()
Get Fixed Limit Price.- Specified by:
getLimit_Fixed
in interfaceI_M_DiscountSchemaLine
- Returns:
- Fixed Limit Price (not calculated)
-
setLimit_MaxAmt
public void setLimit_MaxAmt(BigDecimal Limit_MaxAmt)
Set Limit price max Margin.- Specified by:
setLimit_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_MaxAmt
- Maximum difference to original limit price; ignored if zero
-
getLimit_MaxAmt
public BigDecimal getLimit_MaxAmt()
Get Limit price max Margin.- Specified by:
getLimit_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Maximum difference to original limit price; ignored if zero
-
setLimit_MinAmt
public void setLimit_MinAmt(BigDecimal Limit_MinAmt)
Set Limit price min Margin.- Specified by:
setLimit_MinAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_MinAmt
- Minimum difference to original limit price; ignored if zero
-
getLimit_MinAmt
public BigDecimal getLimit_MinAmt()
Get Limit price min Margin.- Specified by:
getLimit_MinAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Minimum difference to original limit price; ignored if zero
-
setLimit_Rounding
public void setLimit_Rounding(String Limit_Rounding)
Set Limit price Rounding.- Specified by:
setLimit_Rounding
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_Rounding
- Rounding of the final result
-
getLimit_Rounding
public String getLimit_Rounding()
Get Limit price Rounding.- Specified by:
getLimit_Rounding
in interfaceI_M_DiscountSchemaLine
- Returns:
- Rounding of the final result
-
setList_AddAmt
public void setList_AddAmt(BigDecimal List_AddAmt)
Set List price Surcharge Amount.- Specified by:
setList_AddAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_AddAmt
- List Price Surcharge Amount
-
getList_AddAmt
public BigDecimal getList_AddAmt()
Get List price Surcharge Amount.- Specified by:
getList_AddAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- List Price Surcharge Amount
-
setList_Base
public void setList_Base(String List_Base)
Set List price Base.- Specified by:
setList_Base
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_Base
- Price used as the basis for price list calculations
-
getList_Base
public String getList_Base()
Get List price Base.- Specified by:
getList_Base
in interfaceI_M_DiscountSchemaLine
- Returns:
- Price used as the basis for price list calculations
-
setList_Discount
public void setList_Discount(BigDecimal List_Discount)
Set List price Discount %.- Specified by:
setList_Discount
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_Discount
- Discount from list price as a percentage
-
getList_Discount
public BigDecimal getList_Discount()
Get List price Discount %.- Specified by:
getList_Discount
in interfaceI_M_DiscountSchemaLine
- Returns:
- Discount from list price as a percentage
-
setList_Fixed
public void setList_Fixed(BigDecimal List_Fixed)
Set Fixed List Price.- Specified by:
setList_Fixed
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_Fixed
- Fixes List Price (not calculated)
-
getList_Fixed
public BigDecimal getList_Fixed()
Get Fixed List Price.- Specified by:
getList_Fixed
in interfaceI_M_DiscountSchemaLine
- Returns:
- Fixes List Price (not calculated)
-
setList_MaxAmt
public void setList_MaxAmt(BigDecimal List_MaxAmt)
Set List price max Margin.- Specified by:
setList_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_MaxAmt
- Maximum margin for a product
-
getList_MaxAmt
public BigDecimal getList_MaxAmt()
Get List price max Margin.- Specified by:
getList_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Maximum margin for a product
-
setList_MinAmt
public void setList_MinAmt(BigDecimal List_MinAmt)
Set List price min Margin.- Specified by:
setList_MinAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_MinAmt
- Minimum margin for a product
-
getList_MinAmt
public BigDecimal getList_MinAmt()
Get List price min Margin.- Specified by:
getList_MinAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Minimum margin for a product
-
setList_Rounding
public void setList_Rounding(String List_Rounding)
Set List price Rounding.- Specified by:
setList_Rounding
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_Rounding
- Rounding rule for final list price
-
getList_Rounding
public String getList_Rounding()
Get List price Rounding.- Specified by:
getList_Rounding
in interfaceI_M_DiscountSchemaLine
- Returns:
- Rounding rule for final list price
-
getM_DiscountSchema
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
- Specified by:
getM_DiscountSchema
in interfaceI_M_DiscountSchemaLine
- Throws:
RuntimeException
-
setM_DiscountSchema_ID
public void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.- Specified by:
setM_DiscountSchema_ID
in interfaceI_M_DiscountSchemaLine
- 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_M_DiscountSchemaLine
- Returns:
- Schema to calculate the trade discount percentage
-
setM_DiscountSchemaLine_ID
public void setM_DiscountSchemaLine_ID(int M_DiscountSchemaLine_ID)
Set Discount Pricelist.- Specified by:
setM_DiscountSchemaLine_ID
in interfaceI_M_DiscountSchemaLine
- Parameters:
M_DiscountSchemaLine_ID
- Line of the pricelist trade discount schema
-
getM_DiscountSchemaLine_ID
public int getM_DiscountSchemaLine_ID()
Get Discount Pricelist.- Specified by:
getM_DiscountSchemaLine_ID
in interfaceI_M_DiscountSchemaLine
- Returns:
- Line of the pricelist trade discount schema
-
setM_DiscountSchemaLine_UU
public void setM_DiscountSchemaLine_UU(String M_DiscountSchemaLine_UU)
Set M_DiscountSchemaLine_UU.- Specified by:
setM_DiscountSchemaLine_UU
in interfaceI_M_DiscountSchemaLine
- Parameters:
M_DiscountSchemaLine_UU
- M_DiscountSchemaLine_UU
-
getM_DiscountSchemaLine_UU
public String getM_DiscountSchemaLine_UU()
Get M_DiscountSchemaLine_UU.- Specified by:
getM_DiscountSchemaLine_UU
in interfaceI_M_DiscountSchemaLine
- Returns:
- M_DiscountSchemaLine_UU
-
getM_Product_Category
public I_M_Product_Category getM_Product_Category() throws RuntimeException
- Specified by:
getM_Product_Category
in interfaceI_M_DiscountSchemaLine
- Throws:
RuntimeException
-
setM_Product_Category_ID
public void setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category.- Specified by:
setM_Product_Category_ID
in interfaceI_M_DiscountSchemaLine
- Parameters:
M_Product_Category_ID
- Category of a Product
-
getM_Product_Category_ID
public int getM_Product_Category_ID()
Get Product Category.- Specified by:
getM_Product_Category_ID
in interfaceI_M_DiscountSchemaLine
- Returns:
- Category of a Product
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_M_DiscountSchemaLine
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_DiscountSchemaLine
- 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_DiscountSchemaLine
- Returns:
- Product, Service, Item
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNo
in interfaceI_M_DiscountSchemaLine
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNo
in interfaceI_M_DiscountSchemaLine
- Returns:
- Method of ordering records; lowest number comes first
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setStd_AddAmt
public void setStd_AddAmt(BigDecimal Std_AddAmt)
Set Standard price Surcharge Amount.- Specified by:
setStd_AddAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_AddAmt
- Amount added to a price as a surcharge
-
getStd_AddAmt
public BigDecimal getStd_AddAmt()
Get Standard price Surcharge Amount.- Specified by:
getStd_AddAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Amount added to a price as a surcharge
-
setStd_Base
public void setStd_Base(String Std_Base)
Set Standard price Base.- Specified by:
setStd_Base
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_Base
- Base price for calculating new standard price
-
getStd_Base
public String getStd_Base()
Get Standard price Base.- Specified by:
getStd_Base
in interfaceI_M_DiscountSchemaLine
- Returns:
- Base price for calculating new standard price
-
setStd_Discount
public void setStd_Discount(BigDecimal Std_Discount)
Set Standard price Discount %.- Specified by:
setStd_Discount
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_Discount
- Discount percentage to subtract from base price
-
getStd_Discount
public BigDecimal getStd_Discount()
Get Standard price Discount %.- Specified by:
getStd_Discount
in interfaceI_M_DiscountSchemaLine
- Returns:
- Discount percentage to subtract from base price
-
setStd_Fixed
public void setStd_Fixed(BigDecimal Std_Fixed)
Set Fixed Standard Price.- Specified by:
setStd_Fixed
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_Fixed
- Fixed Standard Price (not calculated)
-
getStd_Fixed
public BigDecimal getStd_Fixed()
Get Fixed Standard Price.- Specified by:
getStd_Fixed
in interfaceI_M_DiscountSchemaLine
- Returns:
- Fixed Standard Price (not calculated)
-
setStd_MaxAmt
public void setStd_MaxAmt(BigDecimal Std_MaxAmt)
Set Standard max Margin.- Specified by:
setStd_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_MaxAmt
- Maximum margin allowed for a product
-
getStd_MaxAmt
public BigDecimal getStd_MaxAmt()
Get Standard max Margin.- Specified by:
getStd_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Maximum margin allowed for a product
-
setStd_MinAmt
public void setStd_MinAmt(BigDecimal Std_MinAmt)
Set Standard price min Margin.- Specified by:
setStd_MinAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_MinAmt
- Minimum margin allowed for a product
-
getStd_MinAmt
public BigDecimal getStd_MinAmt()
Get Standard price min Margin.- Specified by:
getStd_MinAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Minimum margin allowed for a product
-
setStd_Rounding
public void setStd_Rounding(String Std_Rounding)
Set Standard price Rounding.- Specified by:
setStd_Rounding
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_Rounding
- Rounding rule for calculated price
-
getStd_Rounding
public String getStd_Rounding()
Get Standard price Rounding.- Specified by:
getStd_Rounding
in interfaceI_M_DiscountSchemaLine
- Returns:
- Rounding rule for calculated price
-
setVendorCategory
public void setVendorCategory(String VendorCategory)
Set Partner Category.- Specified by:
setVendorCategory
in interfaceI_M_DiscountSchemaLine
- Parameters:
VendorCategory
- Product Category of the Business Partner
-
getVendorCategory
public String getVendorCategory()
Get Partner Category.- Specified by:
getVendorCategory
in interfaceI_M_DiscountSchemaLine
- Returns:
- Product Category of the Business Partner
-
-