Package org.compiere.model
Class X_M_Transaction
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_Transaction
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_Transaction
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MTransaction
public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent
Generated Model for M_Transaction- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MOVEMENTTYPE_AD_Reference_ID
MovementType AD_Reference_ID=189static String
MOVEMENTTYPE_CustomerReturns
Customer Returns = C+static String
MOVEMENTTYPE_CustomerShipment
Customer Shipment = C-static String
MOVEMENTTYPE_InventoryIn
Inventory In = I+static String
MOVEMENTTYPE_InventoryOut
Inventory Out = I-static String
MOVEMENTTYPE_MovementFrom
Movement From = M-static String
MOVEMENTTYPE_MovementTo
Movement To = M+static String
MOVEMENTTYPE_Production_
Production - = P-static String
MOVEMENTTYPE_ProductionPlus
Production + = P+static String
MOVEMENTTYPE_VendorReceipts
Vendor Receipts = V+static String
MOVEMENTTYPE_VendorReturns
Vendor Returns = V-static String
MOVEMENTTYPE_WorkOrder_
Work Order - = W-static String
MOVEMENTTYPE_WorkOrderPlus
Work Order + = W+-
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_Transaction
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_ProjectIssue_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_InventoryLine_ID, COLUMNNAME_M_Locator_ID, COLUMNNAME_M_MovementLine_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_ProductionLine_ID, COLUMNNAME_M_Transaction_ID, COLUMNNAME_M_Transaction_UU, COLUMNNAME_MovementDate, COLUMNNAME_MovementQty, COLUMNNAME_MovementType, COLUMNNAME_PP_Cost_Collector_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_Transaction(Properties ctx, int M_Transaction_ID, String trxName)
Standard ConstructorX_M_Transaction(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_ProjectIssue
getC_ProjectIssue()
int
getC_ProjectIssue_ID()
Get Project Issue.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.I_M_InventoryLine
getM_InventoryLine()
int
getM_InventoryLine_ID()
Get Phys.Inventory Line.I_M_Locator
getM_Locator()
int
getM_Locator_ID()
Get Locator.I_M_MovementLine
getM_MovementLine()
int
getM_MovementLine_ID()
Get Move Line.I_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.I_M_ProductionLine
getM_ProductionLine()
int
getM_ProductionLine_ID()
Get Production Line.int
getM_Transaction_ID()
Get Inventory Transaction.String
getM_Transaction_UU()
Get M_Transaction_UU.Timestamp
getMovementDate()
Get Movement Date.BigDecimal
getMovementQty()
Get Movement Quantity.String
getMovementType()
Get Movement Type.I_PP_Cost_Collector
getPP_Cost_Collector()
int
getPP_Cost_Collector_ID()
Get Manufacturing Cost Collector.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.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_InventoryLine_ID(int M_InventoryLine_ID)
Set Phys.Inventory Line.void
setM_Locator_ID(int M_Locator_ID)
Set Locator.void
setM_MovementLine_ID(int M_MovementLine_ID)
Set Move Line.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setM_ProductionLine_ID(int M_ProductionLine_ID)
Set Production Line.void
setM_Transaction_ID(int M_Transaction_ID)
Set Inventory Transaction.void
setM_Transaction_UU(String M_Transaction_UU)
Set M_Transaction_UU.void
setMovementDate(Timestamp MovementDate)
Set Movement Date.void
setMovementQty(BigDecimal MovementQty)
Set Movement Quantity.void
setMovementType(String MovementType)
Set Movement Type.void
setPP_Cost_Collector_ID(int PP_Cost_Collector_ID)
Set Manufacturing Cost Collector.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_Transaction
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 Detail
-
MOVEMENTTYPE_AD_Reference_ID
public static final int MOVEMENTTYPE_AD_Reference_ID
MovementType AD_Reference_ID=189- See Also:
- Constant Field Values
-
MOVEMENTTYPE_CustomerReturns
public static final String MOVEMENTTYPE_CustomerReturns
Customer Returns = C+- See Also:
- Constant Field Values
-
MOVEMENTTYPE_CustomerShipment
public static final String MOVEMENTTYPE_CustomerShipment
Customer Shipment = C-- See Also:
- Constant Field Values
-
MOVEMENTTYPE_InventoryIn
public static final String MOVEMENTTYPE_InventoryIn
Inventory In = I+- See Also:
- Constant Field Values
-
MOVEMENTTYPE_InventoryOut
public static final String MOVEMENTTYPE_InventoryOut
Inventory Out = I-- See Also:
- Constant Field Values
-
MOVEMENTTYPE_MovementTo
public static final String MOVEMENTTYPE_MovementTo
Movement To = M+- See Also:
- Constant Field Values
-
MOVEMENTTYPE_MovementFrom
public static final String MOVEMENTTYPE_MovementFrom
Movement From = M-- See Also:
- Constant Field Values
-
MOVEMENTTYPE_ProductionPlus
public static final String MOVEMENTTYPE_ProductionPlus
Production + = P+- See Also:
- Constant Field Values
-
MOVEMENTTYPE_Production_
public static final String MOVEMENTTYPE_Production_
Production - = P-- See Also:
- Constant Field Values
-
MOVEMENTTYPE_VendorReceipts
public static final String MOVEMENTTYPE_VendorReceipts
Vendor Receipts = V+- See Also:
- Constant Field Values
-
MOVEMENTTYPE_VendorReturns
public static final String MOVEMENTTYPE_VendorReturns
Vendor Returns = V-- See Also:
- Constant Field Values
-
MOVEMENTTYPE_WorkOrderPlus
public static final String MOVEMENTTYPE_WorkOrderPlus
Work Order + = W+- See Also:
- Constant Field Values
-
MOVEMENTTYPE_WorkOrder_
public static final String MOVEMENTTYPE_WorkOrder_
Work Order - = W-- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_M_Transaction
public X_M_Transaction(Properties ctx, int M_Transaction_ID, String trxName)
Standard Constructor
-
X_M_Transaction
public X_M_Transaction(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
-
getC_ProjectIssue
public I_C_ProjectIssue getC_ProjectIssue() throws RuntimeException
- Specified by:
getC_ProjectIssue
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setC_ProjectIssue_ID
public void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.- Specified by:
setC_ProjectIssue_ID
in interfaceI_M_Transaction
- Parameters:
C_ProjectIssue_ID
- Project Issues (Material, Labor)
-
getC_ProjectIssue_ID
public int getC_ProjectIssue_ID()
Get Project Issue.- Specified by:
getC_ProjectIssue_ID
in interfaceI_M_Transaction
- Returns:
- Project Issues (Material, Labor)
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstance
in interfaceI_M_Transaction
- 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_Transaction
- 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_Transaction
- Returns:
- Product Attribute Set Instance
-
getM_InOutLine
public I_M_InOutLine getM_InOutLine() throws RuntimeException
- Specified by:
getM_InOutLine
in interfaceI_M_Transaction
- 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_Transaction
- 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_Transaction
- Returns:
- Line on Shipment or Receipt document
-
getM_InventoryLine
public I_M_InventoryLine getM_InventoryLine() throws RuntimeException
- Specified by:
getM_InventoryLine
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setM_InventoryLine_ID
public void setM_InventoryLine_ID(int M_InventoryLine_ID)
Set Phys.Inventory Line.- Specified by:
setM_InventoryLine_ID
in interfaceI_M_Transaction
- Parameters:
M_InventoryLine_ID
- Unique line in an Inventory document
-
getM_InventoryLine_ID
public int getM_InventoryLine_ID()
Get Phys.Inventory Line.- Specified by:
getM_InventoryLine_ID
in interfaceI_M_Transaction
- Returns:
- Unique line in an Inventory document
-
getM_Locator
public I_M_Locator getM_Locator() throws RuntimeException
- Specified by:
getM_Locator
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setM_Locator_ID
public void setM_Locator_ID(int M_Locator_ID)
Set Locator.- Specified by:
setM_Locator_ID
in interfaceI_M_Transaction
- Parameters:
M_Locator_ID
- Warehouse Locator
-
getM_Locator_ID
public int getM_Locator_ID()
Get Locator.- Specified by:
getM_Locator_ID
in interfaceI_M_Transaction
- Returns:
- Warehouse Locator
-
getM_MovementLine
public I_M_MovementLine getM_MovementLine() throws RuntimeException
- Specified by:
getM_MovementLine
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setM_MovementLine_ID
public void setM_MovementLine_ID(int M_MovementLine_ID)
Set Move Line.- Specified by:
setM_MovementLine_ID
in interfaceI_M_Transaction
- Parameters:
M_MovementLine_ID
- Inventory Move document Line
-
getM_MovementLine_ID
public int getM_MovementLine_ID()
Get Move Line.- Specified by:
getM_MovementLine_ID
in interfaceI_M_Transaction
- Returns:
- Inventory Move document Line
-
setMovementDate
public void setMovementDate(Timestamp MovementDate)
Set Movement Date.- Specified by:
setMovementDate
in interfaceI_M_Transaction
- Parameters:
MovementDate
- Date a product was moved in or out of inventory
-
getMovementDate
public Timestamp getMovementDate()
Get Movement Date.- Specified by:
getMovementDate
in interfaceI_M_Transaction
- Returns:
- Date a product was moved in or out of inventory
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setMovementQty
public void setMovementQty(BigDecimal MovementQty)
Set Movement Quantity.- Specified by:
setMovementQty
in interfaceI_M_Transaction
- Parameters:
MovementQty
- Quantity of a product moved.
-
getMovementQty
public BigDecimal getMovementQty()
Get Movement Quantity.- Specified by:
getMovementQty
in interfaceI_M_Transaction
- Returns:
- Quantity of a product moved.
-
setMovementType
public void setMovementType(String MovementType)
Set Movement Type.- Specified by:
setMovementType
in interfaceI_M_Transaction
- Parameters:
MovementType
- Method of moving the inventory
-
getMovementType
public String getMovementType()
Get Movement Type.- Specified by:
getMovementType
in interfaceI_M_Transaction
- Returns:
- Method of moving the inventory
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_Transaction
- 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_Transaction
- Returns:
- Product, Service, Item
-
getM_ProductionLine
public I_M_ProductionLine getM_ProductionLine() throws RuntimeException
- Specified by:
getM_ProductionLine
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setM_ProductionLine_ID
public void setM_ProductionLine_ID(int M_ProductionLine_ID)
Set Production Line.- Specified by:
setM_ProductionLine_ID
in interfaceI_M_Transaction
- Parameters:
M_ProductionLine_ID
- Document Line representing a production
-
getM_ProductionLine_ID
public int getM_ProductionLine_ID()
Get Production Line.- Specified by:
getM_ProductionLine_ID
in interfaceI_M_Transaction
- Returns:
- Document Line representing a production
-
setM_Transaction_ID
public void setM_Transaction_ID(int M_Transaction_ID)
Set Inventory Transaction.- Specified by:
setM_Transaction_ID
in interfaceI_M_Transaction
- Parameters:
M_Transaction_ID
- Inventory Transaction
-
getM_Transaction_ID
public int getM_Transaction_ID()
Get Inventory Transaction.- Specified by:
getM_Transaction_ID
in interfaceI_M_Transaction
- Returns:
- Inventory Transaction
-
setM_Transaction_UU
public void setM_Transaction_UU(String M_Transaction_UU)
Set M_Transaction_UU.- Specified by:
setM_Transaction_UU
in interfaceI_M_Transaction
- Parameters:
M_Transaction_UU
- M_Transaction_UU
-
getM_Transaction_UU
public String getM_Transaction_UU()
Get M_Transaction_UU.- Specified by:
getM_Transaction_UU
in interfaceI_M_Transaction
- Returns:
- M_Transaction_UU
-
getPP_Cost_Collector
public I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
- Specified by:
getPP_Cost_Collector
in interfaceI_M_Transaction
- Throws:
RuntimeException
-
setPP_Cost_Collector_ID
public void setPP_Cost_Collector_ID(int PP_Cost_Collector_ID)
Set Manufacturing Cost Collector.- Specified by:
setPP_Cost_Collector_ID
in interfaceI_M_Transaction
- Parameters:
PP_Cost_Collector_ID
- Manufacturing Cost Collector
-
getPP_Cost_Collector_ID
public int getPP_Cost_Collector_ID()
Get Manufacturing Cost Collector.- Specified by:
getPP_Cost_Collector_ID
in interfaceI_M_Transaction
- Returns:
- Manufacturing Cost Collector
-
-