Package org.compiere.model
Class X_M_TransactionAllocation
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_TransactionAllocation
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_TransactionAllocation
,I_Persistent
,Evaluatee
public class X_M_TransactionAllocation
extends PO
implements I_M_TransactionAllocation, I_Persistent
Generated Model for M_TransactionAllocation
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
AllocationStrategyType AD_Reference_ID=294static final String
FiFo = Fstatic final String
LiFo = LFields 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_TransactionAllocation
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AllocationStrategyType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_IsAllocated, COLUMNNAME_IsManual, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_InventoryLine_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_ProductionLine_ID, COLUMNNAME_M_Transaction_ID, COLUMNNAME_M_TransactionAllocation_UU, COLUMNNAME_Out_M_InOutLine_ID, COLUMNNAME_Out_M_InventoryLine_ID, COLUMNNAME_Out_M_ProductionLine_ID, COLUMNNAME_Out_M_Transaction_ID, COLUMNNAME_Qty, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_TransactionAllocation
(Properties ctx, int M_TransactionAllocation_ID, String trxName) Standard ConstructorX_M_TransactionAllocation
(Properties ctx, int M_TransactionAllocation_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_TransactionAllocation
(Properties ctx, String M_TransactionAllocation_UU, String trxName) Standard ConstructorX_M_TransactionAllocation
(Properties ctx, String M_TransactionAllocation_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_TransactionAllocation
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Allocation Strategy.int
Get Attribute Set Instance.int
Get Shipment/Receipt Line.int
Get Phys.Inventory Line.int
Get Product.int
Get Production Line.int
Get Inventory Transaction.Get M_TransactionAllocation_UU.int
Get Out Shipment Line.int
Get Out Inventory Line.int
Get Out Production Line.int
Get Out Transaction.getQty()
Get Quantity.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Allocated.boolean
isManual()
Get Manual.void
setAllocationStrategyType
(String AllocationStrategyType) Set Allocation Strategy.void
setIsAllocated
(boolean IsAllocated) Set Allocated.void
setIsManual
(boolean IsManual) Set Manual.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_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_TransactionAllocation_UU
(String M_TransactionAllocation_UU) Set M_TransactionAllocation_UU.void
setOut_M_InOutLine_ID
(int Out_M_InOutLine_ID) Set Out Shipment Line.void
setOut_M_InventoryLine_ID
(int Out_M_InventoryLine_ID) Set Out Inventory Line.void
setOut_M_ProductionLine_ID
(int Out_M_ProductionLine_ID) Set Out Production Line.void
setOut_M_Transaction_ID
(int Out_M_Transaction_ID) Set Out Transaction.void
setQty
(BigDecimal Qty) Set Quantity.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_TransactionAllocation
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
-
ALLOCATIONSTRATEGYTYPE_AD_Reference_ID
public static final int ALLOCATIONSTRATEGYTYPE_AD_Reference_IDAllocationStrategyType AD_Reference_ID=294- See Also:
-
ALLOCATIONSTRATEGYTYPE_FiFo
FiFo = F- See Also:
-
ALLOCATIONSTRATEGYTYPE_LiFo
LiFo = L- See Also:
-
-
Constructor Details
-
X_M_TransactionAllocation
Standard Constructor -
X_M_TransactionAllocation
public X_M_TransactionAllocation(Properties ctx, int M_TransactionAllocation_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_TransactionAllocation
Standard Constructor -
X_M_TransactionAllocation
public X_M_TransactionAllocation(Properties ctx, String M_TransactionAllocation_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_TransactionAllocation
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 -
setAllocationStrategyType
Set Allocation Strategy.- Specified by:
setAllocationStrategyType
in interfaceI_M_TransactionAllocation
- Parameters:
AllocationStrategyType
- Allocation Strategy
-
getAllocationStrategyType
Get Allocation Strategy.- Specified by:
getAllocationStrategyType
in interfaceI_M_TransactionAllocation
- Returns:
- Allocation Strategy
-
setIsAllocated
public void setIsAllocated(boolean IsAllocated) Set Allocated.- Specified by:
setIsAllocated
in interfaceI_M_TransactionAllocation
- Parameters:
IsAllocated
- Indicates if the payment has been allocated
-
isAllocated
public boolean isAllocated()Get Allocated.- Specified by:
isAllocated
in interfaceI_M_TransactionAllocation
- Returns:
- Indicates if the payment has been allocated
-
setIsManual
public void setIsManual(boolean IsManual) Set Manual.- Specified by:
setIsManual
in interfaceI_M_TransactionAllocation
- Parameters:
IsManual
- This is a manual process
-
isManual
public boolean isManual()Get Manual.- Specified by:
isManual
in interfaceI_M_TransactionAllocation
- Returns:
- This is a manual process
-
getM_AttributeSetInstance
- Specified by:
getM_AttributeSetInstance
in interfaceI_M_TransactionAllocation
- 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_TransactionAllocation
- 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_TransactionAllocation
- Returns:
- Product Attribute Set Instance
-
getM_InOutLine
- Specified by:
getM_InOutLine
in interfaceI_M_TransactionAllocation
- 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_TransactionAllocation
- 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_TransactionAllocation
- Returns:
- Line on Shipment or Receipt document
-
getM_InventoryLine
- Specified by:
getM_InventoryLine
in interfaceI_M_TransactionAllocation
- 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_TransactionAllocation
- 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_TransactionAllocation
- Returns:
- Unique line in an Inventory document
-
getM_Product
- Specified by:
getM_Product
in interfaceI_M_TransactionAllocation
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_TransactionAllocation
- 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_TransactionAllocation
- Returns:
- Product, Service, Item
-
getM_ProductionLine
- Specified by:
getM_ProductionLine
in interfaceI_M_TransactionAllocation
- 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_TransactionAllocation
- 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_TransactionAllocation
- Returns:
- Document Line representing a production
-
setM_TransactionAllocation_UU
Set M_TransactionAllocation_UU.- Specified by:
setM_TransactionAllocation_UU
in interfaceI_M_TransactionAllocation
- Parameters:
M_TransactionAllocation_UU
- M_TransactionAllocation_UU
-
getM_TransactionAllocation_UU
Get M_TransactionAllocation_UU.- Specified by:
getM_TransactionAllocation_UU
in interfaceI_M_TransactionAllocation
- Returns:
- M_TransactionAllocation_UU
-
getM_Transaction
- Specified by:
getM_Transaction
in interfaceI_M_TransactionAllocation
- Throws:
RuntimeException
-
setM_Transaction_ID
public void setM_Transaction_ID(int M_Transaction_ID) Set Inventory Transaction.- Specified by:
setM_Transaction_ID
in interfaceI_M_TransactionAllocation
- 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_TransactionAllocation
- Returns:
- Inventory Transaction
-
getOut_M_InOutLine
- Specified by:
getOut_M_InOutLine
in interfaceI_M_TransactionAllocation
- Throws:
RuntimeException
-
setOut_M_InOutLine_ID
public void setOut_M_InOutLine_ID(int Out_M_InOutLine_ID) Set Out Shipment Line.- Specified by:
setOut_M_InOutLine_ID
in interfaceI_M_TransactionAllocation
- Parameters:
Out_M_InOutLine_ID
- Outgoing Shipment/Receipt
-
getOut_M_InOutLine_ID
public int getOut_M_InOutLine_ID()Get Out Shipment Line.- Specified by:
getOut_M_InOutLine_ID
in interfaceI_M_TransactionAllocation
- Returns:
- Outgoing Shipment/Receipt
-
getOut_M_InventoryLine
- Specified by:
getOut_M_InventoryLine
in interfaceI_M_TransactionAllocation
- Throws:
RuntimeException
-
setOut_M_InventoryLine_ID
public void setOut_M_InventoryLine_ID(int Out_M_InventoryLine_ID) Set Out Inventory Line.- Specified by:
setOut_M_InventoryLine_ID
in interfaceI_M_TransactionAllocation
- Parameters:
Out_M_InventoryLine_ID
- Outgoing Inventory Line
-
getOut_M_InventoryLine_ID
public int getOut_M_InventoryLine_ID()Get Out Inventory Line.- Specified by:
getOut_M_InventoryLine_ID
in interfaceI_M_TransactionAllocation
- Returns:
- Outgoing Inventory Line
-
getOut_M_ProductionLine
- Specified by:
getOut_M_ProductionLine
in interfaceI_M_TransactionAllocation
- Throws:
RuntimeException
-
setOut_M_ProductionLine_ID
public void setOut_M_ProductionLine_ID(int Out_M_ProductionLine_ID) Set Out Production Line.- Specified by:
setOut_M_ProductionLine_ID
in interfaceI_M_TransactionAllocation
- Parameters:
Out_M_ProductionLine_ID
- Outgoing Production Line
-
getOut_M_ProductionLine_ID
public int getOut_M_ProductionLine_ID()Get Out Production Line.- Specified by:
getOut_M_ProductionLine_ID
in interfaceI_M_TransactionAllocation
- Returns:
- Outgoing Production Line
-
getOut_M_Transaction
- Specified by:
getOut_M_Transaction
in interfaceI_M_TransactionAllocation
- Throws:
RuntimeException
-
setOut_M_Transaction_ID
public void setOut_M_Transaction_ID(int Out_M_Transaction_ID) Set Out Transaction.- Specified by:
setOut_M_Transaction_ID
in interfaceI_M_TransactionAllocation
- Parameters:
Out_M_Transaction_ID
- Outgoing Transaction
-
getOut_M_Transaction_ID
public int getOut_M_Transaction_ID()Get Out Transaction.- Specified by:
getOut_M_Transaction_ID
in interfaceI_M_TransactionAllocation
- Returns:
- Outgoing Transaction
-
setQty
Set Quantity.- Specified by:
setQty
in interfaceI_M_TransactionAllocation
- Parameters:
Qty
- Quantity
-
getQty
Get Quantity.- Specified by:
getQty
in interfaceI_M_TransactionAllocation
- Returns:
- Quantity
-