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

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

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.materialmgmt.transaction

Index

Contents

M_ProductionPlan

Contains the items used and generated in a production

This table contains the following columns:

Name Nullable Data Type Description
M_ProductionPlan_ID NVARCHAR2(32)The proposal for a how production will be carried out.
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
M_Production_ID NVARCHAR2(32)An indication that an item is being used in production.
Line NNUMBER(10, 0)A line stating the position of this request in the document.
M_Product_ID YVARCHAR2(32)An item produced by a process.
ProductionQty NNUMBERnull
M_Locator_ID YVARCHAR2(32)A set of coordinates (x, y, z) which help locate an item in a warehouse.
Description YNVARCHAR2(255)A space to write additional related information.
Conversionrate YNUMBERDefines the conversion between Quantity and Process Quantity
MA_Costcenteruse YNUMBERCost Center Use
MA_Wrphase_ID YVARCHAR2(32)null
Neededquantity YNUMBERnull
Processed YCHAR(1)A confirmation that the associated documents or requests are processed.
Rejectedquantity YNUMBERRejected Quantity
Secondaryqty YNUMBER(10, 0)The number of Process Units required to be produced.
Secondaryunit YNVARCHAR2(40)The name of the main final product obtained by executing a process plan.
Usedmaterial YCHAR(1)null
Calccost YNUMBERA theoretically calculated cost associated with this specific tab.
MA_Costcenter_Version_ID YVARCHAR2(32)The cost center being used during a specified time period.
Outsourced YCHAR(1)A decision to have a task or phase completed by an external business partner.

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

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

Non Unique

Unique

top

Columns

Production Plan

The Production Plan identifies the items and steps in generating a product.

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)


Validation Rule AD_Org show child organizations: It only shows the child organizations of the organization's header. With the following code:

 
AD_ISORGINCLUDED(ad_org.ad_org_id, @AD_ORG_ID@, ad_org.ad_client_id)<>-1 AND IsReady='Y'

top

Active

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

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

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

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

top

Production

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

top

Line No.

Indicates the unique line for a document. It will also control the display order of the lines within a document.

top

Product

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


Reference Table M_Product BOM (stocked) With the following where clause:

 
M_Product.IsBOM='Y' AND M_Product.IsStocked='Y'


top

Completed Quantity

Indicates how many times has been processed the work requirement phase.

top

Storage Bin

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

top

Description

A description is limited to 255 characters.

top

Conversion Rate

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

Callout: SL_ProductionPlan_Conversion

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_ProductionPlan_Conversion Java class.

top

Cost Center Use

Use of the cost center.

top

WR Phase

Foreign key column to MA_Wrphase table, (column: MA_Wrphase_ID)


Validation Rule MA_ProductionRun_WRPhase: null. With the following code:

 
MA_WRPhase.Closed = 'N'
 
AND MA_WRPhase.AD_Org_ID = @AD_Org_Forced@

Callout: SL_ProductionPlan_WRPhase

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_ProductionPlan_WRPhase Java class.

top

Required Quantity

How many times it is necessary to complete a phase before closing it.

top

Processed

The Processed checkbox indicates that a document has been processed.

top

Rejected Quantity

How many products have been rejected.

top

Process Quantity

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.

Callout: SL_ProductionPlan_Conversion

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_ProductionPlan_Conversion Java class.

top

Process Unit

The name of the main final product obtained by executing a process plan.

top

Create Standards

Process to generate standards on production run.

top

Estimated Cost

Is the calculated cost amount.

top

Cost Center Version

Foreign key column to MA_Costcenter_Version table, (column: MA_Costcenter_Version_ID)


Validation Rule AD_Org any table by parent organization: Filter a drop down to show only records of the organization or of parent organizations, based on the organization of the record that it is being edited.. With the following code:

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

top

Outsourced

Indicates that the correspondent process is being outsourced for the sequence, work requirement phase or production run.

top

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

This page has been accessed 3,687 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.