Adempiere 3.5.2a

org.compiere.model
Class X_T_Transaction

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_T_Transaction
All Implemented Interfaces:
Serializable, Comparator, I_Persistent, I_T_Transaction, Evaluatee

public class X_T_Transaction
extends PO
implements I_T_Transaction, I_Persistent

Generated Model for T_Transaction

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int MOVEMENTTYPE_AD_Reference_ID
          MovementType AD_Reference_ID=189
static String MOVEMENTTYPE_CustomerReturns
          Customer Returns = C+
static String MOVEMENTTYPE_CustomerShipment
          Customer Shipment = C-
static String MOVEMENTTYPE_InventoryIn
          Inventory In = I+
static String MOVEMENTTYPE_InventoryOut
          Inventory Out = I-
static String MOVEMENTTYPE_MovementFrom
          Movement From = M-
static String MOVEMENTTYPE_MovementTo
          Movement To = M+
static String MOVEMENTTYPE_Production_
          Production - = P-
static String MOVEMENTTYPE_ProductionPlus
          Production + = P+
static String MOVEMENTTYPE_VendorReceipts
          Vendor Receipts = V+
static String MOVEMENTTYPE_VendorReturns
          Vendor Returns = V-
static String MOVEMENTTYPE_WorkOrder_
          Work Order - = W-
static String MOVEMENTTYPE_WorkOrderPlus
          Work Order + = W+
static int SEARCH_INOUT_ID_AD_Reference_ID
          Search_InOut_ID AD_Reference_ID=295
static int SEARCH_INVOICE_ID_AD_Reference_ID
          Search_Invoice_ID AD_Reference_ID=336
static int SEARCH_ORDER_ID_AD_Reference_ID
          Search_Order_ID AD_Reference_ID=290
 
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_T_Transaction
accessLevel, COLUMNNAME_AD_PInstance_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_ProjectIssue_ID, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_InOut_ID, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_Inventory_ID, COLUMNNAME_M_InventoryLine_ID, COLUMNNAME_M_Locator_ID, COLUMNNAME_M_Movement_ID, COLUMNNAME_M_MovementLine_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Production_ID, COLUMNNAME_M_ProductionLine_ID, COLUMNNAME_M_Transaction_ID, COLUMNNAME_MovementDate, COLUMNNAME_MovementQty, COLUMNNAME_MovementType, COLUMNNAME_Search_InOut_ID, COLUMNNAME_Search_Invoice_ID, COLUMNNAME_Search_Order_ID, Model, Table_ID, Table_Name
 
Constructor Summary
X_T_Transaction(Properties ctx, int T_Transaction_ID, String trxName)
          Standard Constructor
X_T_Transaction(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_PInstance_ID()
          Get Process Instance.
 I_AD_PInstance getAD_PInstance()
           
 int getC_Project_ID()
          Get Project.
 I_C_Project getC_Project()
           
 int getC_ProjectIssue_ID()
          Get Project Issue.
 I_C_ProjectIssue getC_ProjectIssue()
           
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_InOut_ID()
          Get Shipment/Receipt.
 I_M_InOut getM_InOut()
           
 int getM_InOutLine_ID()
          Get Shipment/Receipt Line.
 I_M_InOutLine getM_InOutLine()
           
 int getM_Inventory_ID()
          Get Phys.Inventory.
 I_M_Inventory getM_Inventory()
           
 int getM_InventoryLine_ID()
          Get Phys.Inventory Line.
 I_M_InventoryLine getM_InventoryLine()
           
 int getM_Locator_ID()
          Get Locator.
 int getM_Movement_ID()
          Get Inventory Move.
 I_M_Movement getM_Movement()
           
 int getM_MovementLine_ID()
          Get Move Line.
 I_M_MovementLine getM_MovementLine()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 int getM_Production_ID()
          Get Production.
 I_M_Production getM_Production()
           
 int getM_ProductionLine_ID()
          Get Production Line.
 I_M_ProductionLine getM_ProductionLine()
           
 int getM_Transaction_ID()
          Get Inventory Transaction.
 I_M_Transaction getM_Transaction()
           
 Timestamp getMovementDate()
          Get Movement Date.
 BigDecimal getMovementQty()
          Get Movement Quantity.
 String getMovementType()
          Get Movement Type.
 int getSearch_InOut_ID()
          Get Search Shipment/Receipt.
 int getSearch_Invoice_ID()
          Get Search Invoice.
 int getSearch_Order_ID()
          Get Search Order.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setAD_PInstance_ID(int AD_PInstance_ID)
          Set Process Instance.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
          Set Project Issue.
 void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
          Set Attribute Set Instance.
 void setM_InOut_ID(int M_InOut_ID)
          Set Shipment/Receipt.
 void setM_InOutLine_ID(int M_InOutLine_ID)
          Set Shipment/Receipt Line.
 void setM_Inventory_ID(int M_Inventory_ID)
          Set Phys.Inventory.
 void setM_InventoryLine_ID(int M_InventoryLine_ID)
          Set Phys.Inventory Line.
 void setM_Locator_ID(int M_Locator_ID)
          Set Locator.
 void setM_Movement_ID(int M_Movement_ID)
          Set Inventory Move.
 void setM_MovementLine_ID(int M_MovementLine_ID)
          Set Move Line.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setM_Production_ID(int M_Production_ID)
          Set Production.
 void setM_ProductionLine_ID(int M_ProductionLine_ID)
          Set Production Line.
 void setM_Transaction_ID(int M_Transaction_ID)
          Set Inventory Transaction.
 void setMovementDate(Timestamp MovementDate)
          Set Movement Date.
 void setMovementQty(BigDecimal MovementQty)
          Set Movement Quantity.
 void setMovementType(String MovementType)
          Set Movement Type.
 void setSearch_InOut_ID(int Search_InOut_ID)
          Set Search Shipment/Receipt.
 void setSearch_Invoice_ID(int Search_Invoice_ID)
          Set Search Invoice.
 void setSearch_Order_ID(int Search_Order_ID)
          Set Search Order.
 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

MOVEMENTTYPE_AD_Reference_ID

public static final int MOVEMENTTYPE_AD_Reference_ID
MovementType AD_Reference_ID=189

See Also:
Constant Field Values

MOVEMENTTYPE_CustomerShipment

public static final String MOVEMENTTYPE_CustomerShipment
Customer Shipment = C-

See Also:
Constant Field Values

MOVEMENTTYPE_CustomerReturns

public static final String MOVEMENTTYPE_CustomerReturns
Customer Returns = C+

See Also:
Constant Field Values

MOVEMENTTYPE_VendorReceipts

public static final String MOVEMENTTYPE_VendorReceipts
Vendor Receipts = V+

See Also:
Constant Field Values

MOVEMENTTYPE_VendorReturns

public static final String MOVEMENTTYPE_VendorReturns
Vendor Returns = V-

See Also:
Constant Field Values

MOVEMENTTYPE_InventoryOut

public static final String MOVEMENTTYPE_InventoryOut
Inventory Out = I-

See Also:
Constant Field Values

MOVEMENTTYPE_InventoryIn

public static final String MOVEMENTTYPE_InventoryIn
Inventory In = I+

See Also:
Constant Field Values

MOVEMENTTYPE_MovementFrom

public static final String MOVEMENTTYPE_MovementFrom
Movement From = M-

See Also:
Constant Field Values

MOVEMENTTYPE_MovementTo

public static final String MOVEMENTTYPE_MovementTo
Movement To = M+

See Also:
Constant Field Values

MOVEMENTTYPE_ProductionPlus

public static final String MOVEMENTTYPE_ProductionPlus
Production + = P+

See Also:
Constant Field Values

MOVEMENTTYPE_Production_

public static final String MOVEMENTTYPE_Production_
Production - = P-

See Also:
Constant Field Values

MOVEMENTTYPE_WorkOrderPlus

public static final String MOVEMENTTYPE_WorkOrderPlus
Work Order + = W+

See Also:
Constant Field Values

MOVEMENTTYPE_WorkOrder_

public static final String MOVEMENTTYPE_WorkOrder_
Work Order - = W-

See Also:
Constant Field Values

SEARCH_INOUT_ID_AD_Reference_ID

public static final int SEARCH_INOUT_ID_AD_Reference_ID
Search_InOut_ID AD_Reference_ID=295

See Also:
Constant Field Values

SEARCH_INVOICE_ID_AD_Reference_ID

public static final int SEARCH_INVOICE_ID_AD_Reference_ID
Search_Invoice_ID AD_Reference_ID=336

See Also:
Constant Field Values

SEARCH_ORDER_ID_AD_Reference_ID

public static final int SEARCH_ORDER_ID_AD_Reference_ID
Search_Order_ID AD_Reference_ID=290

See Also:
Constant Field Values
Constructor Detail

X_T_Transaction

public X_T_Transaction(Properties ctx,
                       int T_Transaction_ID,
                       String trxName)
Standard Constructor


X_T_Transaction

public X_T_Transaction(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:
3 - Client - 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

getAD_PInstance

public I_AD_PInstance getAD_PInstance()
                               throws Exception
Specified by:
getAD_PInstance in interface I_T_Transaction
Throws:
Exception

setAD_PInstance_ID

public void setAD_PInstance_ID(int AD_PInstance_ID)
Set Process Instance.

Specified by:
setAD_PInstance_ID in interface I_T_Transaction
Parameters:
AD_PInstance_ID - Instance of the process

getAD_PInstance_ID

public int getAD_PInstance_ID()
Get Process Instance.

Specified by:
getAD_PInstance_ID in interface I_T_Transaction
Returns:
Instance of the process

getC_Project

public I_C_Project getC_Project()
                         throws Exception
Specified by:
getC_Project in interface I_T_Transaction
Throws:
Exception

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Specified by:
setC_Project_ID in interface I_T_Transaction
Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Specified by:
getC_Project_ID in interface I_T_Transaction
Returns:
Financial Project

getC_ProjectIssue

public I_C_ProjectIssue getC_ProjectIssue()
                                   throws Exception
Specified by:
getC_ProjectIssue in interface I_T_Transaction
Throws:
Exception

setC_ProjectIssue_ID

public void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.

Specified by:
setC_ProjectIssue_ID in interface I_T_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 interface I_T_Transaction
Returns:
Project Issues (Material, Labor)

setM_AttributeSetInstance_ID

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

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

getM_InOut

public I_M_InOut getM_InOut()
                     throws Exception
Specified by:
getM_InOut in interface I_T_Transaction
Throws:
Exception

setM_InOut_ID

public void setM_InOut_ID(int M_InOut_ID)
Set Shipment/Receipt.

Specified by:
setM_InOut_ID in interface I_T_Transaction
Parameters:
M_InOut_ID - Material Shipment Document

getM_InOut_ID

public int getM_InOut_ID()
Get Shipment/Receipt.

Specified by:
getM_InOut_ID in interface I_T_Transaction
Returns:
Material Shipment Document

getM_InOutLine

public I_M_InOutLine getM_InOutLine()
                             throws Exception
Specified by:
getM_InOutLine in interface I_T_Transaction
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_T_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 interface I_T_Transaction
Returns:
Line on Shipment or Receipt document

getM_Inventory

public I_M_Inventory getM_Inventory()
                             throws Exception
Specified by:
getM_Inventory in interface I_T_Transaction
Throws:
Exception

setM_Inventory_ID

public void setM_Inventory_ID(int M_Inventory_ID)
Set Phys.Inventory.

Specified by:
setM_Inventory_ID in interface I_T_Transaction
Parameters:
M_Inventory_ID - Parameters for a Physical Inventory

getM_Inventory_ID

public int getM_Inventory_ID()
Get Phys.Inventory.

Specified by:
getM_Inventory_ID in interface I_T_Transaction
Returns:
Parameters for a Physical Inventory

getM_InventoryLine

public I_M_InventoryLine getM_InventoryLine()
                                     throws Exception
Specified by:
getM_InventoryLine in interface I_T_Transaction
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_T_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 interface I_T_Transaction
Returns:
Unique line in an Inventory document

setM_Locator_ID

public void setM_Locator_ID(int M_Locator_ID)
Set Locator.

Specified by:
setM_Locator_ID in interface I_T_Transaction
Parameters:
M_Locator_ID - Warehouse Locator

getM_Locator_ID

public int getM_Locator_ID()
Get Locator.

Specified by:
getM_Locator_ID in interface I_T_Transaction
Returns:
Warehouse Locator

getM_Movement

public I_M_Movement getM_Movement()
                           throws Exception
Specified by:
getM_Movement in interface I_T_Transaction
Throws:
Exception

setM_Movement_ID

public void setM_Movement_ID(int M_Movement_ID)
Set Inventory Move.

Specified by:
setM_Movement_ID in interface I_T_Transaction
Parameters:
M_Movement_ID - Movement of Inventory

getM_Movement_ID

public int getM_Movement_ID()
Get Inventory Move.

Specified by:
getM_Movement_ID in interface I_T_Transaction
Returns:
Movement of Inventory

getM_MovementLine

public I_M_MovementLine getM_MovementLine()
                                   throws Exception
Specified by:
getM_MovementLine in interface I_T_Transaction
Throws:
Exception

setM_MovementLine_ID

public void setM_MovementLine_ID(int M_MovementLine_ID)
Set Move Line.

Specified by:
setM_MovementLine_ID in interface I_T_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 interface I_T_Transaction
Returns:
Inventory Move document Line

setMovementDate

public void setMovementDate(Timestamp MovementDate)
Set Movement Date.

Specified by:
setMovementDate in interface I_T_Transaction
Parameters:
MovementDate - Date a product was moved in or out of inventory

getMovementDate

public Timestamp getMovementDate()
Get Movement Date.

Specified by:
getMovementDate in interface I_T_Transaction
Returns:
Date a product was moved in or out of inventory

setMovementQty

public void setMovementQty(BigDecimal MovementQty)
Set Movement Quantity.

Specified by:
setMovementQty in interface I_T_Transaction
Parameters:
MovementQty - Quantity of a product moved.

getMovementQty

public BigDecimal getMovementQty()
Get Movement Quantity.

Specified by:
getMovementQty in interface I_T_Transaction
Returns:
Quantity of a product moved.

setMovementType

public void setMovementType(String MovementType)
Set Movement Type.

Specified by:
setMovementType in interface I_T_Transaction
Parameters:
MovementType - Method of moving the inventory

getMovementType

public String getMovementType()
Get Movement Type.

Specified by:
getMovementType in interface I_T_Transaction
Returns:
Method of moving the inventory

getM_Product

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

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

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

getM_Production

public I_M_Production getM_Production()
                               throws Exception
Specified by:
getM_Production in interface I_T_Transaction
Throws:
Exception

setM_Production_ID

public void setM_Production_ID(int M_Production_ID)
Set Production.

Specified by:
setM_Production_ID in interface I_T_Transaction
Parameters:
M_Production_ID - Plan for producing a product

getM_Production_ID

public int getM_Production_ID()
Get Production.

Specified by:
getM_Production_ID in interface I_T_Transaction
Returns:
Plan for producing a product

getM_ProductionLine

public I_M_ProductionLine getM_ProductionLine()
                                       throws Exception
Specified by:
getM_ProductionLine in interface I_T_Transaction
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_T_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 interface I_T_Transaction
Returns:
Document Line representing a production

getM_Transaction

public I_M_Transaction getM_Transaction()
                                 throws Exception
Specified by:
getM_Transaction in interface I_T_Transaction
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_T_Transaction
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_T_Transaction
Returns:
Inventory Transaction

setSearch_InOut_ID

public void setSearch_InOut_ID(int Search_InOut_ID)
Set Search Shipment/Receipt.

Specified by:
setSearch_InOut_ID in interface I_T_Transaction
Parameters:
Search_InOut_ID - Material Shipment Document

getSearch_InOut_ID

public int getSearch_InOut_ID()
Get Search Shipment/Receipt.

Specified by:
getSearch_InOut_ID in interface I_T_Transaction
Returns:
Material Shipment Document

setSearch_Invoice_ID

public void setSearch_Invoice_ID(int Search_Invoice_ID)
Set Search Invoice.

Specified by:
setSearch_Invoice_ID in interface I_T_Transaction
Parameters:
Search_Invoice_ID - Search Invoice Identifier

getSearch_Invoice_ID

public int getSearch_Invoice_ID()
Get Search Invoice.

Specified by:
getSearch_Invoice_ID in interface I_T_Transaction
Returns:
Search Invoice Identifier

setSearch_Order_ID

public void setSearch_Order_ID(int Search_Order_ID)
Set Search Order.

Specified by:
setSearch_Order_ID in interface I_T_Transaction
Parameters:
Search_Order_ID - Order Identifier

getSearch_Order_ID

public int getSearch_Order_ID()
Get Search Order.

Specified by:
getSearch_Order_ID in interface I_T_Transaction
Returns:
Order Identifier

Adempiere 3.5.2a

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