Package org.compiere.model
Class X_M_Product_Acct
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_Product_Acct
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_M_Product_Acct,I_Persistent,Evaluatee
Generated Model for M_Product_Acct
- Version:
- Release 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.compiere.model.I_M_Product_Acct
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_M_Product_Acct_UU, COLUMNNAME_M_Product_ID, COLUMNNAME_P_Asset_Acct, COLUMNNAME_P_AverageCostVariance_Acct, COLUMNNAME_P_COGS_Acct, COLUMNNAME_P_CostAdjustment_Acct, COLUMNNAME_P_Expense_Acct, COLUMNNAME_P_InventoryClearing_Acct, COLUMNNAME_P_InvoicePriceVariance_Acct, COLUMNNAME_P_LandedCostClearing_Acct, COLUMNNAME_P_PurchasePriceVariance_Acct, COLUMNNAME_P_RateVariance_Acct, COLUMNNAME_P_Revenue_Acct, COLUMNNAME_P_TradeDiscountGrant_Acct, COLUMNNAME_P_TradeDiscountRec_Acct, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_M_Product_Acct(Properties ctx, int M_Product_Acct_ID, String trxName) Standard ConstructorX_M_Product_Acct(Properties ctx, int M_Product_Acct_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_Product_Acct(Properties ctx, String M_Product_Acct_UU, String trxName) Standard ConstructorX_M_Product_Acct(Properties ctx, String M_Product_Acct_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_Product_Acct(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelDeprecated.intGet Accounting Schema.Deprecated.Get M_Product_Acct_UU.intGet Product.Deprecated.intGet Product Asset.Deprecated.intGet Average Cost Variance.Deprecated.intGet Product COGS.Deprecated.intGet Cost Adjustment.Deprecated.intGet Product Expense.Deprecated.intGet Inventory Clearing.Deprecated.intGet Invoice Price Variance.Deprecated.intGet Landed Cost Clearing.Deprecated.intGet Purchase Price Variance.Deprecated.intGet Rate Variance.Deprecated.intGet Product Revenue.Deprecated.intGet Trade Discount Granted.Deprecated.intGet Trade Discount Received.protected POInfoinitPO(Properties ctx) Load Meta DatavoidsetC_AcctSchema_ID(int C_AcctSchema_ID) Set Accounting Schema.voidsetM_Product_Acct_UU(String M_Product_Acct_UU) Set M_Product_Acct_UU.voidsetM_Product_ID(int M_Product_ID) Set Product.voidsetP_Asset_Acct(int P_Asset_Acct) Set Product Asset.voidsetP_AverageCostVariance_Acct(int P_AverageCostVariance_Acct) Set Average Cost Variance.voidsetP_COGS_Acct(int P_COGS_Acct) Set Product COGS.voidsetP_CostAdjustment_Acct(int P_CostAdjustment_Acct) Set Cost Adjustment.voidsetP_Expense_Acct(int P_Expense_Acct) Set Product Expense.voidsetP_InventoryClearing_Acct(int P_InventoryClearing_Acct) Set Inventory Clearing.voidsetP_InvoicePriceVariance_Acct(int P_InvoicePriceVariance_Acct) Set Invoice Price Variance.voidsetP_LandedCostClearing_Acct(int P_LandedCostClearing_Acct) Set Landed Cost Clearing.voidsetP_PurchasePriceVariance_Acct(int P_PurchasePriceVariance_Acct) Set Purchase Price Variance.voidsetP_RateVariance_Acct(int P_RateVariance_Acct) Set Rate Variance.voidsetP_Revenue_Acct(int P_Revenue_Acct) Set Product Revenue.voidsetP_TradeDiscountGrant_Acct(int P_TradeDiscountGrant_Acct) Set Trade Discount Granted.voidsetP_TradeDiscountRec_Acct(int P_TradeDiscountRec_Acct) Set Trade Discount Received.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_M_Product_Acct
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_M_Product_Acct
Standard Constructor -
X_M_Product_Acct
public X_M_Product_Acct(Properties ctx, int M_Product_Acct_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_Product_Acct
Standard Constructor -
X_M_Product_Acct
public X_M_Product_Acct(Properties ctx, String M_Product_Acct_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_Product_Acct
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getC_AcctSchema
Deprecated.- Specified by:
getC_AcctSchemain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setC_AcctSchema_ID
public void setC_AcctSchema_ID(int C_AcctSchema_ID) Set Accounting Schema.- Specified by:
setC_AcctSchema_IDin interfaceI_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_IDin interfaceI_M_Product_Acct- Returns:
- Rules for accounting
-
setM_Product_Acct_UU
Set M_Product_Acct_UU.- Specified by:
setM_Product_Acct_UUin interfaceI_M_Product_Acct- Parameters:
M_Product_Acct_UU- M_Product_Acct_UU
-
getM_Product_Acct_UU
Get M_Product_Acct_UU.- Specified by:
getM_Product_Acct_UUin interfaceI_M_Product_Acct- Returns:
- M_Product_Acct_UU
-
getM_Product
Deprecated.- Specified by:
getM_Productin interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_IDin interfaceI_M_Product_Acct- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_IDin interfaceI_M_Product_Acct- Returns:
- Product, Service, Item
-
getP_Asset_A
Deprecated.- Specified by:
getP_Asset_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_Asset_Acct
public void setP_Asset_Acct(int P_Asset_Acct) Set Product Asset.- Specified by:
setP_Asset_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Account for Product Asset (Inventory)
-
getP_AverageCostVariance_A
@Deprecated(since="13") public I_C_ValidCombination getP_AverageCostVariance_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_AverageCostVariance_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_AverageCostVariance_Acct
public void setP_AverageCostVariance_Acct(int P_AverageCostVariance_Acct) Set Average Cost Variance.- Specified by:
setP_AverageCostVariance_Acctin interfaceI_M_Product_Acct- Parameters:
P_AverageCostVariance_Acct- Average Cost Variance
-
getP_AverageCostVariance_Acct
public int getP_AverageCostVariance_Acct()Get Average Cost Variance.- Specified by:
getP_AverageCostVariance_Acctin interfaceI_M_Product_Acct- Returns:
- Average Cost Variance
-
getP_COGS_A
Deprecated.- Specified by:
getP_COGS_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_COGS_Acct
public void setP_COGS_Acct(int P_COGS_Acct) Set Product COGS.- Specified by:
setP_COGS_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Account for Cost of Goods Sold
-
getP_CostAdjustment_A
Deprecated.- Specified by:
getP_CostAdjustment_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_CostAdjustment_Acct
public void setP_CostAdjustment_Acct(int P_CostAdjustment_Acct) Set Cost Adjustment.- Specified by:
setP_CostAdjustment_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Product Cost Adjustment Account
-
getP_Expense_A
Deprecated.- Specified by:
getP_Expense_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_Expense_Acct
public void setP_Expense_Acct(int P_Expense_Acct) Set Product Expense.- Specified by:
setP_Expense_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Account for Product Expense
-
getP_InventoryClearing_A
@Deprecated(since="13") public I_C_ValidCombination getP_InventoryClearing_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_InventoryClearing_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_InventoryClearing_Acct
public void setP_InventoryClearing_Acct(int P_InventoryClearing_Acct) Set Inventory Clearing.- Specified by:
setP_InventoryClearing_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Product Inventory Clearing Account
-
getP_InvoicePriceVariance_A
@Deprecated(since="13") public I_C_ValidCombination getP_InvoicePriceVariance_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_InvoicePriceVariance_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_InvoicePriceVariance_Acct
public void setP_InvoicePriceVariance_Acct(int P_InvoicePriceVariance_Acct) Set Invoice Price Variance.- Specified by:
setP_InvoicePriceVariance_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Difference between Costs and Invoice Price (IPV)
-
getP_LandedCostClearing_A
@Deprecated(since="13") public I_C_ValidCombination getP_LandedCostClearing_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_LandedCostClearing_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_LandedCostClearing_Acct
public void setP_LandedCostClearing_Acct(int P_LandedCostClearing_Acct) Set Landed Cost Clearing.- Specified by:
setP_LandedCostClearing_Acctin interfaceI_M_Product_Acct- Parameters:
P_LandedCostClearing_Acct- Product Landed Cost Clearing Account
-
getP_LandedCostClearing_Acct
public int getP_LandedCostClearing_Acct()Get Landed Cost Clearing.- Specified by:
getP_LandedCostClearing_Acctin interfaceI_M_Product_Acct- Returns:
- Product Landed Cost Clearing Account
-
getP_PurchasePriceVariance_A
@Deprecated(since="13") public I_C_ValidCombination getP_PurchasePriceVariance_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_PurchasePriceVariance_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_PurchasePriceVariance_Acct
public void setP_PurchasePriceVariance_Acct(int P_PurchasePriceVariance_Acct) Set Purchase Price Variance.- Specified by:
setP_PurchasePriceVariance_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Difference between Standard Cost and Purchase Price (PPV)
-
getP_RateVariance_A
Deprecated.- Specified by:
getP_RateVariance_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_RateVariance_Acct
public void setP_RateVariance_Acct(int P_RateVariance_Acct) Set Rate Variance.- Specified by:
setP_RateVariance_Acctin interfaceI_M_Product_Acct- Parameters:
P_RateVariance_Acct- The Rate Variance account is the account used Manufacturing Order
-
getP_RateVariance_Acct
public int getP_RateVariance_Acct()Get Rate Variance.- Specified by:
getP_RateVariance_Acctin interfaceI_M_Product_Acct- Returns:
- The Rate Variance account is the account used Manufacturing Order
-
getP_Revenue_A
Deprecated.- Specified by:
getP_Revenue_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_Revenue_Acct
public void setP_Revenue_Acct(int P_Revenue_Acct) Set Product Revenue.- Specified by:
setP_Revenue_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Account for Product Revenue (Sales Account)
-
getP_TradeDiscountGrant_A
@Deprecated(since="13") public I_C_ValidCombination getP_TradeDiscountGrant_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_TradeDiscountGrant_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_TradeDiscountGrant_Acct
public void setP_TradeDiscountGrant_Acct(int P_TradeDiscountGrant_Acct) Set Trade Discount Granted.- Specified by:
setP_TradeDiscountGrant_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Trade Discount Granted Account
-
getP_TradeDiscountRec_A
@Deprecated(since="13") public I_C_ValidCombination getP_TradeDiscountRec_A() throws RuntimeExceptionDeprecated.- Specified by:
getP_TradeDiscountRec_Ain interfaceI_M_Product_Acct- Throws:
RuntimeException
-
setP_TradeDiscountRec_Acct
public void setP_TradeDiscountRec_Acct(int P_TradeDiscountRec_Acct) Set Trade Discount Received.- Specified by:
setP_TradeDiscountRec_Acctin interfaceI_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_Acctin interfaceI_M_Product_Acct- Returns:
- Trade Discount Receivable Account
-