View source | Discuss this page | Page history | Printable version   

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.materialmgmt.cost/M Costing

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.materialmgmt.cost


Contents

M_Costing

This table contains the following columns:

Name Nullable Data Type Description


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.

C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Cost Yes DECIMAL Cost amount.
Costtype No VARCHAR (60) Different types of cost.
M_Costing_ID No VARCHAR (32) Average costs for purchases and productions
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.
DateTo No TIMESTAMP (7) The Date To indicates the end date of a range (inclusive)
M_Transaction_ID Yes VARCHAR (32) The ID identifies a unique record
C_InvoiceLine_ID Yes VARCHAR (32) The Invoice Line uniquely identifies a single line of an Invoice.
IsManual No CHAR (1) The Manual check box indicates if the process will done manually.
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.
Originalcost Yes DECIMAL It is the cost originally calculated before processing cost adjustments on related transactions.
Ispermanent No CHAR (1)
Price Yes DECIMAL The Price indicates the Price for a product or service.
M_Product_ID No VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
Isproduction Yes CHAR (1) Sets the record_id for production.
Qty Yes DECIMAL The Quantity indicates the number of a specific product or item for this document.
DateFrom No TIMESTAMP (7) The Date From indicates the starting date of a range.
Cumstock Yes DECIMAL Cumulate quantity.
Cumcost Yes DECIMAL
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.
M_Warehouse_ID Yes VARCHAR (32) The Warehouse identifies a unique Warehouse where products are stored or Services are provided.

Columns

Active



top


C_Currency_ID


Foreign key column to C_Currency table, (column: C_Currency_ID)

top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID)

top


Cost



top


Cost Type



List values: Cost Type

The allowed values for this list are:

top


Costing



top


Created By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Creation Date



top


Ending Date



top


Inventory Transaction


Foreign key column to M_Transaction table, (column: M_Transaction_ID)

top


Invoice Line


Foreign key column to C_InvoiceLine table, (column: C_InvoiceLine_ID)

top


Manual



top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID) It has a validation "AD_Org In product costing tab", with the following code

IsReady='Y' AND ad_org_isinnaturaltree(ad_org_id, @Parent_AD_Org@, ad_client_id) ='Y' AND exists (select 1 from ad_orgtype where ad_orgtype.ad_orgtype_id = ad_org.ad_orgtype_id and islegalentity='Y')

Callout: SL_Costing_Currency

This column has a callout associated.

It is implemented by [1] Java Class.

top


Original Cost



top


Permanent



top


Price



top


Product

Foreign key column to M_Product table, (column: M_Product_ID)

top


Production



top


Quantity



top


Starting Date


top


Total Movement Quantity



top


Total Stock Valuation



top


Updated



top


Updated By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Warehouse


Foreign key column to M_Warehouse table, (column: M_Warehouse_ID)

top


Other Info

Indices

These are the indices for this table (for each index there is a list of all the columns included within it):

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.materialmgmt.cost

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.materialmgmt.cost/M_Costing"

This page has been accessed 3,876 times. This page was last modified on 4 September 2023, at 01:59. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.