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 intLIMIT_BASE_AD_Reference_IDLimit_Base AD_Reference_ID=194static StringLIMIT_BASE_FixedPriceFixed Price = Fstatic StringLIMIT_BASE_LimitPOPriceLimit (PO) Price = Xstatic StringLIMIT_BASE_ListPriceList Price = Lstatic StringLIMIT_BASE_ProductCostProduct Cost = Pstatic StringLIMIT_BASE_StandardPriceStandard Price = Sstatic intLIMIT_ROUNDING_AD_Reference_IDLimit_Rounding AD_Reference_ID=155static StringLIMIT_ROUNDING_CurrencyPrecisionCurrency Precision = Cstatic StringLIMIT_ROUNDING_Dime102030Dime .10, .20, .30, ... = Dstatic StringLIMIT_ROUNDING_EndingIn95Ending in 9/5 = 9static StringLIMIT_ROUNDING_HundredHundred = hstatic StringLIMIT_ROUNDING_Nickel051015Nickel .05, .10, .15, ... = 5static StringLIMIT_ROUNDING_NoRoundingNo Rounding = Nstatic StringLIMIT_ROUNDING_Quarter255075Quarter .25 .50 .75 = Qstatic StringLIMIT_ROUNDING_Ten10002000Ten 10.00, 20.00, .. = Tstatic StringLIMIT_ROUNDING_ThousandThousand = tstatic StringLIMIT_ROUNDING_WholeNumber00Whole Number .00 = 0static intLIST_BASE_AD_Reference_IDList_Base AD_Reference_ID=194static StringLIST_BASE_FixedPriceFixed Price = Fstatic StringLIST_BASE_LimitPOPriceLimit (PO) Price = Xstatic StringLIST_BASE_ListPriceList Price = Lstatic StringLIST_BASE_ProductCostProduct Cost = Pstatic StringLIST_BASE_StandardPriceStandard Price = Sstatic intLIST_ROUNDING_AD_Reference_IDList_Rounding AD_Reference_ID=155static StringLIST_ROUNDING_CurrencyPrecisionCurrency Precision = Cstatic StringLIST_ROUNDING_Dime102030Dime .10, .20, .30, ... = Dstatic StringLIST_ROUNDING_EndingIn95Ending in 9/5 = 9static StringLIST_ROUNDING_HundredHundred = hstatic StringLIST_ROUNDING_Nickel051015Nickel .05, .10, .15, ... = 5static StringLIST_ROUNDING_NoRoundingNo Rounding = Nstatic StringLIST_ROUNDING_Quarter255075Quarter .25 .50 .75 = Qstatic StringLIST_ROUNDING_Ten10002000Ten 10.00, 20.00, .. = Tstatic StringLIST_ROUNDING_ThousandThousand = tstatic StringLIST_ROUNDING_WholeNumber00Whole Number .00 = 0static intSTD_BASE_AD_Reference_IDStd_Base AD_Reference_ID=194static StringSTD_BASE_FixedPriceFixed Price = Fstatic StringSTD_BASE_LimitPOPriceLimit (PO) Price = Xstatic StringSTD_BASE_ListPriceList Price = Lstatic StringSTD_BASE_ProductCostProduct Cost = Pstatic StringSTD_BASE_StandardPriceStandard Price = Sstatic intSTD_ROUNDING_AD_Reference_IDStd_Rounding AD_Reference_ID=155static StringSTD_ROUNDING_CurrencyPrecisionCurrency Precision = Cstatic StringSTD_ROUNDING_Dime102030Dime .10, .20, .30, ... = Dstatic StringSTD_ROUNDING_EndingIn95Ending in 9/5 = 9static StringSTD_ROUNDING_HundredHundred = hstatic StringSTD_ROUNDING_Nickel051015Nickel .05, .10, .15, ... = 5static StringSTD_ROUNDING_NoRoundingNo Rounding = Nstatic StringSTD_ROUNDING_Quarter255075Quarter .25 .50 .75 = Qstatic StringSTD_ROUNDING_Ten10002000Ten 10.00, 20.00, .. = Tstatic StringSTD_ROUNDING_ThousandThousand = tstatic StringSTD_ROUNDING_WholeNumber00Whole 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 intget_AccessLevel()AccessLevelI_C_BPartnergetC_BPartner()intgetC_BPartner_ID()Get Business Partner.I_C_ConversionTypegetC_ConversionType()intgetC_ConversionType_ID()Get Currency Type.StringgetClassification()Get Classification.TimestampgetConversionDate()Get Conversion Date.StringgetDescription()Get Description.StringgetGroup1()Get Group1.StringgetGroup2()Get Group2.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameBigDecimalgetLimit_AddAmt()Get Limit price Surcharge Amount.StringgetLimit_Base()Get Limit price Base.BigDecimalgetLimit_Discount()Get Limit price Discount %.BigDecimalgetLimit_Fixed()Get Fixed Limit Price.BigDecimalgetLimit_MaxAmt()Get Limit price max Margin.BigDecimalgetLimit_MinAmt()Get Limit price min Margin.StringgetLimit_Rounding()Get Limit price Rounding.BigDecimalgetList_AddAmt()Get List price Surcharge Amount.StringgetList_Base()Get List price Base.BigDecimalgetList_Discount()Get List price Discount %.BigDecimalgetList_Fixed()Get Fixed List Price.BigDecimalgetList_MaxAmt()Get List price max Margin.BigDecimalgetList_MinAmt()Get List price min Margin.StringgetList_Rounding()Get List price Rounding.I_M_DiscountSchemagetM_DiscountSchema()intgetM_DiscountSchema_ID()Get Discount Schema.intgetM_DiscountSchemaLine_ID()Get Discount Pricelist.StringgetM_DiscountSchemaLine_UU()Get M_DiscountSchemaLine_UU.I_M_ProductgetM_Product()I_M_Product_CategorygetM_Product_Category()intgetM_Product_Category_ID()Get Product Category.intgetM_Product_ID()Get Product.intgetSeqNo()Get Sequence.BigDecimalgetStd_AddAmt()Get Standard price Surcharge Amount.StringgetStd_Base()Get Standard price Base.BigDecimalgetStd_Discount()Get Standard price Discount %.BigDecimalgetStd_Fixed()Get Fixed Standard Price.BigDecimalgetStd_MaxAmt()Get Standard max Margin.BigDecimalgetStd_MinAmt()Get Standard price min Margin.StringgetStd_Rounding()Get Standard price Rounding.StringgetVendorCategory()Get Partner Category.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisIgnoreIsCurrentVendor()Get Ignore Current Vendor Flag.voidsetC_BPartner_ID(int C_BPartner_ID)Set Business Partner.voidsetC_ConversionType_ID(int C_ConversionType_ID)Set Currency Type.voidsetClassification(String Classification)Set Classification.voidsetConversionDate(Timestamp ConversionDate)Set Conversion Date.voidsetDescription(String Description)Set Description.voidsetGroup1(String Group1)Set Group1.voidsetGroup2(String Group2)Set Group2.voidsetIsIgnoreIsCurrentVendor(boolean IsIgnoreIsCurrentVendor)Set Ignore Current Vendor Flag.voidsetLimit_AddAmt(BigDecimal Limit_AddAmt)Set Limit price Surcharge Amount.voidsetLimit_Base(String Limit_Base)Set Limit price Base.voidsetLimit_Discount(BigDecimal Limit_Discount)Set Limit price Discount %.voidsetLimit_Fixed(BigDecimal Limit_Fixed)Set Fixed Limit Price.voidsetLimit_MaxAmt(BigDecimal Limit_MaxAmt)Set Limit price max Margin.voidsetLimit_MinAmt(BigDecimal Limit_MinAmt)Set Limit price min Margin.voidsetLimit_Rounding(String Limit_Rounding)Set Limit price Rounding.voidsetList_AddAmt(BigDecimal List_AddAmt)Set List price Surcharge Amount.voidsetList_Base(String List_Base)Set List price Base.voidsetList_Discount(BigDecimal List_Discount)Set List price Discount %.voidsetList_Fixed(BigDecimal List_Fixed)Set Fixed List Price.voidsetList_MaxAmt(BigDecimal List_MaxAmt)Set List price max Margin.voidsetList_MinAmt(BigDecimal List_MinAmt)Set List price min Margin.voidsetList_Rounding(String List_Rounding)Set List price Rounding.voidsetM_DiscountSchema_ID(int M_DiscountSchema_ID)Set Discount Schema.voidsetM_DiscountSchemaLine_ID(int M_DiscountSchemaLine_ID)Set Discount Pricelist.voidsetM_DiscountSchemaLine_UU(String M_DiscountSchemaLine_UU)Set M_DiscountSchemaLine_UU.voidsetM_Product_Category_ID(int M_Product_Category_ID)Set Product Category.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetSeqNo(int SeqNo)Set Sequence.voidsetStd_AddAmt(BigDecimal Std_AddAmt)Set Standard price Surcharge Amount.voidsetStd_Base(String Std_Base)Set Standard price Base.voidsetStd_Discount(BigDecimal Std_Discount)Set Standard price Discount %.voidsetStd_Fixed(BigDecimal Std_Fixed)Set Fixed Standard Price.voidsetStd_MaxAmt(BigDecimal Std_MaxAmt)Set Standard max Margin.voidsetStd_MinAmt(BigDecimal Std_MinAmt)Set Standard price min Margin.voidsetStd_Rounding(String Std_Rounding)Set Standard price Rounding.voidsetVendorCategory(String VendorCategory)Set Partner Category.StringtoString()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_AccessLevelin 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_BPartnerin interfaceI_M_DiscountSchemaLine- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_IDin 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_IDin interfaceI_M_DiscountSchemaLine- Returns:
- Identifies a Business Partner
-
getC_ConversionType
public I_C_ConversionType getC_ConversionType() throws RuntimeException
- Specified by:
getC_ConversionTypein interfaceI_M_DiscountSchemaLine- Throws:
RuntimeException
-
setC_ConversionType_ID
public void setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.- Specified by:
setC_ConversionType_IDin 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_IDin interfaceI_M_DiscountSchemaLine- Returns:
- Currency Conversion Rate Type
-
setClassification
public void setClassification(String Classification)
Set Classification.- Specified by:
setClassificationin interfaceI_M_DiscountSchemaLine- Parameters:
Classification- Classification for grouping
-
getClassification
public String getClassification()
Get Classification.- Specified by:
getClassificationin interfaceI_M_DiscountSchemaLine- Returns:
- Classification for grouping
-
setConversionDate
public void setConversionDate(Timestamp ConversionDate)
Set Conversion Date.- Specified by:
setConversionDatein interfaceI_M_DiscountSchemaLine- Parameters:
ConversionDate- Date for selecting conversion rate
-
getConversionDate
public Timestamp getConversionDate()
Get Conversion Date.- Specified by:
getConversionDatein interfaceI_M_DiscountSchemaLine- Returns:
- Date for selecting conversion rate
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_M_DiscountSchemaLine- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_M_DiscountSchemaLine- Returns:
- Optional short description of the record
-
setGroup1
public void setGroup1(String Group1)
Set Group1.- Specified by:
setGroup1in interfaceI_M_DiscountSchemaLine- Parameters:
Group1- Group1
-
getGroup1
public String getGroup1()
Get Group1.- Specified by:
getGroup1in interfaceI_M_DiscountSchemaLine- Returns:
- Group1
-
setGroup2
public void setGroup2(String Group2)
Set Group2.- Specified by:
setGroup2in interfaceI_M_DiscountSchemaLine- Parameters:
Group2- Group2
-
getGroup2
public String getGroup2()
Get Group2.- Specified by:
getGroup2in interfaceI_M_DiscountSchemaLine- Returns:
- Group2
-
setIsIgnoreIsCurrentVendor
public void setIsIgnoreIsCurrentVendor(boolean IsIgnoreIsCurrentVendor)
Set Ignore Current Vendor Flag.- Specified by:
setIsIgnoreIsCurrentVendorin interfaceI_M_DiscountSchemaLine- Parameters:
IsIgnoreIsCurrentVendor- take all PO prices into account
-
isIgnoreIsCurrentVendor
public boolean isIgnoreIsCurrentVendor()
Get Ignore Current Vendor Flag.- Specified by:
isIgnoreIsCurrentVendorin 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_AddAmtin 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_AddAmtin 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_Basein 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_Basein 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_Discountin 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_Discountin 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_Fixedin interfaceI_M_DiscountSchemaLine- Parameters:
Limit_Fixed- Fixed Limit Price (not calculated)
-
getLimit_Fixed
public BigDecimal getLimit_Fixed()
Get Fixed Limit Price.- Specified by:
getLimit_Fixedin 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_MaxAmtin 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_MaxAmtin 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_MinAmtin 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_MinAmtin 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_Roundingin interfaceI_M_DiscountSchemaLine- Parameters:
Limit_Rounding- Rounding of the final result
-
getLimit_Rounding
public String getLimit_Rounding()
Get Limit price Rounding.- Specified by:
getLimit_Roundingin 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_AddAmtin interfaceI_M_DiscountSchemaLine- Parameters:
List_AddAmt- List Price Surcharge Amount
-
getList_AddAmt
public BigDecimal getList_AddAmt()
Get List price Surcharge Amount.- Specified by:
getList_AddAmtin interfaceI_M_DiscountSchemaLine- Returns:
- List Price Surcharge Amount
-
setList_Base
public void setList_Base(String List_Base)
Set List price Base.- Specified by:
setList_Basein 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_Basein 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_Discountin 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_Discountin 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_Fixedin interfaceI_M_DiscountSchemaLine- Parameters:
List_Fixed- Fixes List Price (not calculated)
-
getList_Fixed
public BigDecimal getList_Fixed()
Get Fixed List Price.- Specified by:
getList_Fixedin 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_MaxAmtin 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_MaxAmtin 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_MinAmtin 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_MinAmtin 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_Roundingin 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_Roundingin interfaceI_M_DiscountSchemaLine- Returns:
- Rounding rule for final list price
-
getM_DiscountSchema
public I_M_DiscountSchema getM_DiscountSchema() throws RuntimeException
- Specified by:
getM_DiscountSchemain interfaceI_M_DiscountSchemaLine- Throws:
RuntimeException
-
setM_DiscountSchema_ID
public void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.- Specified by:
setM_DiscountSchema_IDin 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_IDin 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_IDin 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_IDin 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_UUin 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_UUin interfaceI_M_DiscountSchemaLine- Returns:
- M_DiscountSchemaLine_UU
-
getM_Product_Category
public I_M_Product_Category getM_Product_Category() throws RuntimeException
- Specified by:
getM_Product_Categoryin 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_IDin 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_IDin interfaceI_M_DiscountSchemaLine- Returns:
- Category of a Product
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Productin interfaceI_M_DiscountSchemaLine- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_IDin interfaceI_M_DiscountSchemaLine- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_IDin interfaceI_M_DiscountSchemaLine- Returns:
- Product, Service, Item
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNoin interfaceI_M_DiscountSchemaLine- Parameters:
SeqNo- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNoin 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_AddAmtin 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_AddAmtin 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_Basein 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_Basein 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_Discountin 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_Discountin 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_Fixedin interfaceI_M_DiscountSchemaLine- Parameters:
Std_Fixed- Fixed Standard Price (not calculated)
-
getStd_Fixed
public BigDecimal getStd_Fixed()
Get Fixed Standard Price.- Specified by:
getStd_Fixedin 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_MaxAmtin 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_MaxAmtin 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_MinAmtin 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_MinAmtin 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_Roundingin interfaceI_M_DiscountSchemaLine- Parameters:
Std_Rounding- Rounding rule for calculated price
-
getStd_Rounding
public String getStd_Rounding()
Get Standard price Rounding.- Specified by:
getStd_Roundingin interfaceI_M_DiscountSchemaLine- Returns:
- Rounding rule for calculated price
-
setVendorCategory
public void setVendorCategory(String VendorCategory)
Set Partner Category.- Specified by:
setVendorCategoryin interfaceI_M_DiscountSchemaLine- Parameters:
VendorCategory- Product Category of the Business Partner
-
getVendorCategory
public String getVendorCategory()
Get Partner Category.- Specified by:
getVendorCategoryin interfaceI_M_DiscountSchemaLine- Returns:
- Product Category of the Business Partner
-
-