Adempiere 3.5.2a

org.compiere.model
Class X_M_Product_Acct

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

public class X_M_Product_Acct
extends PO
implements I_M_Product_Acct, I_Persistent

Generated Model for M_Product_Acct

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_Product_Acct
accessLevel, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_P_Asset_Acct, COLUMNNAME_P_COGS_Acct, COLUMNNAME_P_CostAdjustment_Acct, COLUMNNAME_P_Expense_Acct, COLUMNNAME_P_InventoryClearing_Acct, COLUMNNAME_P_InvoicePriceVariance_Acct, COLUMNNAME_P_PurchasePriceVariance_Acct, COLUMNNAME_P_Revenue_Acct, COLUMNNAME_P_TradeDiscountGrant_Acct, COLUMNNAME_P_TradeDiscountRec_Acct, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_Product_Acct(Properties ctx, int M_Product_Acct_ID, String trxName)
          Standard Constructor
X_M_Product_Acct(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_AcctSchema_ID()
          Get Accounting Schema.
 I_C_AcctSchema getC_AcctSchema()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 int getP_Asset_Acct()
          Get Product Asset.
 int getP_COGS_Acct()
          Get Product COGS.
 int getP_CostAdjustment_Acct()
          Get Cost Adjustment.
 int getP_Expense_Acct()
          Get Product Expense.
 int getP_InventoryClearing_Acct()
          Get Inventory Clearing.
 int getP_InvoicePriceVariance_Acct()
          Get Invoice Price Variance.
 int getP_PurchasePriceVariance_Acct()
          Get Purchase Price Variance.
 int getP_Revenue_Acct()
          Get Product Revenue.
 int getP_TradeDiscountGrant_Acct()
          Get Trade Discount Granted.
 int getP_TradeDiscountRec_Acct()
          Get Trade Discount Received.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setC_AcctSchema_ID(int C_AcctSchema_ID)
          Set Accounting Schema.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setP_Asset_Acct(int P_Asset_Acct)
          Set Product Asset.
 void setP_COGS_Acct(int P_COGS_Acct)
          Set Product COGS.
 void setP_CostAdjustment_Acct(int P_CostAdjustment_Acct)
          Set Cost Adjustment.
 void setP_Expense_Acct(int P_Expense_Acct)
          Set Product Expense.
 void setP_InventoryClearing_Acct(int P_InventoryClearing_Acct)
          Set Inventory Clearing.
 void setP_InvoicePriceVariance_Acct(int P_InvoicePriceVariance_Acct)
          Set Invoice Price Variance.
 void setP_PurchasePriceVariance_Acct(int P_PurchasePriceVariance_Acct)
          Set Purchase Price Variance.
 void setP_Revenue_Acct(int P_Revenue_Acct)
          Set Product Revenue.
 void setP_TradeDiscountGrant_Acct(int P_TradeDiscountGrant_Acct)
          Set Trade Discount Granted.
 void setP_TradeDiscountRec_Acct(int P_TradeDiscountRec_Acct)
          Set Trade Discount Received.
 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_Product_Acct

public X_M_Product_Acct(Properties ctx,
                        int M_Product_Acct_ID,
                        String trxName)
Standard Constructor


X_M_Product_Acct

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

getC_AcctSchema

public I_C_AcctSchema getC_AcctSchema()
                               throws Exception
Specified by:
getC_AcctSchema in interface I_M_Product_Acct
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_Product_Acct
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_Product_Acct
Returns:
Rules for accounting

getM_Product

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

setP_Asset_Acct

public void setP_Asset_Acct(int P_Asset_Acct)
Set Product Asset.

Specified by:
setP_Asset_Acct in interface I_M_Product_Acct
Parameters:
P_Asset_Acct - Account for Product Asset (Inventory)

getP_Asset_Acct

public int getP_Asset_Acct()
Get Product Asset.

Specified by:
getP_Asset_Acct in interface I_M_Product_Acct
Returns:
Account for Product Asset (Inventory)

setP_COGS_Acct

public void setP_COGS_Acct(int P_COGS_Acct)
Set Product COGS.

Specified by:
setP_COGS_Acct in interface I_M_Product_Acct
Parameters:
P_COGS_Acct - Account for Cost of Goods Sold

getP_COGS_Acct

public int getP_COGS_Acct()
Get Product COGS.

Specified by:
getP_COGS_Acct in interface I_M_Product_Acct
Returns:
Account for Cost of Goods Sold

setP_CostAdjustment_Acct

public void setP_CostAdjustment_Acct(int P_CostAdjustment_Acct)
Set Cost Adjustment.

Specified by:
setP_CostAdjustment_Acct in interface I_M_Product_Acct
Parameters:
P_CostAdjustment_Acct - Product Cost Adjustment Account

getP_CostAdjustment_Acct

public int getP_CostAdjustment_Acct()
Get Cost Adjustment.

Specified by:
getP_CostAdjustment_Acct in interface I_M_Product_Acct
Returns:
Product Cost Adjustment Account

setP_Expense_Acct

public void setP_Expense_Acct(int P_Expense_Acct)
Set Product Expense.

Specified by:
setP_Expense_Acct in interface I_M_Product_Acct
Parameters:
P_Expense_Acct - Account for Product Expense

getP_Expense_Acct

public int getP_Expense_Acct()
Get Product Expense.

Specified by:
getP_Expense_Acct in interface I_M_Product_Acct
Returns:
Account for Product Expense

setP_InventoryClearing_Acct

public void setP_InventoryClearing_Acct(int P_InventoryClearing_Acct)
Set Inventory Clearing.

Specified by:
setP_InventoryClearing_Acct in interface I_M_Product_Acct
Parameters:
P_InventoryClearing_Acct - Product Inventory Clearing Account

getP_InventoryClearing_Acct

public int getP_InventoryClearing_Acct()
Get Inventory Clearing.

Specified by:
getP_InventoryClearing_Acct in interface I_M_Product_Acct
Returns:
Product Inventory Clearing Account

setP_InvoicePriceVariance_Acct

public void setP_InvoicePriceVariance_Acct(int P_InvoicePriceVariance_Acct)
Set Invoice Price Variance.

Specified by:
setP_InvoicePriceVariance_Acct in interface I_M_Product_Acct
Parameters:
P_InvoicePriceVariance_Acct - Difference between Costs and Invoice Price (IPV)

getP_InvoicePriceVariance_Acct

public int getP_InvoicePriceVariance_Acct()
Get Invoice Price Variance.

Specified by:
getP_InvoicePriceVariance_Acct in interface I_M_Product_Acct
Returns:
Difference between Costs and Invoice Price (IPV)

setP_PurchasePriceVariance_Acct

public void setP_PurchasePriceVariance_Acct(int P_PurchasePriceVariance_Acct)
Set Purchase Price Variance.

Specified by:
setP_PurchasePriceVariance_Acct in interface I_M_Product_Acct
Parameters:
P_PurchasePriceVariance_Acct - Difference between Standard Cost and Purchase Price (PPV)

getP_PurchasePriceVariance_Acct

public int getP_PurchasePriceVariance_Acct()
Get Purchase Price Variance.

Specified by:
getP_PurchasePriceVariance_Acct in interface I_M_Product_Acct
Returns:
Difference between Standard Cost and Purchase Price (PPV)

setP_Revenue_Acct

public void setP_Revenue_Acct(int P_Revenue_Acct)
Set Product Revenue.

Specified by:
setP_Revenue_Acct in interface I_M_Product_Acct
Parameters:
P_Revenue_Acct - Account for Product Revenue (Sales Account)

getP_Revenue_Acct

public int getP_Revenue_Acct()
Get Product Revenue.

Specified by:
getP_Revenue_Acct in interface I_M_Product_Acct
Returns:
Account for Product Revenue (Sales Account)

setP_TradeDiscountGrant_Acct

public void setP_TradeDiscountGrant_Acct(int P_TradeDiscountGrant_Acct)
Set Trade Discount Granted.

Specified by:
setP_TradeDiscountGrant_Acct in interface I_M_Product_Acct
Parameters:
P_TradeDiscountGrant_Acct - Trade Discount Granted Account

getP_TradeDiscountGrant_Acct

public int getP_TradeDiscountGrant_Acct()
Get Trade Discount Granted.

Specified by:
getP_TradeDiscountGrant_Acct in interface I_M_Product_Acct
Returns:
Trade Discount Granted Account

setP_TradeDiscountRec_Acct

public void setP_TradeDiscountRec_Acct(int P_TradeDiscountRec_Acct)
Set Trade Discount Received.

Specified by:
setP_TradeDiscountRec_Acct in interface I_M_Product_Acct
Parameters:
P_TradeDiscountRec_Acct - Trade Discount Receivable Account

getP_TradeDiscountRec_Acct

public int getP_TradeDiscountRec_Acct()
Get Trade Discount Received.

Specified by:
getP_TradeDiscountRec_Acct in interface I_M_Product_Acct
Returns:
Trade Discount Receivable Account

Adempiere 3.5.2a

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