Compiere 3.1

org.compiere.model
Class X_M_CostDetail

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_M_CostDetail
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MCostDetail

public class X_M_CostDetail
extends PO

Generated Model for M_CostDetail

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 Table_ID
          AD_Table_ID=808
static String Table_Name
          TableName=M_CostDetail
static long updatedMS
          Last Updated Timestamp 2008-07-07 11:45:30.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_M_CostDetail(Ctx ctx, int M_CostDetail_ID, String trxName)
          Standard Constructor
X_M_CostDetail(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 BigDecimal getAmt()
          Get Amount.
 int getC_AcctSchema_ID()
          Get Accounting Schema.
 int getC_InvoiceLine_ID()
          Get Invoice Line.
 int getC_OrderLine_ID()
          Get Order Line.
 int getC_ProjectIssue_ID()
          Get Project Issue.
 BigDecimal getDeltaAmt()
          Get Delta Amount.
 BigDecimal getDeltaQty()
          Get Delta Quantity.
 String getDescription()
          Get Description.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_CostDetail_ID()
          Get Cost Detail.
 int getM_CostElement_ID()
          Get Cost Element.
 int getM_InOutLine_ID()
          Get Shipment/Receipt Line.
 int getM_InventoryLine_ID()
          Get Phys Inventory Line.
 int getM_MovementLine_ID()
          Get Move Line.
 int getM_Product_ID()
          Get Product.
 int getM_ProductionLine_ID()
          Get Production Line.
 int getM_WorkOrderTransactionLine_ID()
          Get Work Order Transaction Line.
 BigDecimal getPrice()
          Get Price.
 BigDecimal getQty()
          Get Quantity.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isProcessed()
          Get Processed.
 boolean isSOTrx()
          Get Sales Transaction.
 void setAmt(BigDecimal Amt)
          Set Amount.
 void setC_AcctSchema_ID(int C_AcctSchema_ID)
          Set Accounting Schema.
 void setC_InvoiceLine_ID(int C_InvoiceLine_ID)
          Set Invoice Line.
 void setC_OrderLine_ID(int C_OrderLine_ID)
          Set Order Line.
 void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
          Set Project Issue.
 void setDeltaAmt(BigDecimal DeltaAmt)
          Set Delta Amount.
 void setDeltaQty(BigDecimal DeltaQty)
          Set Delta Quantity.
 void setDescription(String Description)
          Set Description.
 void setIsSOTrx(boolean IsSOTrx)
          Set Sales Transaction.
 void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
          Set Attribute Set Instance.
 void setM_CostDetail_ID(int M_CostDetail_ID)
          Set Cost Detail.
 void setM_CostElement_ID(int M_CostElement_ID)
          Set Cost Element.
 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_MovementLine_ID(int M_MovementLine_ID)
          Set Move Line.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setM_ProductionLine_ID(int M_ProductionLine_ID)
          Set Production Line.
 void setM_WorkOrderTransactionLine_ID(int M_WorkOrderTransactionLine_ID)
          Set Work Order Transaction Line.
 void setPrice(BigDecimal Price)
          Set Price.
 void setProcessed(boolean Processed)
          Set Processed.
 void setQty(BigDecimal Qty)
          Set Quantity.
 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-07-07 11:45:30.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=808

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=M_CostDetail

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel
Constructor Detail

X_M_CostDetail

public X_M_CostDetail(Ctx ctx,
                      int M_CostDetail_ID,
                      String trxName)
Standard Constructor

Parameters:
ctx - context
M_CostDetail_ID - id
trxName - transaction

X_M_CostDetail

public X_M_CostDetail(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

setAmt

public void setAmt(BigDecimal Amt)
Set Amount.

Parameters:
Amt - Amount

getAmt

public BigDecimal getAmt()
Get Amount.

Returns:
Amount

setC_AcctSchema_ID

public void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.

Parameters:
C_AcctSchema_ID - Rules for accounting

getC_AcctSchema_ID

public int getC_AcctSchema_ID()
Get Accounting Schema.

Returns:
Rules for accounting

setC_InvoiceLine_ID

public void setC_InvoiceLine_ID(int C_InvoiceLine_ID)
Set Invoice Line.

Parameters:
C_InvoiceLine_ID - Invoice Detail Line

getC_InvoiceLine_ID

public int getC_InvoiceLine_ID()
Get Invoice Line.

Returns:
Invoice Detail Line

setC_OrderLine_ID

public void setC_OrderLine_ID(int C_OrderLine_ID)
Set Order Line.

Parameters:
C_OrderLine_ID - Order Line

getC_OrderLine_ID

public int getC_OrderLine_ID()
Get Order Line.

Returns:
Order Line

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)

setDeltaAmt

public void setDeltaAmt(BigDecimal DeltaAmt)
Set Delta Amount.

Parameters:
DeltaAmt - Difference Amount

getDeltaAmt

public BigDecimal getDeltaAmt()
Get Delta Amount.

Returns:
Difference Amount

setDeltaQty

public void setDeltaQty(BigDecimal DeltaQty)
Set Delta Quantity.

Parameters:
DeltaQty - Quantity Difference

getDeltaQty

public BigDecimal getDeltaQty()
Get Delta Quantity.

Returns:
Quantity Difference

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setIsSOTrx

public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.

Parameters:
IsSOTrx - This is a Sales Transaction

isSOTrx

public boolean isSOTrx()
Get Sales Transaction.

Returns:
This is a Sales Transaction

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_CostDetail_ID

public void setM_CostDetail_ID(int M_CostDetail_ID)
Set Cost Detail.

Parameters:
M_CostDetail_ID - Cost Detail Information

getM_CostDetail_ID

public int getM_CostDetail_ID()
Get Cost Detail.

Returns:
Cost Detail Information

setM_CostElement_ID

public void setM_CostElement_ID(int M_CostElement_ID)
Set Cost Element.

Parameters:
M_CostElement_ID - Product Cost Element

getM_CostElement_ID

public int getM_CostElement_ID()
Get Cost Element.

Returns:
Product Cost Element

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_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_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_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_WorkOrderTransactionLine_ID

public void setM_WorkOrderTransactionLine_ID(int M_WorkOrderTransactionLine_ID)
Set Work Order Transaction Line.

Parameters:
M_WorkOrderTransactionLine_ID - Work Order Transaction Line

getM_WorkOrderTransactionLine_ID

public int getM_WorkOrderTransactionLine_ID()
Get Work Order Transaction Line.

Returns:
Work Order Transaction Line

setPrice

public void setPrice(BigDecimal Price)
Set Price.

Parameters:
Price - Price

getPrice

public BigDecimal getPrice()
Get Price.

Returns:
Price

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Returns:
The document has been processed

setQty

public void setQty(BigDecimal Qty)
Set Quantity.

Parameters:
Qty - Quantity

getQty

public BigDecimal getQty()
Get Quantity.

Returns:
Quantity

Compiere 3.1

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