Compiere 3.1

org.compiere.model
Class X_T_Transaction

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_T_Transaction
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee

public class X_T_Transaction
extends PO

Generated Model for T_Transaction

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
protected static KeyNamePair Model
           
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=337
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
static int Table_ID
          AD_Table_ID=758
static String Table_Name
          TableName=T_Transaction
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_T_Transaction(Ctx ctx, int T_Transaction_ID, String trxName)
          Standard Constructor
X_T_Transaction(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_PInstance_ID()
          Get Process Instance.
 int getC_Project_ID()
          Get Project.
 int getC_ProjectIssue_ID()
          Get Project Issue.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_InOut_ID()
          Get Shipment/Receipt.
 int getM_InOutLine_ID()
          Get Shipment/Receipt Line.
 int getM_Inventory_ID()
          Get Phys.Inventory.
 int getM_InventoryLine_ID()
          Get Phys Inventory Line.
 int getM_Locator_ID()
          Get Locator.
 int getM_Movement_ID()
          Get Inventory Move.
 int getM_MovementLine_ID()
          Get Move Line.
 int getM_Product_ID()
          Get Product.
 int getM_Production_ID()
          Get Production.
 int getM_ProductionLine_ID()
          Get Production Line.
 int getM_Transaction_ID()
          Get Inventory 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(Ctx ctx)
          Load Meta Data
 boolean isMovementTypeValid(String test)
          Is test a valid value.
 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()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=758

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=T_Transaction

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

MOVEMENTTYPE_AD_Reference_ID

public static final int MOVEMENTTYPE_AD_Reference_ID
MovementType AD_Reference_ID=189

See Also:
Constant Field Values

MOVEMENTTYPE_CustomerReturns

public static final String MOVEMENTTYPE_CustomerReturns
Customer Returns = C+

See Also:
Constant Field Values

MOVEMENTTYPE_CustomerShipment

public static final String MOVEMENTTYPE_CustomerShipment
Customer Shipment = C-

See Also:
Constant Field Values

MOVEMENTTYPE_InventoryIn

public static final String MOVEMENTTYPE_InventoryIn
Inventory In = I+

See Also:
Constant Field Values

MOVEMENTTYPE_InventoryOut

public static final String MOVEMENTTYPE_InventoryOut
Inventory Out = I-

See Also:
Constant Field Values

MOVEMENTTYPE_MovementTo

public static final String MOVEMENTTYPE_MovementTo
Movement To = M+

See Also:
Constant Field Values

MOVEMENTTYPE_MovementFrom

public static final String MOVEMENTTYPE_MovementFrom
Movement From = 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_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_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=337

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(Ctx ctx,
                       int T_Transaction_ID,
                       String trxName)
Standard Constructor

Parameters:
ctx - context
T_Transaction_ID - id
trxName - transaction

X_T_Transaction

public X_T_Transaction(Ctx ctx,
                       ResultSet rs,
                       String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

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

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_PInstance_ID

public void setAD_PInstance_ID(int AD_PInstance_ID)
Set Process Instance.

Parameters:
AD_PInstance_ID - Instance of the process

getAD_PInstance_ID

public int getAD_PInstance_ID()
Get Process Instance.

Returns:
Instance of the process

setC_ProjectIssue_ID

public void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.

Parameters:
C_ProjectIssue_ID - Project Issues (Material, Labor)

getC_ProjectIssue_ID

public int getC_ProjectIssue_ID()
Get Project Issue.

Returns:
Project Issues (Material, Labor)

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Returns:
Financial Project

setM_AttributeSetInstance_ID

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

Parameters:
M_AttributeSetInstance_ID - Product Attribute Set Instance

getM_AttributeSetInstance_ID

public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.

Returns:
Product Attribute Set Instance

setM_InOutLine_ID

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

Parameters:
M_InOutLine_ID - Line on Shipment or Receipt document

getM_InOutLine_ID

public int getM_InOutLine_ID()
Get Shipment/Receipt Line.

Returns:
Line on Shipment or Receipt document

setM_InOut_ID

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

Parameters:
M_InOut_ID - Material Shipment Document

getM_InOut_ID

public int getM_InOut_ID()
Get Shipment/Receipt.

Returns:
Material Shipment Document

setM_InventoryLine_ID

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

Parameters:
M_InventoryLine_ID - Unique line in an Inventory document

getM_InventoryLine_ID

public int getM_InventoryLine_ID()
Get Phys Inventory Line.

Returns:
Unique line in an Inventory document

setM_Inventory_ID

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

Parameters:
M_Inventory_ID - Parameters for a Physical Inventory

getM_Inventory_ID

public int getM_Inventory_ID()
Get Phys.Inventory.

Returns:
Parameters for a Physical Inventory

setM_Locator_ID

public void setM_Locator_ID(int M_Locator_ID)
Set Locator.

Parameters:
M_Locator_ID - Warehouse Locator

getM_Locator_ID

public int getM_Locator_ID()
Get Locator.

Returns:
Warehouse Locator

setM_MovementLine_ID

public void setM_MovementLine_ID(int M_MovementLine_ID)
Set Move Line.

Parameters:
M_MovementLine_ID - Inventory Move document Line

getM_MovementLine_ID

public int getM_MovementLine_ID()
Get Move Line.

Returns:
Inventory Move document Line

setM_Movement_ID

public void setM_Movement_ID(int M_Movement_ID)
Set Inventory Move.

Parameters:
M_Movement_ID - Movement of Inventory

getM_Movement_ID

public int getM_Movement_ID()
Get Inventory Move.

Returns:
Movement of Inventory

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Returns:
Product, Service, Item

setM_ProductionLine_ID

public void setM_ProductionLine_ID(int M_ProductionLine_ID)
Set Production Line.

Parameters:
M_ProductionLine_ID - Document Line representing a production

getM_ProductionLine_ID

public int getM_ProductionLine_ID()
Get Production Line.

Returns:
Document Line representing a production

setM_Production_ID

public void setM_Production_ID(int M_Production_ID)
Set Production.

Parameters:
M_Production_ID - Plan for producing a product

getM_Production_ID

public int getM_Production_ID()
Get Production.

Returns:
Plan for producing a product

setM_Transaction_ID

public void setM_Transaction_ID(int M_Transaction_ID)
Set Inventory Transaction.

Parameters:
M_Transaction_ID - Inventory Transaction

getM_Transaction_ID

public int getM_Transaction_ID()
Get Inventory Transaction.

Returns:
Inventory Transaction

setMovementDate

public void setMovementDate(Timestamp MovementDate)
Set Movement Date.

Parameters:
MovementDate - Date a product was moved in or out of inventory

getMovementDate

public Timestamp getMovementDate()
Get Movement Date.

Returns:
Date a product was moved in or out of inventory

setMovementQty

public void setMovementQty(BigDecimal MovementQty)
Set Movement Quantity.

Parameters:
MovementQty - Quantity of a product moved.

getMovementQty

public BigDecimal getMovementQty()
Get Movement Quantity.

Returns:
Quantity of a product moved.

isMovementTypeValid

public boolean isMovementTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setMovementType

public void setMovementType(String MovementType)
Set Movement Type.

Parameters:
MovementType - Method of moving the inventory

getMovementType

public String getMovementType()
Get Movement Type.

Returns:
Method of moving the inventory

setSearch_InOut_ID

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

Parameters:
Search_InOut_ID - Material Shipment Document

getSearch_InOut_ID

public int getSearch_InOut_ID()
Get Search Shipment/Receipt.

Returns:
Material Shipment Document

setSearch_Invoice_ID

public void setSearch_Invoice_ID(int Search_Invoice_ID)
Set Search Invoice.

Parameters:
Search_Invoice_ID - Search Invoice Identifier

getSearch_Invoice_ID

public int getSearch_Invoice_ID()
Get Search Invoice.

Returns:
Search Invoice Identifier

setSearch_Order_ID

public void setSearch_Order_ID(int Search_Order_ID)
Set Search Order.

Parameters:
Search_Order_ID - Order Identifier

getSearch_Order_ID

public int getSearch_Order_ID()
Get Search Order.

Returns:
Order Identifier

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.