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/2.50/Developers Guide/Database Model/org.openbravo.model.materialmgmt.transaction/M ProductionLine

Contents

M_ProductionLine

Contains all the products that have been used or created in the production run and the related quantities

This table contains the following columns:

Name Nullable Data Type Description
M_ProductionLine_ID NVARCHAR2(32)A statement displaying one item or action in the application.
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_ProductionPlan_ID NVARCHAR2(32)The proposal for a how production will be carried out.
Line NNUMBER(10, 0)A line stating the position of this request in the document.
M_Product_ID NVARCHAR2(32)An item produced by a process.
MovementQty NNUMBERnull
M_Locator_ID NVARCHAR2(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.
M_AttributeSetInstance_ID YVARCHAR2(32)An attribute associated with a product as part of an attribute set.
M_Product_Uom_Id YVARCHAR2(32)The unit of measure being used for the request.
QuantityOrder YNUMBERThe number of a certain item involved in the transaction, shown in units which differ from the standard UOM.
C_UOM_ID NVARCHAR2(32)A non monetary unit of measure.
Calculated YCHAR(1)null
Productiontype NVARCHAR2(60)A classification stating whether something has been created or used in the sequence.
Rejectedquantity NNUMBERRejected Quantity
Calccost YNUMBERA theoretically calculated cost associated with this specific tab.
Componentcost YNUMBERComponent Cost

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 Line

The Production Line indicates the production document line (if applicable) for this transaction

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 Plan

Foreign key column to M_ProductionPlan table, (column: M_ProductionPlan_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)

Callout: SL_Production_Product

This element is linked to a callout.

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

top

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

Attribute Set Value

Foreign key column to M_AttributeSetInstance table, (column: M_AttributeSetInstance_ID)

top

Order UOM

Foreign key column to M_Product_UOM table, (column: M_Product_Uom_Id)


Reference Table M_Product_UOM With the following where clause:

 
M_Product_UOM.M_Product_ID = @M_Product_ID@


Callout: SL_Production_Conversion

This element is linked to a callout.

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

top

Order Quantity


Product quantity in the order uom.

Callout: SL_Production_Conversion

This element is linked to a callout.

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

top

UOM

Foreign key column to C_UOM table, (column: C_UOM_ID)

top

Calculated

Indicates that the record has been calculated.

top

Production Type

Indicates if the product is used in the sequence or is generated. A positive production means that is an output product. So a negative productions refers to an input product.

List values: Production Type

The allowed values for this list are:

top

Rejected Quantity

How many products have been rejected.

top

Estimated Cost

Is the calculated cost amount.

top

Component Cost

Cost per component

top

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

This page has been accessed 4,011 times. This page was last modified on 2 July 2011, at 21:06. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.