|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_M_Product_Acct
public class X_M_Product_Acct
Generated Model for M_Product_Acct
| 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 |
| 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 java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public X_M_Product_Acct(Properties ctx,
int M_Product_Acct_ID,
String trxName)
public X_M_Product_Acct(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class PO
public I_C_AcctSchema getC_AcctSchema()
throws Exception
getC_AcctSchema in interface I_M_Product_AcctExceptionpublic void setC_AcctSchema_ID(int C_AcctSchema_ID)
setC_AcctSchema_ID in interface I_M_Product_AcctC_AcctSchema_ID - Rules for accountingpublic int getC_AcctSchema_ID()
getC_AcctSchema_ID in interface I_M_Product_Acct
public I_M_Product getM_Product()
throws Exception
getM_Product in interface I_M_Product_AcctExceptionpublic void setM_Product_ID(int M_Product_ID)
setM_Product_ID in interface I_M_Product_AcctM_Product_ID - Product, Service, Itempublic int getM_Product_ID()
getM_Product_ID in interface I_M_Product_Acctpublic void setP_Asset_Acct(int P_Asset_Acct)
setP_Asset_Acct in interface I_M_Product_AcctP_Asset_Acct - Account for Product Asset (Inventory)public int getP_Asset_Acct()
getP_Asset_Acct in interface I_M_Product_Acctpublic void setP_COGS_Acct(int P_COGS_Acct)
setP_COGS_Acct in interface I_M_Product_AcctP_COGS_Acct - Account for Cost of Goods Soldpublic int getP_COGS_Acct()
getP_COGS_Acct in interface I_M_Product_Acctpublic void setP_CostAdjustment_Acct(int P_CostAdjustment_Acct)
setP_CostAdjustment_Acct in interface I_M_Product_AcctP_CostAdjustment_Acct - Product Cost Adjustment Accountpublic int getP_CostAdjustment_Acct()
getP_CostAdjustment_Acct in interface I_M_Product_Acctpublic void setP_Expense_Acct(int P_Expense_Acct)
setP_Expense_Acct in interface I_M_Product_AcctP_Expense_Acct - Account for Product Expensepublic int getP_Expense_Acct()
getP_Expense_Acct in interface I_M_Product_Acctpublic void setP_InventoryClearing_Acct(int P_InventoryClearing_Acct)
setP_InventoryClearing_Acct in interface I_M_Product_AcctP_InventoryClearing_Acct - Product Inventory Clearing Accountpublic int getP_InventoryClearing_Acct()
getP_InventoryClearing_Acct in interface I_M_Product_Acctpublic void setP_InvoicePriceVariance_Acct(int P_InvoicePriceVariance_Acct)
setP_InvoicePriceVariance_Acct in interface I_M_Product_AcctP_InvoicePriceVariance_Acct - Difference between Costs and Invoice Price (IPV)public int getP_InvoicePriceVariance_Acct()
getP_InvoicePriceVariance_Acct in interface I_M_Product_Acctpublic void setP_PurchasePriceVariance_Acct(int P_PurchasePriceVariance_Acct)
setP_PurchasePriceVariance_Acct in interface I_M_Product_AcctP_PurchasePriceVariance_Acct - Difference between Standard Cost and Purchase Price (PPV)public int getP_PurchasePriceVariance_Acct()
getP_PurchasePriceVariance_Acct in interface I_M_Product_Acctpublic void setP_Revenue_Acct(int P_Revenue_Acct)
setP_Revenue_Acct in interface I_M_Product_AcctP_Revenue_Acct - Account for Product Revenue (Sales Account)public int getP_Revenue_Acct()
getP_Revenue_Acct in interface I_M_Product_Acctpublic void setP_TradeDiscountGrant_Acct(int P_TradeDiscountGrant_Acct)
setP_TradeDiscountGrant_Acct in interface I_M_Product_AcctP_TradeDiscountGrant_Acct - Trade Discount Granted Accountpublic int getP_TradeDiscountGrant_Acct()
getP_TradeDiscountGrant_Acct in interface I_M_Product_Acctpublic void setP_TradeDiscountRec_Acct(int P_TradeDiscountRec_Acct)
setP_TradeDiscountRec_Acct in interface I_M_Product_AcctP_TradeDiscountRec_Acct - Trade Discount Receivable Accountpublic int getP_TradeDiscountRec_Acct()
getP_TradeDiscountRec_Acct in interface I_M_Product_Acct
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||