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

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


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.
Closephase No CHAR (1) If is checked the work requirement phase will be closed when the work effort is validated
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

MA_Costcenteruse No DECIMAL Use of the cost center.
MA_Costcenter_Version_ID Yes VARCHAR (32) Identifies a cost center version valid during a time period.
Usedmaterial Yes CHAR (1) Process to generate standards on production run.
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.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
Endtime Yes TIMESTAMP (7) End time in hours.
Calccost Yes DECIMAL Is the calculated cost amount.
Estimatedtime No DECIMAL Estimated time for the operation
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.
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.
Outsourced Yes CHAR (1) Indicates that the correspondent process is being outsourced for the sequence, work requirement phase or production run.
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.
Secondaryunit Yes NVARCHAR (40) The name of the main final product obtained by executing a process plan.
Processed Yes CHAR (1) The Processed checkbox indicates that a document has been processed.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
M_Production_ID No VARCHAR (32) The Production uniquely identifies a Production Plan
M_ProductionPlan_ID No VARCHAR (32) The Production Plan identifies the items and steps in generating a product.
ProductionQty No DECIMAL The Production Quantity identifies the number of products to produce
Productionplandate Yes TIMESTAMP (7)
Rejectedquantity No DECIMAL How many products have been rejected.
Neededquantity No DECIMAL How many times it is necessary to complete a phase before closing it.
Runtime No DECIMAL Operation run time
Starttime Yes TIMESTAMP (7) Start time in hours.
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.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
Validating Yes CHAR (1) Process to validate the work effort.
MA_Wrphase_ID No VARCHAR (32) Indicates a Work Requirement Phase.

Columns

Active



top


Client


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

top


Closephase



top


Conversion Rate



Callout: SL_ProductionPlan_Conversion

This column has a callout associated.

It is implemented by [1] Java Class.

top


Cost Center Use



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


Create Standards



top


Created By


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

top


Creation Date



top


Description



top


Ending Time



top


Estimated Cost



top


Estimated Time



top


Line No.


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


Outsourced



top


Process Quantity



Callout: SL_ProductionPlan_Conversion

This column has a callout associated.

It is implemented by [2] Java Class.

top


Process Unit



top


Processed



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


Production

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

top


Production Plan



top


Production Quantity


Callout: SL_ProductionPlan_WRPhase_Quantity

This column has a callout associated.

It is implemented by [3] Java Class.

top


Productionplandate



top


Rejected Quantity



top


Required Quantity



top


Run Time



top


Starting Time



top


Storage Bin


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

top


Updated



top


Updated By


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

top


Validate Work Effort



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 [4] Java Class.

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 3,924 times. This page was last modified on 7 September 2020, at 01:58. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.