ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.plm/M Product Acct
M_Product_Acct
- Name:M_Product_Acct
- Classname:ProductAccounts
This table contains the following columns:
Name | Nullable | Data Type | Description
|
C_AcctSchema_ID | No | VARCHAR (32) | The book containing all financial transactions recorded for the legal entity. |
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
P_Asset_Acct | Yes | VARCHAR (32) | The Product Asset Account indicates the account used for valuing this a product in inventory. |
P_InvoicePriceVariance_Acct | Yes | VARCHAR (32) | The Invoice Price Variance is used reflects the difference between the current Costs and the Invoice Price. |
M_Product_Acct_ID | No | VARCHAR (32) | |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
P_Def_Expense_Acct | Yes | VARCHAR (32) | Used when expense is deferred from a purchased product. |
M_Product_ID | No | VARCHAR (32) | Identifies an item which is either purchased or sold in this organization. |
P_Cogs_Acct | Yes | VARCHAR (32) | The Product COGS Account indicates the account used when recording costs associated with this product. |
P_Cogs_Return_Acct | Yes | VARCHAR (32) | The Product COGS Account indicates the account used when recording returns associated with this product. |
P_Def_Revenue_Acct | Yes | VARCHAR (32) | Used when revenue is deferred fro a sold product. |
P_Expense_Acct | No | VARCHAR (32) | The Product Expense Account indicates the account used to record expenses associated with this product. |
P_Revenue_Acct | No | VARCHAR (32) | The Product Revenue Account indicates the account used for recording sales revenue for this product. |
P_Revenue_Return_Acct | Yes | VARCHAR (32) | The Product Revenue Return Account indicates the account used for recording returns of this product. |
P_PurchasePriceVariance_Acct | Yes | VARCHAR (32) | The Purchase Price Variance is used in Standard Costing. It reflects the difference between the Standard Cost and the Purchase Order Price. |
P_TradeDiscountGrant_Acct | Yes | VARCHAR (32) | The Trade Discount Granted Account indicates the account for granted trade discount in sales invoices |
P_TradeDiscountRec_Acct | Yes | VARCHAR (32) | The Trade Discount Receivables Account indicates the account for received trade discounts in vendor invoices |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
Columns
Accounting Schema
- Physical column name: C_AcctSchema_ID
- Property Name: accountingSchema
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to C_AcctSchema table, (column: C_AcctSchema_ID)
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Fixed Asset
- Physical column name: P_Asset_Acct
- Property Name: fixedAsset
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Invoice Price Variance
- Physical column name: P_InvoicePriceVariance_Acct
- Property Name: invoicePriceVariance
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
M_Product_Acct_ID
- Physical column name: M_Product_Acct_ID
- Property Name: id
- Reference: ID
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
P_Def_Expense_Acct
- Physical column name: P_Def_Expense_Acct
- Property Name: defExpenseAcct
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to M_Product table, (column: M_Product_ID)
Product COGS
- Physical column name: P_Cogs_Acct
- Property Name: productCOGS
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Product COGS Return
- Physical column name: P_Cogs_Return_Acct
- Property Name: productCOGSReturn
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Product Deferred Revenue
- Physical column name: P_Def_Revenue_Acct
- Property Name: productDeferredRevenue
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Product Expense
- Physical column name: P_Expense_Acct
- Property Name: productExpense
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Product Revenue
- Physical column name: P_Revenue_Acct
- Property Name: productRevenue
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Product Revenue Return
- Physical column name: P_Revenue_Return_Acct
- Property Name: productRevenueReturn
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Purchase Price Variance
- Physical column name: P_PurchasePriceVariance_Acct
- Property Name: purchasePriceVariance
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Trade Discount Granted
- Physical column name: P_TradeDiscountGrant_Acct
- Property Name: tradeDiscountGranted
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Trade Discount Received
- Physical column name: P_TradeDiscountRec_Acct
- Property Name: tradeDiscountReceived
- Reference: OBUISEL_Selector Reference
Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Other Info
Check Constraints
These are the check constraints for this table:
- M_PRODUCT_ACCT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
![]() | Back to org.openbravo.model.common.plm |