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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOCATIONSTRATEGYTYPE_AD_Reference_ID
AllocationStrategyType AD_Reference_ID=294static String
ALLOCATIONSTRATEGYTYPE_FiFo
FiFo = Fstatic String
ALLOCATIONSTRATEGYTYPE_LiFo
LiFo = L-
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_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
Constructors Constructor Description X_M_TransactionAllocation(Properties ctx, int M_TransactionAllocation_ID, String trxName)
Standard ConstructorX_M_TransactionAllocation(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()
AccessLevelString
getAllocationStrategyType()
Get Allocation Strategy.I_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_Product
getM_Product()
int
getM_Product_ID()
Get Product.I_M_ProductionLine
getM_ProductionLine()
int
getM_ProductionLine_ID()
Get Production Line.I_M_Transaction
getM_Transaction()
int
getM_Transaction_ID()
Get Inventory Transaction.String
getM_TransactionAllocation_UU()
Get M_TransactionAllocation_UU.I_M_InOutLine
getOut_M_InOutLine()
int
getOut_M_InOutLine_ID()
Get Out Shipment Line.I_M_InventoryLine
getOut_M_InventoryLine()
int
getOut_M_InventoryLine_ID()
Get Out Inventory Line.I_M_ProductionLine
getOut_M_ProductionLine()
int
getOut_M_ProductionLine_ID()
Get Out Production Line.I_M_Transaction
getOut_M_Transaction()
int
getOut_M_Transaction_ID()
Get Out Transaction.BigDecimal
getQty()
Get Quantity.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isAllocated()
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.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_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 Detail
-
ALLOCATIONSTRATEGYTYPE_AD_Reference_ID
public static final int ALLOCATIONSTRATEGYTYPE_AD_Reference_ID
AllocationStrategyType AD_Reference_ID=294- See Also:
- Constant Field Values
-
ALLOCATIONSTRATEGYTYPE_FiFo
public static final String ALLOCATIONSTRATEGYTYPE_FiFo
FiFo = F- See Also:
- Constant Field Values
-
ALLOCATIONSTRATEGYTYPE_LiFo
public static final String ALLOCATIONSTRATEGYTYPE_LiFo
LiFo = L- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_M_TransactionAllocation
public X_M_TransactionAllocation(Properties ctx, int M_TransactionAllocation_ID, String trxName)
Standard Constructor
-
X_M_TransactionAllocation
public X_M_TransactionAllocation(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
-
setAllocationStrategyType
public void setAllocationStrategyType(String AllocationStrategyType)
Set Allocation Strategy.- Specified by:
setAllocationStrategyType
in interfaceI_M_TransactionAllocation
- Parameters:
AllocationStrategyType
- Allocation Strategy
-
getAllocationStrategyType
public String 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
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- 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
public I_M_InOutLine getM_InOutLine() throws RuntimeException
- 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
public I_M_InventoryLine getM_InventoryLine() throws RuntimeException
- 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
public I_M_Product getM_Product() throws RuntimeException
- 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
public I_M_ProductionLine getM_ProductionLine() throws RuntimeException
- 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
public void setM_TransactionAllocation_UU(String M_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
public String getM_TransactionAllocation_UU()
Get M_TransactionAllocation_UU.- Specified by:
getM_TransactionAllocation_UU
in interfaceI_M_TransactionAllocation
- Returns:
- M_TransactionAllocation_UU
-
getM_Transaction
public I_M_Transaction getM_Transaction() throws RuntimeException
- 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
public I_M_InOutLine getOut_M_InOutLine() throws RuntimeException
- 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
public I_M_InventoryLine getOut_M_InventoryLine() throws RuntimeException
- 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
public I_M_ProductionLine getOut_M_ProductionLine() throws RuntimeException
- 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
public I_M_Transaction getOut_M_Transaction() throws RuntimeException
- 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
public void setQty(BigDecimal Qty)
Set Quantity.- Specified by:
setQty
in interfaceI_M_TransactionAllocation
- Parameters:
Qty
- Quantity
-
getQty
public BigDecimal getQty()
Get Quantity.- Specified by:
getQty
in interfaceI_M_TransactionAllocation
- Returns:
- Quantity
-
-