Adempiere 3.5.2a

org.compiere.model
Class X_M_CostDetail

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_CostDetail
All Implemented Interfaces:
Serializable, Comparator, I_M_CostDetail, I_Persistent, Evaluatee
Direct Known Subclasses:
MCostDetail

public class X_M_CostDetail
extends PO
implements I_M_CostDetail, I_Persistent

Generated Model for M_CostDetail

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

Field Summary
 
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_CostDetail
accessLevel, COLUMNNAME_Amt, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_C_InvoiceLine_ID, COLUMNNAME_C_OrderLine_ID, COLUMNNAME_C_ProjectIssue_ID, COLUMNNAME_DeltaAmt, COLUMNNAME_DeltaQty, COLUMNNAME_Description, COLUMNNAME_IsSOTrx, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_CostDetail_ID, COLUMNNAME_M_CostElement_ID, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_InventoryLine_ID, COLUMNNAME_M_MovementLine_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_ProductionLine_ID, COLUMNNAME_Price, COLUMNNAME_Processed, COLUMNNAME_Qty, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_CostDetail(Properties ctx, int M_CostDetail_ID, String trxName)
          Standard Constructor
X_M_CostDetail(Properties 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.
 I_C_AcctSchema getC_AcctSchema()
           
 int getC_InvoiceLine_ID()
          Get Invoice Line.
 I_C_InvoiceLine getC_InvoiceLine()
           
 int getC_OrderLine_ID()
          Get Sales Order Line.
 I_C_OrderLine getC_OrderLine()
           
 int getC_ProjectIssue_ID()
          Get Project Issue.
 I_C_ProjectIssue getC_ProjectIssue()
           
 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.
 I_M_CostElement getM_CostElement()
           
 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_MovementLine_ID()
          Get Move Line.
 I_M_MovementLine getM_MovementLine()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 int getM_ProductionLine_ID()
          Get Production Line.
 I_M_ProductionLine getM_ProductionLine()
           
 BigDecimal getPrice()
          Get Price.
 BigDecimal getQty()
          Get Quantity.
protected  POInfo initPO(Properties 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 Sales 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 setPrice(BigDecimal Price)
          Set Price.
 void setProcessed(boolean Processed)
          Set Processed.
 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
 

Constructor Detail

X_M_CostDetail

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


X_M_CostDetail

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

setAmt

public void setAmt(BigDecimal Amt)
Set Amount.

Specified by:
setAmt in interface I_M_CostDetail
Parameters:
Amt - Amount

getAmt

public BigDecimal getAmt()
Get Amount.

Specified by:
getAmt in interface I_M_CostDetail
Returns:
Amount

getC_AcctSchema

public I_C_AcctSchema getC_AcctSchema()
                               throws Exception
Specified by:
getC_AcctSchema in interface I_M_CostDetail
Throws:
Exception

setC_AcctSchema_ID

public void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.

Specified by:
setC_AcctSchema_ID in interface I_M_CostDetail
Parameters:
C_AcctSchema_ID - Rules for accounting

getC_AcctSchema_ID

public int getC_AcctSchema_ID()
Get Accounting Schema.

Specified by:
getC_AcctSchema_ID in interface I_M_CostDetail
Returns:
Rules for accounting

getC_InvoiceLine

public I_C_InvoiceLine getC_InvoiceLine()
                                 throws Exception
Specified by:
getC_InvoiceLine in interface I_M_CostDetail
Throws:
Exception

setC_InvoiceLine_ID

public void setC_InvoiceLine_ID(int C_InvoiceLine_ID)
Set Invoice Line.

Specified by:
setC_InvoiceLine_ID in interface I_M_CostDetail
Parameters:
C_InvoiceLine_ID - Invoice Detail Line

getC_InvoiceLine_ID

public int getC_InvoiceLine_ID()
Get Invoice Line.

Specified by:
getC_InvoiceLine_ID in interface I_M_CostDetail
Returns:
Invoice Detail Line

getC_OrderLine

public I_C_OrderLine getC_OrderLine()
                             throws Exception
Specified by:
getC_OrderLine in interface I_M_CostDetail
Throws:
Exception

setC_OrderLine_ID

public void setC_OrderLine_ID(int C_OrderLine_ID)
Set Sales Order Line.

Specified by:
setC_OrderLine_ID in interface I_M_CostDetail
Parameters:
C_OrderLine_ID - Sales Order Line

getC_OrderLine_ID

public int getC_OrderLine_ID()
Get Sales Order Line.

Specified by:
getC_OrderLine_ID in interface I_M_CostDetail
Returns:
Sales Order Line

getC_ProjectIssue

public I_C_ProjectIssue getC_ProjectIssue()
                                   throws Exception
Specified by:
getC_ProjectIssue in interface I_M_CostDetail
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_M_CostDetail
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_M_CostDetail
Returns:
Project Issues (Material, Labor)

setDeltaAmt

public void setDeltaAmt(BigDecimal DeltaAmt)
Set Delta Amount.

Specified by:
setDeltaAmt in interface I_M_CostDetail
Parameters:
DeltaAmt - Difference Amount

getDeltaAmt

public BigDecimal getDeltaAmt()
Get Delta Amount.

Specified by:
getDeltaAmt in interface I_M_CostDetail
Returns:
Difference Amount

setDeltaQty

public void setDeltaQty(BigDecimal DeltaQty)
Set Delta Quantity.

Specified by:
setDeltaQty in interface I_M_CostDetail
Parameters:
DeltaQty - Quantity Difference

getDeltaQty

public BigDecimal getDeltaQty()
Get Delta Quantity.

Specified by:
getDeltaQty in interface I_M_CostDetail
Returns:
Quantity Difference

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_M_CostDetail
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_M_CostDetail
Returns:
Optional short description of the record

setIsSOTrx

public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.

Specified by:
setIsSOTrx in interface I_M_CostDetail
Parameters:
IsSOTrx - This is a Sales Transaction

isSOTrx

public boolean isSOTrx()
Get Sales Transaction.

Specified by:
isSOTrx in interface I_M_CostDetail
Returns:
This is a Sales Transaction

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_CostDetail
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_CostDetail
Returns:
Product Attribute Set Instance

setM_CostDetail_ID

public void setM_CostDetail_ID(int M_CostDetail_ID)
Set Cost Detail.

Specified by:
setM_CostDetail_ID in interface I_M_CostDetail
Parameters:
M_CostDetail_ID - Cost Detail Information

getM_CostDetail_ID

public int getM_CostDetail_ID()
Get Cost Detail.

Specified by:
getM_CostDetail_ID in interface I_M_CostDetail
Returns:
Cost Detail Information

getM_CostElement

public I_M_CostElement getM_CostElement()
                                 throws Exception
Specified by:
getM_CostElement in interface I_M_CostDetail
Throws:
Exception

setM_CostElement_ID

public void setM_CostElement_ID(int M_CostElement_ID)
Set Cost Element.

Specified by:
setM_CostElement_ID in interface I_M_CostDetail
Parameters:
M_CostElement_ID - Product Cost Element

getM_CostElement_ID

public int getM_CostElement_ID()
Get Cost Element.

Specified by:
getM_CostElement_ID in interface I_M_CostDetail
Returns:
Product Cost Element

getM_InOutLine

public I_M_InOutLine getM_InOutLine()
                             throws Exception
Specified by:
getM_InOutLine in interface I_M_CostDetail
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_CostDetail
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_CostDetail
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_CostDetail
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_CostDetail
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_CostDetail
Returns:
Unique line in an Inventory document

getM_MovementLine

public I_M_MovementLine getM_MovementLine()
                                   throws Exception
Specified by:
getM_MovementLine in interface I_M_CostDetail
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_M_CostDetail
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_M_CostDetail
Returns:
Inventory Move document Line

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_M_CostDetail
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_CostDetail
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_CostDetail
Returns:
Product, Service, Item

getM_ProductionLine

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

setPrice

public void setPrice(BigDecimal Price)
Set Price.

Specified by:
setPrice in interface I_M_CostDetail
Parameters:
Price - Price

getPrice

public BigDecimal getPrice()
Get Price.

Specified by:
getPrice in interface I_M_CostDetail
Returns:
Price

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Specified by:
setProcessed in interface I_M_CostDetail
Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Specified by:
isProcessed in interface I_M_CostDetail
Returns:
The document has been processed

setQty

public void setQty(BigDecimal Qty)
Set Quantity.

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

getQty

public BigDecimal getQty()
Get Quantity.

Specified by:
getQty in interface I_M_CostDetail
Returns:
Quantity

Adempiere 3.5.2a

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