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 intget_AccessLevel()AccessLevelI_C_InvoiceLinegetC_InvoiceLine()intgetC_InvoiceLine_ID()Get Invoice Line.I_C_OrderLinegetC_OrderLine()intgetC_OrderLine_ID()Get Sales Order Line.TimestampgetDateAcct()Get Account Date.TimestampgetDateTrx()Get Transaction Date.StringgetDescription()Get Description.StringgetDocumentNo()Get Document No.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameI_M_AttributeSetInstancegetM_AttributeSetInstance()intgetM_AttributeSetInstance_ID()Get Attribute Set Instance.I_M_InOutLinegetM_InOutLine()intgetM_InOutLine_ID()Get Shipment/Receipt Line.intgetM_MatchPO_ID()Get Match PO.StringgetM_MatchPO_UU()Get M_MatchPO_UU.I_M_ProductgetM_Product()intgetM_Product_ID()Get Product.BigDecimalgetPriceMatchDifference()Get Price Match Difference.BigDecimalgetProcessedOn()Get Processed On.BigDecimalgetQty()Get Quantity.I_M_MatchPOgetRef_MatchPO()intgetRef_MatchPO_ID()Get Referenced Match PO.I_M_MatchPOgetReversal()intgetReversal_ID()Get Reversal ID.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisApproved()Get Approved.booleanisPosted()Get Posted.booleanisProcessed()Get Processed.booleanisProcessing()Get Process Now.voidsetC_InvoiceLine_ID(int C_InvoiceLine_ID)Set Invoice Line.voidsetC_OrderLine_ID(int C_OrderLine_ID)Set Sales Order Line.voidsetDateAcct(Timestamp DateAcct)Set Account Date.voidsetDateTrx(Timestamp DateTrx)Set Transaction Date.voidsetDescription(String Description)Set Description.voidsetDocumentNo(String DocumentNo)Set Document No.voidsetIsApproved(boolean IsApproved)Set Approved.voidsetM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)Set Attribute Set Instance.voidsetM_InOutLine_ID(int M_InOutLine_ID)Set Shipment/Receipt Line.voidsetM_MatchPO_ID(int M_MatchPO_ID)Set Match PO.voidsetM_MatchPO_UU(String M_MatchPO_UU)Set M_MatchPO_UU.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetPosted(boolean Posted)Set Posted.voidsetPriceMatchDifference(BigDecimal PriceMatchDifference)Set Price Match Difference.voidsetProcessed(boolean Processed)Set Processed.voidsetProcessedOn(BigDecimal ProcessedOn)Set Processed On.voidsetProcessing(boolean Processing)Set Process Now.voidsetQty(BigDecimal Qty)Set Quantity.voidsetRef_MatchPO_ID(int Ref_MatchPO_ID)Set Referenced Match PO.voidsetReversal_ID(int Reversal_ID)Set Reversal ID.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_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_AccessLevelin 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_InvoiceLinein interfaceI_M_MatchPO- Throws:
RuntimeException
-
setC_InvoiceLine_ID
public void setC_InvoiceLine_ID(int C_InvoiceLine_ID)
Set Invoice Line.- Specified by:
setC_InvoiceLine_IDin 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_IDin interfaceI_M_MatchPO- Returns:
- Invoice Detail Line
-
getC_OrderLine
public I_C_OrderLine getC_OrderLine() throws RuntimeException
- Specified by:
getC_OrderLinein 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_IDin 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_IDin interfaceI_M_MatchPO- Returns:
- Sales Order Line
-
setDateAcct
public void setDateAcct(Timestamp DateAcct)
Set Account Date.- Specified by:
setDateAcctin interfaceI_M_MatchPO- Parameters:
DateAcct- Accounting Date
-
getDateAcct
public Timestamp getDateAcct()
Get Account Date.- Specified by:
getDateAcctin interfaceI_M_MatchPO- Returns:
- Accounting Date
-
setDateTrx
public void setDateTrx(Timestamp DateTrx)
Set Transaction Date.- Specified by:
setDateTrxin interfaceI_M_MatchPO- Parameters:
DateTrx- Transaction Date
-
getDateTrx
public Timestamp getDateTrx()
Get Transaction Date.- Specified by:
getDateTrxin interfaceI_M_MatchPO- Returns:
- Transaction Date
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_M_MatchPO- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_M_MatchPO- Returns:
- Optional short description of the record
-
setDocumentNo
public void setDocumentNo(String DocumentNo)
Set Document No.- Specified by:
setDocumentNoin interfaceI_M_MatchPO- Parameters:
DocumentNo- Document sequence number of the document
-
getDocumentNo
public String getDocumentNo()
Get Document No.- Specified by:
getDocumentNoin 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:
setIsApprovedin interfaceI_M_MatchPO- Parameters:
IsApproved- Indicates if this document requires approval
-
isApproved
public boolean isApproved()
Get Approved.- Specified by:
isApprovedin interfaceI_M_MatchPO- Returns:
- Indicates if this document requires approval
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstancein 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_IDin 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_IDin interfaceI_M_MatchPO- Returns:
- Product Attribute Set Instance
-
getM_InOutLine
public I_M_InOutLine getM_InOutLine() throws RuntimeException
- Specified by:
getM_InOutLinein 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_IDin 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_IDin 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_IDin 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_IDin 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_UUin 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_UUin interfaceI_M_MatchPO- Returns:
- M_MatchPO_UU
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Productin interfaceI_M_MatchPO- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_IDin interfaceI_M_MatchPO- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_IDin interfaceI_M_MatchPO- Returns:
- Product, Service, Item
-
setPosted
public void setPosted(boolean Posted)
Set Posted.- Specified by:
setPostedin interfaceI_M_MatchPO- Parameters:
Posted- Posting status
-
isPosted
public boolean isPosted()
Get Posted.- Specified by:
isPostedin interfaceI_M_MatchPO- Returns:
- Posting status
-
setPriceMatchDifference
public void setPriceMatchDifference(BigDecimal PriceMatchDifference)
Set Price Match Difference.- Specified by:
setPriceMatchDifferencein interfaceI_M_MatchPO- Parameters:
PriceMatchDifference- Difference between Purchase and Invoice Price per matched line
-
getPriceMatchDifference
public BigDecimal getPriceMatchDifference()
Get Price Match Difference.- Specified by:
getPriceMatchDifferencein interfaceI_M_MatchPO- Returns:
- Difference between Purchase and Invoice Price per matched line
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessedin interfaceI_M_MatchPO- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessedin interfaceI_M_MatchPO- Returns:
- The document has been processed
-
setProcessedOn
public void setProcessedOn(BigDecimal ProcessedOn)
Set Processed On.- Specified by:
setProcessedOnin 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:
getProcessedOnin 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:
setProcessingin interfaceI_M_MatchPO- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessingin interfaceI_M_MatchPO- Returns:
- Process Now
-
setQty
public void setQty(BigDecimal Qty)
Set Quantity.- Specified by:
setQtyin interfaceI_M_MatchPO- Parameters:
Qty- Quantity
-
getQty
public BigDecimal getQty()
Get Quantity.- Specified by:
getQtyin interfaceI_M_MatchPO- Returns:
- Quantity
-
getRef_MatchPO
public I_M_MatchPO getRef_MatchPO() throws RuntimeException
- Specified by:
getRef_MatchPOin 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_IDin 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_IDin interfaceI_M_MatchPO- Returns:
- Referenced Match PO
-
getReversal
public I_M_MatchPO getReversal() throws RuntimeException
- Specified by:
getReversalin interfaceI_M_MatchPO- Throws:
RuntimeException
-
setReversal_ID
public void setReversal_ID(int Reversal_ID)
Set Reversal ID.- Specified by:
setReversal_IDin interfaceI_M_MatchPO- Parameters:
Reversal_ID- ID of document reversal
-
getReversal_ID
public int getReversal_ID()
Get Reversal ID.- Specified by:
getReversal_IDin interfaceI_M_MatchPO- Returns:
- ID of document reversal
-
-