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 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMovementType AD_Reference_ID=189static final StringCustomer Returns = C+static final StringCustomer Shipment = C-static final StringInventory In = I+static final StringInventory Out = I-static final StringMovement From = M-static final StringMovement To = M+static final StringProduction - = P-static final StringProduction + = P+static final StringVendor Receipts = V+static final StringVendor Returns = V-static final StringWork Order - = W-static final StringWork 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, m_attachment, m_idOld, m_IDs, m_KeyColumns, m_optimisticLockingColumns, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelDeprecated.intGet Project Issue.Get Record ID/ColumnNameDeprecated.intGet Attribute Set Instance.Deprecated.intGet Shipment/Receipt Line.Deprecated.intGet Phys.Inventory Line.Deprecated.intGet Locator.Deprecated.intGet Move Line.Deprecated.intGet Product.Deprecated.intGet Production Line.intGet Inventory Transaction.Get M_Transaction_UU.Get Movement Date.Get Movement Quantity.Get Movement Type.Deprecated.intGet Manufacturing Cost Collector.protected POInfoinitPO(Properties ctx) Load Meta DatavoidsetC_ProjectIssue_ID(int C_ProjectIssue_ID) Set Project Issue.voidsetM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID) Set Attribute Set Instance.voidsetM_InOutLine_ID(int M_InOutLine_ID) Set Shipment/Receipt Line.voidsetM_InventoryLine_ID(int M_InventoryLine_ID) Set Phys.Inventory Line.voidsetM_Locator_ID(int M_Locator_ID) Set Locator.voidsetM_MovementLine_ID(int M_MovementLine_ID) Set Move Line.voidsetM_Product_ID(int M_Product_ID) Set Product.voidsetM_ProductionLine_ID(int M_ProductionLine_ID) Set Production Line.voidsetM_Transaction_ID(int M_Transaction_ID) Set Inventory Transaction.voidsetM_Transaction_UU(String M_Transaction_UU) Set M_Transaction_UU.voidsetMovementDate(Timestamp MovementDate) Set Movement Date.voidsetMovementQty(BigDecimal MovementQty) Set Movement Quantity.voidsetMovementType(String MovementType) Set Movement Type.voidsetPP_Cost_Collector_ID(int PP_Cost_Collector_ID) Set Manufacturing Cost Collector.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterInsertWithValues, afterSave, beforeDelete, beforeSave, buildInsertSQL, buildInsertSQL, buildUpdateSQL, buildUUIDSubquery, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, doOrganizationCheckForSave, doVerificationForDelete, doVerificationForSave, dump, dump, equals, firePostDeleteEvent, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_deleteStatement, get_deleteTranslationsSQL, get_deleteTreeSQL, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_QueryTimeout, get_Table_ID, get_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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_ColumnLoaded, is_hasCustomTree, is_Immutable, is_new, is_Partial, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isCrossTenantSafe, isLogSQLScript, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lobSave, lock, makeImmutable, postDelete, resetStateAfterDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveFinish, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnLoaded, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_DocumentNoForNewRecord, set_IDForNewRecord, set_OptimisticLockingColumns, set_Partial, set_QueryTimeout, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_UUIDForNewRecord, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueForNewRecord, 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, setupDeleteActionsForTransactionEvent, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_M_Transaction
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 1 - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getC_ProjectIssue
Deprecated.- Specified by:
getC_ProjectIssuein interfaceI_M_Transaction- Throws:
RuntimeException
-
setC_ProjectIssue_ID
public void setC_ProjectIssue_ID(int C_ProjectIssue_ID) Set Project Issue.- Specified by:
setC_ProjectIssue_IDin 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_IDin interfaceI_M_Transaction- Returns:
- Project Issues (Material, Labor)
-
getM_AttributeSetInstance
@Deprecated(since="13") public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeExceptionDeprecated.- Specified by:
getM_AttributeSetInstancein 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_IDin 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_IDin interfaceI_M_Transaction- Returns:
- Product Attribute Set Instance
-
getM_InOutLine
Deprecated.- Specified by:
getM_InOutLinein 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_IDin 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_IDin interfaceI_M_Transaction- Returns:
- Line on Shipment or Receipt document
-
getM_InventoryLine
Deprecated.- Specified by:
getM_InventoryLinein 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_IDin 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_IDin interfaceI_M_Transaction- Returns:
- Unique line in an Inventory document
-
getM_Locator
Deprecated.- Specified by:
getM_Locatorin interfaceI_M_Transaction- Throws:
RuntimeException
-
setM_Locator_ID
public void setM_Locator_ID(int M_Locator_ID) Set Locator.- Specified by:
setM_Locator_IDin interfaceI_M_Transaction- Parameters:
M_Locator_ID- Warehouse Locator
-
getM_Locator_ID
public int getM_Locator_ID()Get Locator.- Specified by:
getM_Locator_IDin interfaceI_M_Transaction- Returns:
- Warehouse Locator
-
getM_MovementLine
Deprecated.- Specified by:
getM_MovementLinein interfaceI_M_Transaction- Throws:
RuntimeException
-
setM_MovementLine_ID
public void setM_MovementLine_ID(int M_MovementLine_ID) Set Move Line.- Specified by:
setM_MovementLine_IDin 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_IDin interfaceI_M_Transaction- Returns:
- Inventory Move document Line
-
getM_Product
Deprecated.- Specified by:
getM_Productin interfaceI_M_Transaction- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_IDin interfaceI_M_Transaction- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_IDin interfaceI_M_Transaction- Returns:
- Product, Service, Item
-
getM_ProductionLine
Deprecated.- Specified by:
getM_ProductionLinein interfaceI_M_Transaction- Throws:
RuntimeException
-
setM_ProductionLine_ID
public void setM_ProductionLine_ID(int M_ProductionLine_ID) Set Production Line.- Specified by:
setM_ProductionLine_IDin 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_IDin 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_IDin interfaceI_M_Transaction- Parameters:
M_Transaction_ID- Inventory Transaction
-
getM_Transaction_ID
public int getM_Transaction_ID()Get Inventory Transaction.- Specified by:
getM_Transaction_IDin interfaceI_M_Transaction- Returns:
- Inventory Transaction
-
setM_Transaction_UU
Set M_Transaction_UU.- Specified by:
setM_Transaction_UUin interfaceI_M_Transaction- Parameters:
M_Transaction_UU- M_Transaction_UU
-
getM_Transaction_UU
Get M_Transaction_UU.- Specified by:
getM_Transaction_UUin interfaceI_M_Transaction- Returns:
- M_Transaction_UU
-
setMovementDate
Set Movement Date.- Specified by:
setMovementDatein interfaceI_M_Transaction- Parameters:
MovementDate- Date a product was moved in or out of inventory
-
getMovementDate
Get Movement Date.- Specified by:
getMovementDatein 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:
setMovementQtyin interfaceI_M_Transaction- Parameters:
MovementQty- Quantity of a product moved.
-
getMovementQty
Get Movement Quantity.- Specified by:
getMovementQtyin interfaceI_M_Transaction- Returns:
- Quantity of a product moved.
-
setMovementType
Set Movement Type.- Specified by:
setMovementTypein interfaceI_M_Transaction- Parameters:
MovementType- Method of moving the inventory
-
getMovementType
Get Movement Type.- Specified by:
getMovementTypein interfaceI_M_Transaction- Returns:
- Method of moving the inventory
-
getPP_Cost_Collector
Deprecated.- Specified by:
getPP_Cost_Collectorin 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_IDin 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_IDin interfaceI_M_Transaction- Returns:
- Manufacturing Cost Collector
-