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
Generated Model for M_Transaction
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
MovementType AD_Reference_ID=189static final String
Customer Returns = C+static final String
Customer Shipment = C-static final String
Inventory In = I+static final String
Inventory Out = I-static final String
Movement From = M-static final String
Movement To = M+static final String
Production - = P-static final String
Production + = P+static final String
Vendor Receipts = V+static final String
Vendor Returns = V-static final String
Work Order - = W-static final String
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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_M_Transaction
(Properties ctx, int M_Transaction_ID, String trxName) Standard ConstructorX_M_Transaction
(Properties ctx, int M_Transaction_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_Transaction
(Properties ctx, String M_Transaction_UU, String trxName) Standard ConstructorX_M_Transaction
(Properties ctx, String M_Transaction_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_Transaction
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Project Issue.Get Record ID/ColumnNameint
Get Attribute Set Instance.int
Get Shipment/Receipt Line.int
Get Phys.Inventory Line.int
Get Locator.int
Get Move Line.int
Get Product.int
Get Production Line.int
Get Inventory Transaction.Get M_Transaction_UU.Get Movement Date.Get Movement Quantity.Get Movement Type.int
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.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_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 Details
-
MOVEMENTTYPE_AD_Reference_ID
public static final int MOVEMENTTYPE_AD_Reference_IDMovementType AD_Reference_ID=189- See Also:
-
MOVEMENTTYPE_CustomerReturns
Customer Returns = C+- See Also:
-
MOVEMENTTYPE_CustomerShipment
Customer Shipment = C-- See Also:
-
MOVEMENTTYPE_InventoryIn
Inventory In = I+- See Also:
-
MOVEMENTTYPE_InventoryOut
Inventory Out = I-- See Also:
-
MOVEMENTTYPE_MovementTo
Movement To = M+- See Also:
-
MOVEMENTTYPE_MovementFrom
Movement From = M-- See Also:
-
MOVEMENTTYPE_ProductionPlus
Production + = P+- See Also:
-
MOVEMENTTYPE_Production_
Production - = P-- See Also:
-
MOVEMENTTYPE_VendorReceipts
Vendor Receipts = V+- See Also:
-
MOVEMENTTYPE_VendorReturns
Vendor Returns = V-- See Also:
-
MOVEMENTTYPE_WorkOrderPlus
Work Order + = W+- See Also:
-
MOVEMENTTYPE_WorkOrder_
Work Order - = W-- See Also:
-
-
Constructor Details
-
X_M_Transaction
Standard Constructor -
X_M_Transaction
public X_M_Transaction(Properties ctx, int M_Transaction_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_Transaction
Standard Constructor -
X_M_Transaction
public X_M_Transaction(Properties ctx, String M_Transaction_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_Transaction
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 1 - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_ProjectIssue
- 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
- 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
- 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
- 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
- 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
- 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
Set Movement Date.- Specified by:
setMovementDate
in interfaceI_M_Transaction
- Parameters:
MovementDate
- Date a product was moved in or out of inventory
-
getMovementDate
Get Movement Date.- Specified by:
getMovementDate
in interfaceI_M_Transaction
- Returns:
- Date a product was moved in or out of inventory
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setMovementQty
Set Movement Quantity.- Specified by:
setMovementQty
in interfaceI_M_Transaction
- Parameters:
MovementQty
- Quantity of a product moved.
-
getMovementQty
Get Movement Quantity.- Specified by:
getMovementQty
in interfaceI_M_Transaction
- Returns:
- Quantity of a product moved.
-
setMovementType
Set Movement Type.- Specified by:
setMovementType
in interfaceI_M_Transaction
- Parameters:
MovementType
- Method of moving the inventory
-
getMovementType
Get Movement Type.- Specified by:
getMovementType
in interfaceI_M_Transaction
- Returns:
- Method of moving the inventory
-
getM_Product
- 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
- 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
Set M_Transaction_UU.- Specified by:
setM_Transaction_UU
in interfaceI_M_Transaction
- Parameters:
M_Transaction_UU
- M_Transaction_UU
-
getM_Transaction_UU
Get M_Transaction_UU.- Specified by:
getM_Transaction_UU
in interfaceI_M_Transaction
- Returns:
- M_Transaction_UU
-
getPP_Cost_Collector
- 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
-