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
Generated Model for M_DiscountSchemaLine
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Limit_Base AD_Reference_ID=194static final String
Fixed Price = Fstatic final String
Limit (PO) Price = Xstatic final String
List Price = Lstatic final String
Product Cost = Pstatic final String
Standard Price = Sstatic final int
Limit_Rounding AD_Reference_ID=155static final String
Currency Precision = Cstatic final String
Dime .10, .20, .30, ... = Dstatic final String
Ending in 9/5 = 9static final String
Hundred = hstatic final String
Nickel .05, .10, .15, ... = 5static final String
No Rounding = Nstatic final String
Quarter .25 .50 .75 = Qstatic final String
Ten 10.00, 20.00, .. = Tstatic final String
Thousand = tstatic final String
Whole Number .00 = 0static final int
List_Base AD_Reference_ID=194static final String
Fixed Price = Fstatic final String
Limit (PO) Price = Xstatic final String
List Price = Lstatic final String
Product Cost = Pstatic final String
Standard Price = Sstatic final int
List_Rounding AD_Reference_ID=155static final String
Currency Precision = Cstatic final String
Dime .10, .20, .30, ... = Dstatic final String
Ending in 9/5 = 9static final String
Hundred = hstatic final String
Nickel .05, .10, .15, ... = 5static final String
No Rounding = Nstatic final String
Quarter .25 .50 .75 = Qstatic final String
Ten 10.00, 20.00, .. = Tstatic final String
Thousand = tstatic final String
Whole Number .00 = 0static final int
Std_Base AD_Reference_ID=194static final String
Fixed Price = Fstatic final String
Limit (PO) Price = Xstatic final String
List Price = Lstatic final String
Product Cost = Pstatic final String
Standard Price = Sstatic final int
Std_Rounding AD_Reference_ID=155static final String
Currency Precision = Cstatic final String
Dime .10, .20, .30, ... = Dstatic final String
Ending in 9/5 = 9static final String
Hundred = hstatic final String
Nickel .05, .10, .15, ... = 5static final String
No Rounding = Nstatic final String
Quarter .25 .50 .75 = Qstatic final String
Ten 10.00, 20.00, .. = Tstatic final String
Thousand = tstatic final String
Whole Number .00 = 0Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_M_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
ConstructorDescriptionX_M_DiscountSchemaLine
(Properties ctx, int M_DiscountSchemaLine_ID, String trxName) Standard ConstructorX_M_DiscountSchemaLine
(Properties ctx, int M_DiscountSchemaLine_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_DiscountSchemaLine
(Properties ctx, String M_DiscountSchemaLine_UU, String trxName) Standard ConstructorX_M_DiscountSchemaLine
(Properties ctx, String M_DiscountSchemaLine_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_DiscountSchemaLine
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Business Partner.int
Get Currency Type.Get Classification.Get Conversion Date.Get Description.Get Group1.Get Group2.Get Record ID/ColumnNameGet Limit price Surcharge Amount.Get Limit price Base.Get Limit price Discount %.Get Fixed Limit Price.Get Limit price max Margin.Get Limit price min Margin.Get Limit price Rounding.Get List price Surcharge Amount.Get List price Base.Get List price Discount %.Get Fixed List Price.Get List price max Margin.Get List price min Margin.Get List price Rounding.int
Get Discount Schema.int
Get Discount Price List.Get M_DiscountSchemaLine_UU.int
Get Product Category.int
Get Product.int
getSeqNo()
Get Sequence.Get Standard price Surcharge Amount.Get Standard price Base.Get Standard price Discount %.Get Fixed Standard Price.Get Standard max Margin.Get Standard price min Margin.Get Standard price Rounding.Get Partner Category.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
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
Set Group1.void
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 Price List.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.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_M_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 Details
-
LIMIT_BASE_AD_Reference_ID
public static final int LIMIT_BASE_AD_Reference_IDLimit_Base AD_Reference_ID=194- See Also:
-
LIMIT_BASE_FixedPrice
Fixed Price = F- See Also:
-
LIMIT_BASE_ListPrice
List Price = L- See Also:
-
LIMIT_BASE_ProductCost
Product Cost = P- See Also:
-
LIMIT_BASE_StandardPrice
Standard Price = S- See Also:
-
LIMIT_BASE_LimitPOPrice
Limit (PO) Price = X- See Also:
-
LIMIT_ROUNDING_AD_Reference_ID
public static final int LIMIT_ROUNDING_AD_Reference_IDLimit_Rounding AD_Reference_ID=155- See Also:
-
LIMIT_ROUNDING_WholeNumber00
Whole Number .00 = 0- See Also:
-
LIMIT_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5- See Also:
-
LIMIT_ROUNDING_EndingIn95
Ending in 9/5 = 9- See Also:
-
LIMIT_ROUNDING_CurrencyPrecision
Currency Precision = C- See Also:
-
LIMIT_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D- See Also:
-
LIMIT_ROUNDING_Hundred
Hundred = h- See Also:
-
LIMIT_ROUNDING_NoRounding
No Rounding = N- See Also:
-
LIMIT_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Q- See Also:
-
LIMIT_ROUNDING_Thousand
Thousand = t- See Also:
-
LIMIT_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T- See Also:
-
LIST_BASE_AD_Reference_ID
public static final int LIST_BASE_AD_Reference_IDList_Base AD_Reference_ID=194- See Also:
-
LIST_BASE_FixedPrice
Fixed Price = F- See Also:
-
LIST_BASE_ListPrice
List Price = L- See Also:
-
LIST_BASE_ProductCost
Product Cost = P- See Also:
-
LIST_BASE_StandardPrice
Standard Price = S- See Also:
-
LIST_BASE_LimitPOPrice
Limit (PO) Price = X- See Also:
-
LIST_ROUNDING_AD_Reference_ID
public static final int LIST_ROUNDING_AD_Reference_IDList_Rounding AD_Reference_ID=155- See Also:
-
LIST_ROUNDING_WholeNumber00
Whole Number .00 = 0- See Also:
-
LIST_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5- See Also:
-
LIST_ROUNDING_EndingIn95
Ending in 9/5 = 9- See Also:
-
LIST_ROUNDING_CurrencyPrecision
Currency Precision = C- See Also:
-
LIST_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D- See Also:
-
LIST_ROUNDING_Hundred
Hundred = h- See Also:
-
LIST_ROUNDING_NoRounding
No Rounding = N- See Also:
-
LIST_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Q- See Also:
-
LIST_ROUNDING_Thousand
Thousand = t- See Also:
-
LIST_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T- See Also:
-
STD_BASE_AD_Reference_ID
public static final int STD_BASE_AD_Reference_IDStd_Base AD_Reference_ID=194- See Also:
-
STD_BASE_FixedPrice
Fixed Price = F- See Also:
-
STD_BASE_ListPrice
List Price = L- See Also:
-
STD_BASE_ProductCost
Product Cost = P- See Also:
-
STD_BASE_StandardPrice
Standard Price = S- See Also:
-
STD_BASE_LimitPOPrice
Limit (PO) Price = X- See Also:
-
STD_ROUNDING_AD_Reference_ID
public static final int STD_ROUNDING_AD_Reference_IDStd_Rounding AD_Reference_ID=155- See Also:
-
STD_ROUNDING_WholeNumber00
Whole Number .00 = 0- See Also:
-
STD_ROUNDING_Nickel051015
Nickel .05, .10, .15, ... = 5- See Also:
-
STD_ROUNDING_EndingIn95
Ending in 9/5 = 9- See Also:
-
STD_ROUNDING_CurrencyPrecision
Currency Precision = C- See Also:
-
STD_ROUNDING_Dime102030
Dime .10, .20, .30, ... = D- See Also:
-
STD_ROUNDING_Hundred
Hundred = h- See Also:
-
STD_ROUNDING_NoRounding
No Rounding = N- See Also:
-
STD_ROUNDING_Quarter255075
Quarter .25 .50 .75 = Q- See Also:
-
STD_ROUNDING_Thousand
Thousand = t- See Also:
-
STD_ROUNDING_Ten10002000
Ten 10.00, 20.00, .. = T- See Also:
-
-
Constructor Details
-
X_M_DiscountSchemaLine
Standard Constructor -
X_M_DiscountSchemaLine
public X_M_DiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_DiscountSchemaLine
Standard Constructor -
X_M_DiscountSchemaLine
public X_M_DiscountSchemaLine(Properties ctx, String M_DiscountSchemaLine_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_DiscountSchemaLine
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_BPartner
- 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
- 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
Set Classification.- Specified by:
setClassification
in interfaceI_M_DiscountSchemaLine
- Parameters:
Classification
- Classification for grouping
-
getClassification
Get Classification.- Specified by:
getClassification
in interfaceI_M_DiscountSchemaLine
- Returns:
- Classification for grouping
-
setConversionDate
Set Conversion Date.- Specified by:
setConversionDate
in interfaceI_M_DiscountSchemaLine
- Parameters:
ConversionDate
- Date for selecting conversion rate
-
getConversionDate
Get Conversion Date.- Specified by:
getConversionDate
in interfaceI_M_DiscountSchemaLine
- Returns:
- Date for selecting conversion rate
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_M_DiscountSchemaLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_M_DiscountSchemaLine
- Returns:
- Optional short description of the record
-
setGroup1
Set Group1.- Specified by:
setGroup1
in interfaceI_M_DiscountSchemaLine
- Parameters:
Group1
- Group1
-
getGroup1
Get Group1.- Specified by:
getGroup1
in interfaceI_M_DiscountSchemaLine
- Returns:
- Group1
-
setGroup2
Set Group2.- Specified by:
setGroup2
in interfaceI_M_DiscountSchemaLine
- Parameters:
Group2
- Group2
-
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
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
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
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
Get Limit price Base.- Specified by:
getLimit_Base
in interfaceI_M_DiscountSchemaLine
- Returns:
- Base price for calculation of the new price
-
setLimit_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
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
Set Fixed Limit Price.- Specified by:
setLimit_Fixed
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_Fixed
- Fixed Limit Price (not calculated)
-
getLimit_Fixed
Get Fixed Limit Price.- Specified by:
getLimit_Fixed
in interfaceI_M_DiscountSchemaLine
- Returns:
- Fixed Limit Price (not calculated)
-
setLimit_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
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
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
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
Set Limit price Rounding.- Specified by:
setLimit_Rounding
in interfaceI_M_DiscountSchemaLine
- Parameters:
Limit_Rounding
- Rounding of the final result
-
getLimit_Rounding
Get Limit price Rounding.- Specified by:
getLimit_Rounding
in interfaceI_M_DiscountSchemaLine
- Returns:
- Rounding of the final result
-
setList_AddAmt
Set List price Surcharge Amount.- Specified by:
setList_AddAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_AddAmt
- List Price Surcharge Amount
-
getList_AddAmt
Get List price Surcharge Amount.- Specified by:
getList_AddAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- List Price Surcharge Amount
-
setList_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
Get List price Base.- Specified by:
getList_Base
in interfaceI_M_DiscountSchemaLine
- Returns:
- Price used as the basis for price list calculations
-
setList_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
Get List price Discount %.- Specified by:
getList_Discount
in interfaceI_M_DiscountSchemaLine
- Returns:
- Discount from list price as a percentage
-
setList_Fixed
Set Fixed List Price.- Specified by:
setList_Fixed
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_Fixed
- Fixes List Price (not calculated)
-
getList_Fixed
Get Fixed List Price.- Specified by:
getList_Fixed
in interfaceI_M_DiscountSchemaLine
- Returns:
- Fixes List Price (not calculated)
-
setList_MaxAmt
Set List price max Margin.- Specified by:
setList_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_MaxAmt
- Maximum margin for a product
-
getList_MaxAmt
Get List price max Margin.- Specified by:
getList_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Maximum margin for a product
-
setList_MinAmt
Set List price min Margin.- Specified by:
setList_MinAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_MinAmt
- Minimum margin for a product
-
getList_MinAmt
Get List price min Margin.- Specified by:
getList_MinAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Minimum margin for a product
-
setList_Rounding
Set List price Rounding.- Specified by:
setList_Rounding
in interfaceI_M_DiscountSchemaLine
- Parameters:
List_Rounding
- Rounding rule for final list price
-
getList_Rounding
Get List price Rounding.- Specified by:
getList_Rounding
in interfaceI_M_DiscountSchemaLine
- Returns:
- Rounding rule for final list price
-
getM_DiscountSchema
- 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 Price List.- Specified by:
setM_DiscountSchemaLine_ID
in interfaceI_M_DiscountSchemaLine
- Parameters:
M_DiscountSchemaLine_ID
- Line of the price list trade discount schema
-
getM_DiscountSchemaLine_ID
public int getM_DiscountSchemaLine_ID()Get Discount Price List.- Specified by:
getM_DiscountSchemaLine_ID
in interfaceI_M_DiscountSchemaLine
- Returns:
- Line of the price list trade discount schema
-
setM_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
Get M_DiscountSchemaLine_UU.- Specified by:
getM_DiscountSchemaLine_UU
in interfaceI_M_DiscountSchemaLine
- Returns:
- M_DiscountSchemaLine_UU
-
getM_Product_Category
- 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
- 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
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setStd_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
Get Standard price Surcharge Amount.- Specified by:
getStd_AddAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Amount added to a price as a surcharge
-
setStd_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
Get Standard price Base.- Specified by:
getStd_Base
in interfaceI_M_DiscountSchemaLine
- Returns:
- Base price for calculating new standard price
-
setStd_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
Get Standard price Discount %.- Specified by:
getStd_Discount
in interfaceI_M_DiscountSchemaLine
- Returns:
- Discount percentage to subtract from base price
-
setStd_Fixed
Set Fixed Standard Price.- Specified by:
setStd_Fixed
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_Fixed
- Fixed Standard Price (not calculated)
-
getStd_Fixed
Get Fixed Standard Price.- Specified by:
getStd_Fixed
in interfaceI_M_DiscountSchemaLine
- Returns:
- Fixed Standard Price (not calculated)
-
setStd_MaxAmt
Set Standard max Margin.- Specified by:
setStd_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_MaxAmt
- Maximum margin allowed for a product
-
getStd_MaxAmt
Get Standard max Margin.- Specified by:
getStd_MaxAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Maximum margin allowed for a product
-
setStd_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
Get Standard price min Margin.- Specified by:
getStd_MinAmt
in interfaceI_M_DiscountSchemaLine
- Returns:
- Minimum margin allowed for a product
-
setStd_Rounding
Set Standard price Rounding.- Specified by:
setStd_Rounding
in interfaceI_M_DiscountSchemaLine
- Parameters:
Std_Rounding
- Rounding rule for calculated price
-
getStd_Rounding
Get Standard price Rounding.- Specified by:
getStd_Rounding
in interfaceI_M_DiscountSchemaLine
- Returns:
- Rounding rule for calculated price
-
setVendorCategory
Set Partner Category.- Specified by:
setVendorCategory
in interfaceI_M_DiscountSchemaLine
- Parameters:
VendorCategory
- Product Category of the Business Partner
-
getVendorCategory
Get Partner Category.- Specified by:
getVendorCategory
in interfaceI_M_DiscountSchemaLine
- Returns:
- Product Category of the Business Partner
-