Package org.compiere.model
Class X_M_RMALine
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_RMALine
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_RMALine
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MRMALine
public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent
Generated Model for M_RMALine- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
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_RMALine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Amt, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_Tax_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_Line, COLUMNNAME_LineNetAmt, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_RMA_ID, COLUMNNAME_M_RMALine_ID, COLUMNNAME_M_RMALine_UU, COLUMNNAME_Processed, COLUMNNAME_Qty, COLUMNNAME_QtyDelivered, COLUMNNAME_QtyInvoiced, COLUMNNAME_Ref_RMALine_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_RMALine(Properties ctx, int M_RMALine_ID, String trxName)
Standard ConstructorX_M_RMALine(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelBigDecimal
getAmt()
Get Amount.I_C_Charge
getC_Charge()
int
getC_Charge_ID()
Get Charge.I_C_Tax
getC_Tax()
int
getC_Tax_ID()
Get Tax.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getLine()
Get Line No.BigDecimal
getLineNetAmt()
Get Line Amount.I_M_InOutLine
getM_InOutLine()
int
getM_InOutLine_ID()
Get Shipment/Receipt Line.I_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.I_M_RMA
getM_RMA()
int
getM_RMA_ID()
Get RMA.int
getM_RMALine_ID()
Get RMA Line.String
getM_RMALine_UU()
Get M_RMALine_UU.BigDecimal
getQty()
Get Quantity.BigDecimal
getQtyDelivered()
Get Delivered Quantity.BigDecimal
getQtyInvoiced()
Get Quantity Invoiced.I_M_RMALine
getRef_RMALine()
int
getRef_RMALine_ID()
Get Referenced RMA Line.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessed()
Get Processed.void
setAmt(BigDecimal Amt)
Set Amount.void
setC_Charge_ID(int C_Charge_ID)
Set Charge.void
setC_Tax_ID(int C_Tax_ID)
Set Tax.void
setDescription(String Description)
Set Description.void
setLine(int Line)
Set Line No.void
setLineNetAmt(BigDecimal LineNetAmt)
Set Line Amount.void
setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setM_RMA_ID(int M_RMA_ID)
Set RMA.void
setM_RMALine_ID(int M_RMALine_ID)
Set RMA Line.void
setM_RMALine_UU(String M_RMALine_UU)
Set M_RMALine_UU.void
setProcessed(boolean Processed)
Set Processed.void
setQty(BigDecimal Qty)
Set Quantity.void
setQtyDelivered(BigDecimal QtyDelivered)
Set Delivered Quantity.void
setQtyInvoiced(BigDecimal QtyInvoiced)
Set Quantity Invoiced.void
setRef_RMALine_ID(int Ref_RMALine_ID)
Set Referenced RMA Line.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_M_RMALine
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
-
-
-
-
Constructor Detail
-
X_M_RMALine
public X_M_RMALine(Properties ctx, int M_RMALine_ID, String trxName)
Standard Constructor
-
X_M_RMALine
public X_M_RMALine(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 1 - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAmt
public void setAmt(BigDecimal Amt)
Set Amount.- Specified by:
setAmt
in interfaceI_M_RMALine
- Parameters:
Amt
- Amount
-
getAmt
public BigDecimal getAmt()
Get Amount.- Specified by:
getAmt
in interfaceI_M_RMALine
- Returns:
- Amount
-
getC_Charge
public I_C_Charge getC_Charge() throws RuntimeException
- Specified by:
getC_Charge
in interfaceI_M_RMALine
- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID)
Set Charge.- Specified by:
setC_Charge_ID
in interfaceI_M_RMALine
- Parameters:
C_Charge_ID
- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()
Get Charge.- Specified by:
getC_Charge_ID
in interfaceI_M_RMALine
- Returns:
- Additional document charges
-
getC_Tax
public I_C_Tax getC_Tax() throws RuntimeException
- Specified by:
getC_Tax
in interfaceI_M_RMALine
- Throws:
RuntimeException
-
setC_Tax_ID
public void setC_Tax_ID(int C_Tax_ID)
Set Tax.- Specified by:
setC_Tax_ID
in interfaceI_M_RMALine
- Parameters:
C_Tax_ID
- Tax identifier
-
getC_Tax_ID
public int getC_Tax_ID()
Get Tax.- Specified by:
getC_Tax_ID
in interfaceI_M_RMALine
- Returns:
- Tax identifier
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_RMALine
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_RMALine
- Returns:
- Optional short description of the record
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLine
in interfaceI_M_RMALine
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLine
in interfaceI_M_RMALine
- Returns:
- Unique line for this document
-
setLineNetAmt
public void setLineNetAmt(BigDecimal LineNetAmt)
Set Line Amount.- Specified by:
setLineNetAmt
in interfaceI_M_RMALine
- Parameters:
LineNetAmt
- Line Extended Amount (Quantity * Actual Price) without Freight and Charges
-
getLineNetAmt
public BigDecimal getLineNetAmt()
Get Line Amount.- Specified by:
getLineNetAmt
in interfaceI_M_RMALine
- Returns:
- Line Extended Amount (Quantity * Actual Price) without Freight and Charges
-
getM_InOutLine
public I_M_InOutLine getM_InOutLine() throws RuntimeException
- Specified by:
getM_InOutLine
in interfaceI_M_RMALine
- Throws:
RuntimeException
-
setM_InOutLine_ID
public void setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line.- Specified by:
setM_InOutLine_ID
in interfaceI_M_RMALine
- Parameters:
M_InOutLine_ID
- Line on Shipment or Receipt document
-
getM_InOutLine_ID
public int getM_InOutLine_ID()
Get Shipment/Receipt Line.- Specified by:
getM_InOutLine_ID
in interfaceI_M_RMALine
- Returns:
- Line on Shipment or Receipt document
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_M_RMALine
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_RMALine
- 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_RMALine
- Returns:
- Product, Service, Item
-
getM_RMA
public I_M_RMA getM_RMA() throws RuntimeException
- Specified by:
getM_RMA
in interfaceI_M_RMALine
- Throws:
RuntimeException
-
setM_RMA_ID
public void setM_RMA_ID(int M_RMA_ID)
Set RMA.- Specified by:
setM_RMA_ID
in interfaceI_M_RMALine
- Parameters:
M_RMA_ID
- Return Material Authorization
-
getM_RMA_ID
public int getM_RMA_ID()
Get RMA.- Specified by:
getM_RMA_ID
in interfaceI_M_RMALine
- Returns:
- Return Material Authorization
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setM_RMALine_ID
public void setM_RMALine_ID(int M_RMALine_ID)
Set RMA Line.- Specified by:
setM_RMALine_ID
in interfaceI_M_RMALine
- Parameters:
M_RMALine_ID
- Return Material Authorization Line
-
getM_RMALine_ID
public int getM_RMALine_ID()
Get RMA Line.- Specified by:
getM_RMALine_ID
in interfaceI_M_RMALine
- Returns:
- Return Material Authorization Line
-
setM_RMALine_UU
public void setM_RMALine_UU(String M_RMALine_UU)
Set M_RMALine_UU.- Specified by:
setM_RMALine_UU
in interfaceI_M_RMALine
- Parameters:
M_RMALine_UU
- M_RMALine_UU
-
getM_RMALine_UU
public String getM_RMALine_UU()
Get M_RMALine_UU.- Specified by:
getM_RMALine_UU
in interfaceI_M_RMALine
- Returns:
- M_RMALine_UU
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_M_RMALine
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_M_RMALine
- Returns:
- The document has been processed
-
setQty
public void setQty(BigDecimal Qty)
Set Quantity.- Specified by:
setQty
in interfaceI_M_RMALine
- Parameters:
Qty
- Quantity
-
getQty
public BigDecimal getQty()
Get Quantity.- Specified by:
getQty
in interfaceI_M_RMALine
- Returns:
- Quantity
-
setQtyDelivered
public void setQtyDelivered(BigDecimal QtyDelivered)
Set Delivered Quantity.- Specified by:
setQtyDelivered
in interfaceI_M_RMALine
- Parameters:
QtyDelivered
- Delivered Quantity
-
getQtyDelivered
public BigDecimal getQtyDelivered()
Get Delivered Quantity.- Specified by:
getQtyDelivered
in interfaceI_M_RMALine
- Returns:
- Delivered Quantity
-
setQtyInvoiced
public void setQtyInvoiced(BigDecimal QtyInvoiced)
Set Quantity Invoiced.- Specified by:
setQtyInvoiced
in interfaceI_M_RMALine
- Parameters:
QtyInvoiced
- Invoiced Quantity
-
getQtyInvoiced
public BigDecimal getQtyInvoiced()
Get Quantity Invoiced.- Specified by:
getQtyInvoiced
in interfaceI_M_RMALine
- Returns:
- Invoiced Quantity
-
getRef_RMALine
public I_M_RMALine getRef_RMALine() throws RuntimeException
- Specified by:
getRef_RMALine
in interfaceI_M_RMALine
- Throws:
RuntimeException
-
setRef_RMALine_ID
public void setRef_RMALine_ID(int Ref_RMALine_ID)
Set Referenced RMA Line.- Specified by:
setRef_RMALine_ID
in interfaceI_M_RMALine
- Parameters:
Ref_RMALine_ID
- Referenced RMA Line
-
getRef_RMALine_ID
public int getRef_RMALine_ID()
Get Referenced RMA Line.- Specified by:
getRef_RMALine_ID
in interfaceI_M_RMALine
- Returns:
- Referenced RMA Line
-
-