Adempiere 3.5.2a

org.compiere.model
Class X_M_TransactionAllocation

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_TransactionAllocation
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int ALLOCATIONSTRATEGYTYPE_AD_Reference_ID
          AllocationStrategyType AD_Reference_ID=294
static String ALLOCATIONSTRATEGYTYPE_FiFo
          FiFo = F
static String ALLOCATIONSTRATEGYTYPE_LiFo
          LiFo = L
static int OUT_M_INOUTLINE_ID_AD_Reference_ID
          Out_M_InOutLine_ID AD_Reference_ID=295
static int OUT_M_INVENTORYLINE_ID_AD_Reference_ID
          Out_M_InventoryLine_ID AD_Reference_ID=296
static int OUT_M_PRODUCTIONLINE_ID_AD_Reference_ID
          Out_M_ProductionLine_ID AD_Reference_ID=297
static int OUT_M_TRANSACTION_ID_AD_Reference_ID
          Out_M_Transaction_ID AD_Reference_ID=298
 
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, 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_AllocationStrategyType, 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_Out_M_InOutLine_ID, COLUMNNAME_Out_M_InventoryLine_ID, COLUMNNAME_Out_M_ProductionLine_ID, COLUMNNAME_Out_M_Transaction_ID, COLUMNNAME_Qty, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_TransactionAllocation(Properties ctx, int M_TransactionAllocation_ID, String trxName)
          Standard Constructor
X_M_TransactionAllocation(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getAllocationStrategyType()
          Get Allocation Strategy.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_InOutLine_ID()
          Get Shipment/Receipt Line.
 I_M_InOutLine getM_InOutLine()
           
 int getM_InventoryLine_ID()
          Get Phys.Inventory Line.
 I_M_InventoryLine getM_InventoryLine()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 int getM_ProductionLine_ID()
          Get Production Line.
 I_M_ProductionLine getM_ProductionLine()
           
 int getM_Transaction_ID()
          Get Inventory Transaction.
 I_M_Transaction getM_Transaction()
           
 int getOut_M_InOutLine_ID()
          Get Out Shipment Line.
 int getOut_M_InventoryLine_ID()
          Get Out Inventory Line.
 int getOut_M_ProductionLine_ID()
          Get Out Production Line.
 int getOut_M_Transaction_ID()
          Get Out Transaction.
 BigDecimal getQty()
          Get Quantity.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean 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 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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_LiFo

public static final String ALLOCATIONSTRATEGYTYPE_LiFo
LiFo = L

See Also:
Constant Field Values

ALLOCATIONSTRATEGYTYPE_FiFo

public static final String ALLOCATIONSTRATEGYTYPE_FiFo
FiFo = F

See Also:
Constant Field Values

OUT_M_INOUTLINE_ID_AD_Reference_ID

public static final int OUT_M_INOUTLINE_ID_AD_Reference_ID
Out_M_InOutLine_ID AD_Reference_ID=295

See Also:
Constant Field Values

OUT_M_INVENTORYLINE_ID_AD_Reference_ID

public static final int OUT_M_INVENTORYLINE_ID_AD_Reference_ID
Out_M_InventoryLine_ID AD_Reference_ID=296

See Also:
Constant Field Values

OUT_M_PRODUCTIONLINE_ID_AD_Reference_ID

public static final int OUT_M_PRODUCTIONLINE_ID_AD_Reference_ID
Out_M_ProductionLine_ID AD_Reference_ID=297

See Also:
Constant Field Values

OUT_M_TRANSACTION_ID_AD_Reference_ID

public static final int OUT_M_TRANSACTION_ID_AD_Reference_ID
Out_M_Transaction_ID AD_Reference_ID=298

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 class PO
Returns:
1 - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setAllocationStrategyType

public void setAllocationStrategyType(String AllocationStrategyType)
Set Allocation Strategy.

Specified by:
setAllocationStrategyType in interface I_M_TransactionAllocation
Parameters:
AllocationStrategyType - Allocation Strategy

getAllocationStrategyType

public String getAllocationStrategyType()
Get Allocation Strategy.

Specified by:
getAllocationStrategyType in interface I_M_TransactionAllocation
Returns:
Allocation Strategy

setIsAllocated

public void setIsAllocated(boolean IsAllocated)
Set Allocated.

Specified by:
setIsAllocated in interface I_M_TransactionAllocation
Parameters:
IsAllocated - Indicates if the payment has been allocated

isAllocated

public boolean isAllocated()
Get Allocated.

Specified by:
isAllocated in interface I_M_TransactionAllocation
Returns:
Indicates if the payment has been allocated

setIsManual

public void setIsManual(boolean IsManual)
Set Manual.

Specified by:
setIsManual in interface I_M_TransactionAllocation
Parameters:
IsManual - This is a manual process

isManual

public boolean isManual()
Get Manual.

Specified by:
isManual in interface I_M_TransactionAllocation
Returns:
This is a manual process

setM_AttributeSetInstance_ID

public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.

Specified by:
setM_AttributeSetInstance_ID in interface I_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 interface I_M_TransactionAllocation
Returns:
Product Attribute Set Instance

getM_InOutLine

public I_M_InOutLine getM_InOutLine()
                             throws Exception
Specified by:
getM_InOutLine in interface I_M_TransactionAllocation
Throws:
Exception

setM_InOutLine_ID

public void setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line.

Specified by:
setM_InOutLine_ID in interface I_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 interface I_M_TransactionAllocation
Returns:
Line on Shipment or Receipt document

getM_InventoryLine

public I_M_InventoryLine getM_InventoryLine()
                                     throws Exception
Specified by:
getM_InventoryLine in interface I_M_TransactionAllocation
Throws:
Exception

setM_InventoryLine_ID

public void setM_InventoryLine_ID(int M_InventoryLine_ID)
Set Phys.Inventory Line.

Specified by:
setM_InventoryLine_ID in interface I_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 interface I_M_TransactionAllocation
Returns:
Unique line in an Inventory document

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_M_TransactionAllocation
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_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 interface I_M_TransactionAllocation
Returns:
Product, Service, Item

getM_ProductionLine

public I_M_ProductionLine getM_ProductionLine()
                                       throws Exception
Specified by:
getM_ProductionLine in interface I_M_TransactionAllocation
Throws:
Exception

setM_ProductionLine_ID

public void setM_ProductionLine_ID(int M_ProductionLine_ID)
Set Production Line.

Specified by:
setM_ProductionLine_ID in interface I_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 interface I_M_TransactionAllocation
Returns:
Document Line representing a production

getM_Transaction

public I_M_Transaction getM_Transaction()
                                 throws Exception
Specified by:
getM_Transaction in interface I_M_TransactionAllocation
Throws:
Exception

setM_Transaction_ID

public void setM_Transaction_ID(int M_Transaction_ID)
Set Inventory Transaction.

Specified by:
setM_Transaction_ID in interface I_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 interface I_M_TransactionAllocation
Returns:
Inventory Transaction

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 interface I_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 interface I_M_TransactionAllocation
Returns:
Outgoing Shipment/Receipt

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 interface I_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 interface I_M_TransactionAllocation
Returns:
Outgoing Inventory Line

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 interface I_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 interface I_M_TransactionAllocation
Returns:
Outgoing Production Line

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 interface I_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 interface I_M_TransactionAllocation
Returns:
Outgoing Transaction

setQty

public void setQty(BigDecimal Qty)
Set Quantity.

Specified by:
setQty in interface I_M_TransactionAllocation
Parameters:
Qty - Quantity

getQty

public BigDecimal getQty()
Get Quantity.

Specified by:
getQty in interface I_M_TransactionAllocation
Returns:
Quantity

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.