Package org.openbravo.model.common.plm
Class CategoryAccounts
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.common.plm.CategoryAccounts
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class CategoryAccounts extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity ProductCategoryAccounts (stored in table M_Product_Category_Acct).
Help: Defines default accounting parameters. Any product that uses a product category can inherit its default accounting parameters.
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACCOUNTINGSCHEMA
Property accountingSchema stored in column C_AcctSchema_ID in table M_Product_Category_Acct
Help: The book containing all financial transactions recorded for the legal entity.static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Product_Category_Acctstatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Product_Category_Acctstatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table M_Product_Category_Acctstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Product_Category_Acctstatic String
PROPERTY_DEFEXPENSEACCT
Property defExpenseAcct stored in column P_Def_Expense_Acct in table M_Product_Category_Acct
Help: Used when expense is deferred from a purchased product.static String
PROPERTY_FIXEDASSET
Property fixedAsset stored in column P_Asset_Acct in table M_Product_Category_Acct
Help: The Product Asset Account indicates the account used for valuing this a product in inventory.static String
PROPERTY_ID
Property id stored in column M_Product_Category_Acct_ID in table M_Product_Category_Acctstatic String
PROPERTY_INVOICEPRICEVARIANCE
Property invoicePriceVariance stored in column P_InvoicePriceVariance_Acct in table M_Product_Category_Acct
Help: The Invoice Price Variance is used reflects the difference between the current Costs and the Invoice Price.static String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Product_Category_Acctstatic String
PROPERTY_PROCESSNOW
Property processNow stored in column Processing in table M_Product_Category_Acct
Help: When this field is set as 'Y' a process is being performed on this record.static String
PROPERTY_PRODUCTCATEGORY
Property productCategory stored in column M_Product_Category_ID in table M_Product_Category_Acct
Help: Identifies the category which this product belongs to. Product categories are used for pricing.static String
PROPERTY_PRODUCTCOGS
Property productCOGS stored in column P_Cogs_Acct in table M_Product_Category_Acct
Help: The Product COGS Account indicates the account used when recording costs associated with this product.static String
PROPERTY_PRODUCTCOGSRETURN
Property productCOGSReturn stored in column P_Cogs_Return_Acct in table M_Product_Category_Acct
Help: The Product COGS Account indicates the account used when recording returns associated with this product.static String
PROPERTY_PRODUCTDEFERREDREVENUE
Property productDeferredRevenue stored in column P_Def_Revenue_Acct in table M_Product_Category_Acct
Help: Used when revenue is deferred fro a sold product.static String
PROPERTY_PRODUCTEXPENSE
Property productExpense stored in column P_Expense_Acct in table M_Product_Category_Acct
Help: The Product Expense Account indicates the account used to record expenses associated with this product.static String
PROPERTY_PRODUCTREVENUE
Property productRevenue stored in column P_Revenue_Acct in table M_Product_Category_Acct
Help: The Product Revenue Account indicates the account used for recording sales revenue for this product.static String
PROPERTY_PRODUCTREVENUERETURN
Property productRevenueReturn stored in column P_Revenue_Return_Acct in table M_Product_Category_Acct
Help: The Product Revenue Return Account indicates the account used for recording returns of this product.static String
PROPERTY_PURCHASEPRICEVARIANCE
Property purchasePriceVariance stored in column P_PurchasePriceVariance_Acct in table M_Product_Category_Acct
Help: The Purchase Price Variance is used in Standard Costing. It reflects the difference between the Standard Cost and the Purchase Order Price.static String
PROPERTY_TRADEDISCOUNTGRANTED
Property tradeDiscountGranted stored in column P_TradeDiscountGrant_Acct in table M_Product_Category_Acct
Help: The Trade Discount Granted Account indicates the account for granted trade discount in sales invoicesstatic String
PROPERTY_TRADEDISCOUNTRECEIVED
Property tradeDiscountReceived stored in column P_TradeDiscountRec_Acct in table M_Product_Category_Acct
Help: The Trade Discount Receivables Account indicates the account for received trade discounts in vendor invoicesstatic String
PROPERTY_UPDATED
Property updated stored in column Updated in table M_Product_Category_Acctstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table M_Product_Category_Acctstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description CategoryAccounts()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column M_Product_Category_Acct_ID in table M_Product_Category_Acct- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTCATEGORY
public static final String PROPERTY_PRODUCTCATEGORY
Property productCategory stored in column M_Product_Category_ID in table M_Product_Category_Acct
Help: Identifies the category which this product belongs to. Product categories are used for pricing.- See Also:
- Constant Field Values
-
PROPERTY_ACCOUNTINGSCHEMA
public static final String PROPERTY_ACCOUNTINGSCHEMA
Property accountingSchema stored in column C_AcctSchema_ID in table M_Product_Category_Acct
Help: The book containing all financial transactions recorded for the legal entity.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Product_Category_Acct- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Product_Category_Acct- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Product_Category_Acct- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Product_Category_Acct- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table M_Product_Category_Acct- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table M_Product_Category_Acct- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table M_Product_Category_Acct- See Also:
Traceable
, Constant Field Values
-
PROPERTY_PRODUCTREVENUE
public static final String PROPERTY_PRODUCTREVENUE
Property productRevenue stored in column P_Revenue_Acct in table M_Product_Category_Acct
Help: The Product Revenue Account indicates the account used for recording sales revenue for this product.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTEXPENSE
public static final String PROPERTY_PRODUCTEXPENSE
Property productExpense stored in column P_Expense_Acct in table M_Product_Category_Acct
Help: The Product Expense Account indicates the account used to record expenses associated with this product.- See Also:
- Constant Field Values
-
PROPERTY_FIXEDASSET
public static final String PROPERTY_FIXEDASSET
Property fixedAsset stored in column P_Asset_Acct in table M_Product_Category_Acct
Help: The Product Asset Account indicates the account used for valuing this a product in inventory.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTCOGS
public static final String PROPERTY_PRODUCTCOGS
Property productCOGS stored in column P_Cogs_Acct in table M_Product_Category_Acct
Help: The Product COGS Account indicates the account used when recording costs associated with this product.- See Also:
- Constant Field Values
-
PROPERTY_PURCHASEPRICEVARIANCE
public static final String PROPERTY_PURCHASEPRICEVARIANCE
Property purchasePriceVariance stored in column P_PurchasePriceVariance_Acct in table M_Product_Category_Acct
Help: The Purchase Price Variance is used in Standard Costing. It reflects the difference between the Standard Cost and the Purchase Order Price.- See Also:
- Constant Field Values
-
PROPERTY_INVOICEPRICEVARIANCE
public static final String PROPERTY_INVOICEPRICEVARIANCE
Property invoicePriceVariance stored in column P_InvoicePriceVariance_Acct in table M_Product_Category_Acct
Help: The Invoice Price Variance is used reflects the difference between the current Costs and the Invoice Price.- See Also:
- Constant Field Values
-
PROPERTY_TRADEDISCOUNTRECEIVED
public static final String PROPERTY_TRADEDISCOUNTRECEIVED
Property tradeDiscountReceived stored in column P_TradeDiscountRec_Acct in table M_Product_Category_Acct
Help: The Trade Discount Receivables Account indicates the account for received trade discounts in vendor invoices- See Also:
- Constant Field Values
-
PROPERTY_TRADEDISCOUNTGRANTED
public static final String PROPERTY_TRADEDISCOUNTGRANTED
Property tradeDiscountGranted stored in column P_TradeDiscountGrant_Acct in table M_Product_Category_Acct
Help: The Trade Discount Granted Account indicates the account for granted trade discount in sales invoices- See Also:
- Constant Field Values
-
PROPERTY_PROCESSNOW
public static final String PROPERTY_PROCESSNOW
Property processNow stored in column Processing in table M_Product_Category_Acct
Help: When this field is set as 'Y' a process is being performed on this record.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTCOGSRETURN
public static final String PROPERTY_PRODUCTCOGSRETURN
Property productCOGSReturn stored in column P_Cogs_Return_Acct in table M_Product_Category_Acct
Help: The Product COGS Account indicates the account used when recording returns associated with this product.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTREVENUERETURN
public static final String PROPERTY_PRODUCTREVENUERETURN
Property productRevenueReturn stored in column P_Revenue_Return_Acct in table M_Product_Category_Acct
Help: The Product Revenue Return Account indicates the account used for recording returns of this product.- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTDEFERREDREVENUE
public static final String PROPERTY_PRODUCTDEFERREDREVENUE
Property productDeferredRevenue stored in column P_Def_Revenue_Acct in table M_Product_Category_Acct
Help: Used when revenue is deferred fro a sold product.- See Also:
- Constant Field Values
-
PROPERTY_DEFEXPENSEACCT
public static final String PROPERTY_DEFEXPENSEACCT
Property defExpenseAcct stored in column P_Def_Expense_Acct in table M_Product_Category_Acct
Help: Used when expense is deferred from a purchased product.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getProductCategory
public ProductCategory getProductCategory()
- See Also:
PROPERTY_PRODUCTCATEGORY
-
setProductCategory
public void setProductCategory(ProductCategory productCategory)
- See Also:
PROPERTY_PRODUCTCATEGORY
-
getAccountingSchema
public AcctSchema getAccountingSchema()
- See Also:
PROPERTY_ACCOUNTINGSCHEMA
-
setAccountingSchema
public void setAccountingSchema(AcctSchema accountingSchema)
- See Also:
PROPERTY_ACCOUNTINGSCHEMA
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getProductRevenue
public AccountingCombination getProductRevenue()
- See Also:
PROPERTY_PRODUCTREVENUE
-
setProductRevenue
public void setProductRevenue(AccountingCombination productRevenue)
- See Also:
PROPERTY_PRODUCTREVENUE
-
getProductExpense
public AccountingCombination getProductExpense()
- See Also:
PROPERTY_PRODUCTEXPENSE
-
setProductExpense
public void setProductExpense(AccountingCombination productExpense)
- See Also:
PROPERTY_PRODUCTEXPENSE
-
getFixedAsset
public AccountingCombination getFixedAsset()
- See Also:
PROPERTY_FIXEDASSET
-
setFixedAsset
public void setFixedAsset(AccountingCombination fixedAsset)
- See Also:
PROPERTY_FIXEDASSET
-
getProductCOGS
public AccountingCombination getProductCOGS()
- See Also:
PROPERTY_PRODUCTCOGS
-
setProductCOGS
public void setProductCOGS(AccountingCombination productCOGS)
- See Also:
PROPERTY_PRODUCTCOGS
-
getPurchasePriceVariance
public AccountingCombination getPurchasePriceVariance()
- See Also:
PROPERTY_PURCHASEPRICEVARIANCE
-
setPurchasePriceVariance
public void setPurchasePriceVariance(AccountingCombination purchasePriceVariance)
- See Also:
PROPERTY_PURCHASEPRICEVARIANCE
-
getInvoicePriceVariance
public AccountingCombination getInvoicePriceVariance()
- See Also:
PROPERTY_INVOICEPRICEVARIANCE
-
setInvoicePriceVariance
public void setInvoicePriceVariance(AccountingCombination invoicePriceVariance)
- See Also:
PROPERTY_INVOICEPRICEVARIANCE
-
getTradeDiscountReceived
public AccountingCombination getTradeDiscountReceived()
- See Also:
PROPERTY_TRADEDISCOUNTRECEIVED
-
setTradeDiscountReceived
public void setTradeDiscountReceived(AccountingCombination tradeDiscountReceived)
- See Also:
PROPERTY_TRADEDISCOUNTRECEIVED
-
getTradeDiscountGranted
public AccountingCombination getTradeDiscountGranted()
- See Also:
PROPERTY_TRADEDISCOUNTGRANTED
-
setTradeDiscountGranted
public void setTradeDiscountGranted(AccountingCombination tradeDiscountGranted)
- See Also:
PROPERTY_TRADEDISCOUNTGRANTED
-
isProcessNow
public Boolean isProcessNow()
- See Also:
PROPERTY_PROCESSNOW
-
setProcessNow
public void setProcessNow(Boolean processNow)
- See Also:
PROPERTY_PROCESSNOW
-
getProductCOGSReturn
public AccountingCombination getProductCOGSReturn()
- See Also:
PROPERTY_PRODUCTCOGSRETURN
-
setProductCOGSReturn
public void setProductCOGSReturn(AccountingCombination productCOGSReturn)
- See Also:
PROPERTY_PRODUCTCOGSRETURN
-
getProductRevenueReturn
public AccountingCombination getProductRevenueReturn()
- See Also:
PROPERTY_PRODUCTREVENUERETURN
-
setProductRevenueReturn
public void setProductRevenueReturn(AccountingCombination productRevenueReturn)
- See Also:
PROPERTY_PRODUCTREVENUERETURN
-
getProductDeferredRevenue
public AccountingCombination getProductDeferredRevenue()
- See Also:
PROPERTY_PRODUCTDEFERREDREVENUE
-
setProductDeferredRevenue
public void setProductDeferredRevenue(AccountingCombination productDeferredRevenue)
- See Also:
PROPERTY_PRODUCTDEFERREDREVENUE
-
getDefExpenseAcct
public AccountingCombination getDefExpenseAcct()
- See Also:
PROPERTY_DEFEXPENSEACCT
-
setDefExpenseAcct
public void setDefExpenseAcct(AccountingCombination defExpenseAcct)
- See Also:
PROPERTY_DEFEXPENSEACCT
-
-