Adempiere 3.5.2a

org.compiere.model
Class X_M_DiscountSchemaLine

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_DiscountSchemaLine
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int LIMIT_BASE_AD_Reference_ID
          Limit_Base AD_Reference_ID=194
static String LIMIT_BASE_FixedPrice
          Fixed Price = F
static String LIMIT_BASE_LimitPOPrice
          Limit (PO) Price = X
static String LIMIT_BASE_ListPrice
          List Price = L
static String LIMIT_BASE_StandardPrice
          Standard Price = S
static int LIMIT_ROUNDING_AD_Reference_ID
          Limit_Rounding AD_Reference_ID=155
static String LIMIT_ROUNDING_CurrencyPrecision
          Currency Precision = C
static String LIMIT_ROUNDING_Dime102030
          Dime .10, .20, .30, ... = D
static String LIMIT_ROUNDING_EndingIn95
          Ending in 9/5 = 9
static String LIMIT_ROUNDING_Nickel051015
          Nickel .05, .10, .15, ... = 5
static String LIMIT_ROUNDING_NoRounding
          No Rounding = N
static String LIMIT_ROUNDING_Quarter255075
          Quarter .25 .50 .75 = Q
static String LIMIT_ROUNDING_Ten10002000
          Ten 10.00, 20.00, .. = T
static String LIMIT_ROUNDING_WholeNumber00
          Whole Number .00 = 0
static int LIST_BASE_AD_Reference_ID
          List_Base AD_Reference_ID=194
static String LIST_BASE_FixedPrice
          Fixed Price = F
static String LIST_BASE_LimitPOPrice
          Limit (PO) Price = X
static String LIST_BASE_ListPrice
          List Price = L
static String LIST_BASE_StandardPrice
          Standard Price = S
static int LIST_ROUNDING_AD_Reference_ID
          List_Rounding AD_Reference_ID=155
static String LIST_ROUNDING_CurrencyPrecision
          Currency Precision = C
static String LIST_ROUNDING_Dime102030
          Dime .10, .20, .30, ... = D
static String LIST_ROUNDING_EndingIn95
          Ending in 9/5 = 9
static String LIST_ROUNDING_Nickel051015
          Nickel .05, .10, .15, ... = 5
static String LIST_ROUNDING_NoRounding
          No Rounding = N
static String LIST_ROUNDING_Quarter255075
          Quarter .25 .50 .75 = Q
static String LIST_ROUNDING_Ten10002000
          Ten 10.00, 20.00, .. = T
static String LIST_ROUNDING_WholeNumber00
          Whole Number .00 = 0
static int STD_BASE_AD_Reference_ID
          Std_Base AD_Reference_ID=194
static String STD_BASE_FixedPrice
          Fixed Price = F
static String STD_BASE_LimitPOPrice
          Limit (PO) Price = X
static String STD_BASE_ListPrice
          List Price = L
static String STD_BASE_StandardPrice
          Standard Price = S
static int STD_ROUNDING_AD_Reference_ID
          Std_Rounding AD_Reference_ID=155
static String STD_ROUNDING_CurrencyPrecision
          Currency Precision = C
static String STD_ROUNDING_Dime102030
          Dime .10, .20, .30, ... = D
static String STD_ROUNDING_EndingIn95
          Ending in 9/5 = 9
static String STD_ROUNDING_Nickel051015
          Nickel .05, .10, .15, ... = 5
static String STD_ROUNDING_NoRounding
          No Rounding = N
static String STD_ROUNDING_Quarter255075
          Quarter .25 .50 .75 = Q
static String STD_ROUNDING_Ten10002000
          Ten 10.00, 20.00, .. = T
static 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, 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_C_BPartner_ID, COLUMNNAME_C_ConversionType_ID, COLUMNNAME_Classification, COLUMNNAME_ConversionDate, COLUMNNAME_Group1, COLUMNNAME_Group2, 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_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, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_DiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName)
          Standard Constructor
X_M_DiscountSchemaLine(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_BPartner_ID()
          Get Business Partner .
 I_C_BPartner getC_BPartner()
           
 int getC_ConversionType_ID()
          Get Currency Type.
 I_C_ConversionType getC_ConversionType()
           
 String getClassification()
          Get Classification.
 Timestamp getConversionDate()
          Get Conversion Date.
 String getGroup1()
          Get Group1.
 String getGroup2()
          Get Group2.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 BigDecimal 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.
 int getM_DiscountSchema_ID()
          Get Discount Schema.
 I_M_DiscountSchema getM_DiscountSchema()
           
 int getM_DiscountSchemaLine_ID()
          Get Discount Pricelist.
 int getM_Product_Category_ID()
          Get Product Category.
 I_M_Product_Category getM_Product_Category()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_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.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 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 setGroup1(String Group1)
          Set Group1.
 void setGroup2(String Group2)
          Set Group2.
 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_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.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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_ListPrice

public static final String LIMIT_BASE_ListPrice
List Price = L

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_BASE_FixedPrice

public static final String LIMIT_BASE_FixedPrice
Fixed Price = F

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_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_Dime102030

public static final String LIMIT_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D

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_Ten10002000

public static final String LIMIT_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T

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_EndingIn95

public static final String LIMIT_ROUNDING_EndingIn95
Ending in 9/5 = 9

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_ListPrice

public static final String LIST_BASE_ListPrice
List Price = L

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_BASE_FixedPrice

public static final String LIST_BASE_FixedPrice
Fixed Price = F

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_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_Dime102030

public static final String LIST_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D

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_Ten10002000

public static final String LIST_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T

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_EndingIn95

public static final String LIST_ROUNDING_EndingIn95
Ending in 9/5 = 9

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_ListPrice

public static final String STD_BASE_ListPrice
List Price = L

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_BASE_FixedPrice

public static final String STD_BASE_FixedPrice
Fixed Price = F

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_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_Dime102030

public static final String STD_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D

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_Ten10002000

public static final String STD_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T

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_EndingIn95

public static final String STD_ROUNDING_EndingIn95
Ending in 9/5 = 9

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 class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getC_BPartner

public I_C_BPartner getC_BPartner()
                           throws Exception
Specified by:
getC_BPartner in interface I_M_DiscountSchemaLine
Throws:
Exception

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner .

Specified by:
setC_BPartner_ID in interface I_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 interface I_M_DiscountSchemaLine
Returns:
Identifies a Business Partner

getC_ConversionType

public I_C_ConversionType getC_ConversionType()
                                       throws Exception
Specified by:
getC_ConversionType in interface I_M_DiscountSchemaLine
Throws:
Exception

setC_ConversionType_ID

public void setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.

Specified by:
setC_ConversionType_ID in interface I_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 interface I_M_DiscountSchemaLine
Returns:
Currency Conversion Rate Type

setClassification

public void setClassification(String Classification)
Set Classification.

Specified by:
setClassification in interface I_M_DiscountSchemaLine
Parameters:
Classification - Classification for grouping

getClassification

public String getClassification()
Get Classification.

Specified by:
getClassification in interface I_M_DiscountSchemaLine
Returns:
Classification for grouping

setConversionDate

public void setConversionDate(Timestamp ConversionDate)
Set Conversion Date.

Specified by:
setConversionDate in interface I_M_DiscountSchemaLine
Parameters:
ConversionDate - Date for selecting conversion rate

getConversionDate

public Timestamp getConversionDate()
Get Conversion Date.

Specified by:
getConversionDate in interface I_M_DiscountSchemaLine
Returns:
Date for selecting conversion rate

setGroup1

public void setGroup1(String Group1)
Set Group1.

Specified by:
setGroup1 in interface I_M_DiscountSchemaLine
Parameters:
Group1 - Group1

getGroup1

public String getGroup1()
Get Group1.

Specified by:
getGroup1 in interface I_M_DiscountSchemaLine
Returns:
Group1

setGroup2

public void setGroup2(String Group2)
Set Group2.

Specified by:
setGroup2 in interface I_M_DiscountSchemaLine
Parameters:
Group2 - Group2

getGroup2

public String getGroup2()
Get Group2.

Specified by:
getGroup2 in interface I_M_DiscountSchemaLine
Returns:
Group2

setLimit_AddAmt

public void setLimit_AddAmt(BigDecimal Limit_AddAmt)
Set Limit price Surcharge Amount.

Specified by:
setLimit_AddAmt in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_M_DiscountSchemaLine
Returns:
Rounding rule for final list price

getM_DiscountSchema

public I_M_DiscountSchema getM_DiscountSchema()
                                       throws Exception
Specified by:
getM_DiscountSchema in interface I_M_DiscountSchemaLine
Throws:
Exception

setM_DiscountSchema_ID

public void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema.

Specified by:
setM_DiscountSchema_ID in interface I_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 interface I_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 interface I_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 interface I_M_DiscountSchemaLine
Returns:
Line of the pricelist trade discount schema

getM_Product_Category

public I_M_Product_Category getM_Product_Category()
                                           throws Exception
Specified by:
getM_Product_Category in interface I_M_DiscountSchemaLine
Throws:
Exception

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 interface I_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 interface I_M_DiscountSchemaLine
Returns:
Category of a Product

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_M_DiscountSchemaLine
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_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 interface I_M_DiscountSchemaLine
Returns:
Product, Service, Item

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Specified by:
setSeqNo in interface I_M_DiscountSchemaLine
Parameters:
SeqNo - Method of ordering records; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Specified by:
getSeqNo in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_M_DiscountSchemaLine
Returns:
Rounding rule for calculated price

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.