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
Generated Model for M_MatchPO
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_M_MatchPO
(Properties ctx, int M_MatchPO_ID, String trxName) Standard ConstructorX_M_MatchPO
(Properties ctx, int M_MatchPO_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_MatchPO
(Properties ctx, String M_MatchPO_UU, String trxName) Standard ConstructorX_M_MatchPO
(Properties ctx, String M_MatchPO_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_MatchPO
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Invoice Line.int
Get Sales Order Line.Get Account Date.Get Transaction Date.Get Description.Get Document No.Get Record ID/ColumnNameint
Get Attribute Set Instance.int
Get Shipment/Receipt Line.int
Get Match PO.Get M_MatchPO_UU.int
Get Product.Get Price Match Difference.Get Processed On.getQty()
Get Quantity.int
Get Referenced Match PO.int
Get Reversal ID.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Approved.boolean
isPosted()
Get Posted.boolean
Get Processed.boolean
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.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_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 Details
-
X_M_MatchPO
Standard Constructor -
X_M_MatchPO
Standard Constructor -
X_M_MatchPO
Standard Constructor -
X_M_MatchPO
Standard Constructor -
X_M_MatchPO
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_InvoiceLine
- 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
- 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
Set Account Date.- Specified by:
setDateAcct
in interfaceI_M_MatchPO
- Parameters:
DateAcct
- Accounting Date
-
getDateAcct
Get Account Date.- Specified by:
getDateAcct
in interfaceI_M_MatchPO
- Returns:
- Accounting Date
-
setDateTrx
Set Transaction Date.- Specified by:
setDateTrx
in interfaceI_M_MatchPO
- Parameters:
DateTrx
- Transaction Date
-
getDateTrx
Get Transaction Date.- Specified by:
getDateTrx
in interfaceI_M_MatchPO
- Returns:
- Transaction Date
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_M_MatchPO
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_M_MatchPO
- Returns:
- Optional short description of the record
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNo
in interfaceI_M_MatchPO
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNo
in interfaceI_M_MatchPO
- Returns:
- Document sequence number of the document
-
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
- 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
- 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
Set M_MatchPO_UU.- Specified by:
setM_MatchPO_UU
in interfaceI_M_MatchPO
- Parameters:
M_MatchPO_UU
- M_MatchPO_UU
-
getM_MatchPO_UU
Get M_MatchPO_UU.- Specified by:
getM_MatchPO_UU
in interfaceI_M_MatchPO
- Returns:
- M_MatchPO_UU
-
getM_Product
- 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
Set Price Match Difference.- Specified by:
setPriceMatchDifference
in interfaceI_M_MatchPO
- Parameters:
PriceMatchDifference
- Difference between Purchase and Invoice Price per matched line
-
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
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
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
Set Quantity.- Specified by:
setQty
in interfaceI_M_MatchPO
- Parameters:
Qty
- Quantity
-
getQty
Get Quantity.- Specified by:
getQty
in interfaceI_M_MatchPO
- Returns:
- Quantity
-
getRef_MatchPO
- 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
- 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
-