Package org.compiere.model
Class X_M_MatchPO
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_MatchPO
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_MatchPO
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MMatchPO
public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent
Generated Model for M_MatchPO- 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_MatchPO
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_InvoiceLine_ID, COLUMNNAME_C_OrderLine_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateAcct, COLUMNNAME_DateTrx, COLUMNNAME_Description, COLUMNNAME_DocumentNo, COLUMNNAME_IsActive, COLUMNNAME_IsApproved, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_MatchPO_ID, COLUMNNAME_M_MatchPO_UU, COLUMNNAME_M_Product_ID, COLUMNNAME_Posted, COLUMNNAME_PriceMatchDifference, COLUMNNAME_Processed, COLUMNNAME_ProcessedOn, COLUMNNAME_Processing, COLUMNNAME_Qty, COLUMNNAME_Ref_MatchPO_ID, COLUMNNAME_Reversal_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_MatchPO(Properties ctx, int M_MatchPO_ID, String trxName)
Standard ConstructorX_M_MatchPO(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_C_InvoiceLine
getC_InvoiceLine()
int
getC_InvoiceLine_ID()
Get Invoice Line.I_C_OrderLine
getC_OrderLine()
int
getC_OrderLine_ID()
Get Sales Order Line.Timestamp
getDateAcct()
Get Account Date.Timestamp
getDateTrx()
Get Transaction Date.String
getDescription()
Get Description.String
getDocumentNo()
Get Document No.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_AttributeSetInstance
getM_AttributeSetInstance()
int
getM_AttributeSetInstance_ID()
Get Attribute Set Instance.I_M_InOutLine
getM_InOutLine()
int
getM_InOutLine_ID()
Get Shipment/Receipt Line.int
getM_MatchPO_ID()
Get Match PO.String
getM_MatchPO_UU()
Get M_MatchPO_UU.I_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.BigDecimal
getPriceMatchDifference()
Get Price Match Difference.BigDecimal
getProcessedOn()
Get Processed On.BigDecimal
getQty()
Get Quantity.I_M_MatchPO
getRef_MatchPO()
int
getRef_MatchPO_ID()
Get Referenced Match PO.I_M_MatchPO
getReversal()
int
getReversal_ID()
Get Reversal ID.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isApproved()
Get Approved.boolean
isPosted()
Get Posted.boolean
isProcessed()
Get Processed.boolean
isProcessing()
Get Process Now.void
setC_InvoiceLine_ID(int C_InvoiceLine_ID)
Set Invoice Line.void
setC_OrderLine_ID(int C_OrderLine_ID)
Set Sales Order Line.void
setDateAcct(Timestamp DateAcct)
Set Account Date.void
setDateTrx(Timestamp DateTrx)
Set Transaction Date.void
setDescription(String Description)
Set Description.void
setDocumentNo(String DocumentNo)
Set Document No.void
setIsApproved(boolean IsApproved)
Set Approved.void
setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.void
setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line.void
setM_MatchPO_ID(int M_MatchPO_ID)
Set Match PO.void
setM_MatchPO_UU(String M_MatchPO_UU)
Set M_MatchPO_UU.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setPosted(boolean Posted)
Set Posted.void
setPriceMatchDifference(BigDecimal PriceMatchDifference)
Set Price Match Difference.void
setProcessed(boolean Processed)
Set Processed.void
setProcessedOn(BigDecimal ProcessedOn)
Set Processed On.void
setProcessing(boolean Processing)
Set Process Now.void
setQty(BigDecimal Qty)
Set Quantity.void
setRef_MatchPO_ID(int Ref_MatchPO_ID)
Set Referenced Match PO.void
setReversal_ID(int Reversal_ID)
Set Reversal ID.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_MatchPO
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_MatchPO
public X_M_MatchPO(Properties ctx, int M_MatchPO_ID, String trxName)
Standard Constructor
-
X_M_MatchPO
public X_M_MatchPO(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_InvoiceLine
public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException
- Specified by:
getC_InvoiceLine
in interfaceI_M_MatchPO
- Throws:
RuntimeException
-
setC_InvoiceLine_ID
public void setC_InvoiceLine_ID(int C_InvoiceLine_ID)
Set Invoice Line.- Specified by:
setC_InvoiceLine_ID
in interfaceI_M_MatchPO
- Parameters:
C_InvoiceLine_ID
- Invoice Detail Line
-
getC_InvoiceLine_ID
public int getC_InvoiceLine_ID()
Get Invoice Line.- Specified by:
getC_InvoiceLine_ID
in interfaceI_M_MatchPO
- Returns:
- Invoice Detail Line
-
getC_OrderLine
public I_C_OrderLine getC_OrderLine() throws RuntimeException
- Specified by:
getC_OrderLine
in interfaceI_M_MatchPO
- Throws:
RuntimeException
-
setC_OrderLine_ID
public void setC_OrderLine_ID(int C_OrderLine_ID)
Set Sales Order Line.- Specified by:
setC_OrderLine_ID
in interfaceI_M_MatchPO
- Parameters:
C_OrderLine_ID
- Sales Order Line
-
getC_OrderLine_ID
public int getC_OrderLine_ID()
Get Sales Order Line.- Specified by:
getC_OrderLine_ID
in interfaceI_M_MatchPO
- Returns:
- Sales Order Line
-
setDateAcct
public void setDateAcct(Timestamp DateAcct)
Set Account Date.- Specified by:
setDateAcct
in interfaceI_M_MatchPO
- Parameters:
DateAcct
- Accounting Date
-
getDateAcct
public Timestamp getDateAcct()
Get Account Date.- Specified by:
getDateAcct
in interfaceI_M_MatchPO
- Returns:
- Accounting Date
-
setDateTrx
public void setDateTrx(Timestamp DateTrx)
Set Transaction Date.- Specified by:
setDateTrx
in interfaceI_M_MatchPO
- Parameters:
DateTrx
- Transaction Date
-
getDateTrx
public Timestamp getDateTrx()
Get Transaction Date.- Specified by:
getDateTrx
in interfaceI_M_MatchPO
- Returns:
- Transaction Date
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_MatchPO
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_MatchPO
- Returns:
- Optional short description of the record
-
setDocumentNo
public void setDocumentNo(String DocumentNo)
Set Document No.- Specified by:
setDocumentNo
in interfaceI_M_MatchPO
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
public String getDocumentNo()
Get Document No.- Specified by:
getDocumentNo
in interfaceI_M_MatchPO
- Returns:
- Document sequence number of the document
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setIsApproved
public void setIsApproved(boolean IsApproved)
Set Approved.- Specified by:
setIsApproved
in interfaceI_M_MatchPO
- Parameters:
IsApproved
- Indicates if this document requires approval
-
isApproved
public boolean isApproved()
Get Approved.- Specified by:
isApproved
in interfaceI_M_MatchPO
- Returns:
- Indicates if this document requires approval
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstance
in interfaceI_M_MatchPO
- Throws:
RuntimeException
-
setM_AttributeSetInstance_ID
public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.- Specified by:
setM_AttributeSetInstance_ID
in interfaceI_M_MatchPO
- Parameters:
M_AttributeSetInstance_ID
- Product Attribute Set Instance
-
getM_AttributeSetInstance_ID
public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.- Specified by:
getM_AttributeSetInstance_ID
in interfaceI_M_MatchPO
- Returns:
- Product Attribute Set Instance
-
getM_InOutLine
public I_M_InOutLine getM_InOutLine() throws RuntimeException
- Specified by:
getM_InOutLine
in interfaceI_M_MatchPO
- 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_MatchPO
- 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_MatchPO
- Returns:
- Line on Shipment or Receipt document
-
setM_MatchPO_ID
public void setM_MatchPO_ID(int M_MatchPO_ID)
Set Match PO.- Specified by:
setM_MatchPO_ID
in interfaceI_M_MatchPO
- Parameters:
M_MatchPO_ID
- Match Purchase Order to Shipment/Receipt and Invoice
-
getM_MatchPO_ID
public int getM_MatchPO_ID()
Get Match PO.- Specified by:
getM_MatchPO_ID
in interfaceI_M_MatchPO
- Returns:
- Match Purchase Order to Shipment/Receipt and Invoice
-
setM_MatchPO_UU
public void setM_MatchPO_UU(String M_MatchPO_UU)
Set M_MatchPO_UU.- Specified by:
setM_MatchPO_UU
in interfaceI_M_MatchPO
- Parameters:
M_MatchPO_UU
- M_MatchPO_UU
-
getM_MatchPO_UU
public String getM_MatchPO_UU()
Get M_MatchPO_UU.- Specified by:
getM_MatchPO_UU
in interfaceI_M_MatchPO
- Returns:
- M_MatchPO_UU
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_M_MatchPO
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_MatchPO
- 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_MatchPO
- Returns:
- Product, Service, Item
-
setPosted
public void setPosted(boolean Posted)
Set Posted.- Specified by:
setPosted
in interfaceI_M_MatchPO
- Parameters:
Posted
- Posting status
-
isPosted
public boolean isPosted()
Get Posted.- Specified by:
isPosted
in interfaceI_M_MatchPO
- Returns:
- Posting status
-
setPriceMatchDifference
public void setPriceMatchDifference(BigDecimal PriceMatchDifference)
Set Price Match Difference.- Specified by:
setPriceMatchDifference
in interfaceI_M_MatchPO
- Parameters:
PriceMatchDifference
- Difference between Purchase and Invoice Price per matched line
-
getPriceMatchDifference
public BigDecimal getPriceMatchDifference()
Get Price Match Difference.- Specified by:
getPriceMatchDifference
in interfaceI_M_MatchPO
- Returns:
- Difference between Purchase and Invoice Price per matched line
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_M_MatchPO
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_M_MatchPO
- Returns:
- The document has been processed
-
setProcessedOn
public void setProcessedOn(BigDecimal ProcessedOn)
Set Processed On.- Specified by:
setProcessedOn
in interfaceI_M_MatchPO
- Parameters:
ProcessedOn
- The date+time (expressed in decimal format) when the document has been processed
-
getProcessedOn
public BigDecimal getProcessedOn()
Get Processed On.- Specified by:
getProcessedOn
in interfaceI_M_MatchPO
- Returns:
- The date+time (expressed in decimal format) when the document has been processed
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessing
in interfaceI_M_MatchPO
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_M_MatchPO
- Returns:
- Process Now
-
setQty
public void setQty(BigDecimal Qty)
Set Quantity.- Specified by:
setQty
in interfaceI_M_MatchPO
- Parameters:
Qty
- Quantity
-
getQty
public BigDecimal getQty()
Get Quantity.- Specified by:
getQty
in interfaceI_M_MatchPO
- Returns:
- Quantity
-
getRef_MatchPO
public I_M_MatchPO getRef_MatchPO() throws RuntimeException
- Specified by:
getRef_MatchPO
in interfaceI_M_MatchPO
- Throws:
RuntimeException
-
setRef_MatchPO_ID
public void setRef_MatchPO_ID(int Ref_MatchPO_ID)
Set Referenced Match PO.- Specified by:
setRef_MatchPO_ID
in interfaceI_M_MatchPO
- Parameters:
Ref_MatchPO_ID
- Referenced Match PO
-
getRef_MatchPO_ID
public int getRef_MatchPO_ID()
Get Referenced Match PO.- Specified by:
getRef_MatchPO_ID
in interfaceI_M_MatchPO
- Returns:
- Referenced Match PO
-
getReversal
public I_M_MatchPO getReversal() throws RuntimeException
- Specified by:
getReversal
in interfaceI_M_MatchPO
- Throws:
RuntimeException
-
setReversal_ID
public void setReversal_ID(int Reversal_ID)
Set Reversal ID.- Specified by:
setReversal_ID
in interfaceI_M_MatchPO
- Parameters:
Reversal_ID
- ID of document reversal
-
getReversal_ID
public int getReversal_ID()
Get Reversal ID.- Specified by:
getReversal_ID
in interfaceI_M_MatchPO
- Returns:
- ID of document reversal
-
-