View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.materialmgmt.transaction/M ProductionPlan

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.transaction


Contents

M_ProductionPlan

This table contains the following columns:

Name Nullable Data Type Description


M_Production_ID No VARCHAR (32) The Production uniquely identifies a Production Plan
Line No DECIMAL (10,0) Indicates the unique line for a document. It will also control the display order of the lines within a document.
Neededquantity No DECIMAL How many times it is necessary to complete a phase before closing it.
Rejectedquantity No DECIMAL How many products have been rejected.
Usedmaterial Yes CHAR (1) Process to generate standards on production run.
Processed Yes CHAR (1) The Processed checkbox indicates that a document has been processed.
MA_Wrphase_ID No VARCHAR (32) Indicates a Work Requirement Phase.
MA_Costcenteruse No DECIMAL Use of the cost center.
Secondaryunit Yes NVARCHAR (40) The name of the main final product obtained by executing a process plan.
Secondaryqty Yes DECIMAL (10,0) The number of Process Units required to be produced. Usually when it comes to production, our requirements are specified by a number of final products (Process Units). To avoid the need for calculating the number of process plan runs, the system allows for entering this number and then automatically calculating the required process plan runs.
Conversionrate Yes DECIMAL Defines how many final products each run of a process plan produces. See the following formula to understand the relation between the three elements:

Process Quantity = Quantity x Conversion Rate

Outsourced Yes CHAR (1) Indicates that the correspondent process is being outsourced for the sequence, work requirement phase or production run.
MA_Costcenter_Version_ID Yes VARCHAR (32) Identifies a cost center version valid during a time period.
Calccost Yes DECIMAL Is the calculated cost amount.
Starttime Yes TIMESTAMP (7) Start time in hours.
Endtime Yes TIMESTAMP (7) End time in hours.
Estimatedtime No DECIMAL Estimated time for the operation
Runtime No DECIMAL Operation run time
Closephase No CHAR (1) If is checked the work requirement phase will be closed when the work effort is validated
Validating Yes CHAR (1) Process to validate the work effort.
Productionplandate Yes TIMESTAMP (7)
M_ProductionPlan_ID No VARCHAR (32) The Production Plan identifies the items and steps in generating a product.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
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.
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.

Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
ProductionQty No DECIMAL The Production Quantity identifies the number of products to produce
Description Yes NVARCHAR (255) A description is limited to 255 characters.
M_Locator_ID Yes VARCHAR (32) The Locator ID indicates where in a Warehouse a product is located.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.

Columns

Production

Foreign key column to M_Production table, (column: M_Production_ID)

top


Line No.


top


Required Quantity



top


Rejected Quantity



top


Create Standards



top


Processed



top


WR Phase


Foreign key column to MA_WRPhase table, (column: MA_Wrphase_ID) It has a validation "MA_ProductionRun_WRPhase", with the following code

MA_WRPhase.Closed = 'N'

AND MA_WRPhase.AD_Org_ID = @AD_Org_Forced@

Callout: SL_ProductionPlan_WRPhase

This column has a callout associated.

It is implemented by [1] Java Class.

top


Cost Center Use



top


Process Unit



top


Process Quantity



Callout: SL_ProductionPlan_Conversion

This column has a callout associated.

It is implemented by [2] Java Class.

top


Conversion Rate



Callout: SL_ProductionPlan_Conversion

This column has a callout associated.

It is implemented by [3] Java Class.

top


Outsourced



top


Cost Center Version


Foreign key column to MA_Costcenter_Version table, (column: MA_Costcenter_Version_ID) It has a validation "AD_Org any table by parent organization", with the following code

AD_ISORGINCLUDED(@AD_Org_ID@, td0.AD_Org_ID, @#AD_Client_ID@) <> '-1'

top


Estimated Cost



top


Starting Time



top


Ending Time



top


Estimated Time



top


Run Time



top


Closephase



top


Validate Work Effort



top


Productionplandate



top


Production Plan



top


Client


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

top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID) It has a validation "AD_Org show child organizations", with the following code

AD_ISORGINCLUDED(ad_org.ad_org_id, CASE WHEN (@Parent_AD_Org@ IS NULL OR @Parent_AD_Org@ = ) THEN @AD_ORG_ID@ ELSE @Parent_AD_Org@ END, ad_org.ad_client_id)<>-1 AND IsReady='Y'

top


Active



top


Creation Date



top


Created By


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

top


Updated By


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

top


Production Quantity


Callout: SL_ProductionPlan_WRPhase_Quantity

This column has a callout associated.

It is implemented by [4] Java Class.

top


Description



top


Storage Bin


Foreign key column to M_Locator table, (column: M_Locator_ID)

top


Updated



top


Product


Foreign key column to M_Product table, (column: M_Product_ID) It has a validation "M_BOM_ISVERIFIED", with the following code

M_PRODUCT.ISVERIFIED='Y'

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.transaction

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

This page has been accessed 914 times. This page was last modified on 1 September 2016, at 02:31. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.