ERP 2.50:Developers Guide/Database Model/org.openbravo.model.mrp/MRP Run ProductionLine
MRP_Run_ProductionLine
Lines of the production planning processes.
- Name:MRPProductionRunLine
- Classname:ProductionRunLine
This table contains the following columns:
Name | Nullable | Data Type | Description |
MRP_Run_Productionline_ID | N | VARCHAR2(32) | null |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
Createdby | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
Updatedby | N | VARCHAR2(32) | User who updated this records |
MRP_Run_Production_ID | N | VARCHAR2(32) | null |
M_Product_ID | N | VARCHAR2(32) | An item produced by a process. |
Qty | N | NUMBER | The number of a certain item. |
Neededqty | N | NUMBER | null |
Planneddate | N | DATE | The date when a transaction will occur. |
Parent_ID | Y | VARCHAR2(32) | A means of grouping reports in order to view and print summary and individual information. |
Inouttrxtype | N | VARCHAR2(60) | A distinct set of characteristics or processes. |
Isfixed | N | CHAR(1) | A means of locking the header tab so it will not be affected if a specified process is run again. |
C_OrderLine_ID | Y | VARCHAR2(32) | A unique and often automatically generated identifier for an order line. |
MA_Workrequirement_ID | Y | VARCHAR2(32) | An order authorizing the production of a specific product and product quantity. |
MRP_Salesforecastline_ID | Y | VARCHAR2(32) | null |
M_Requisitionline_ID | Y | VARCHAR2(32) | null |
MA_Processplan_ID | Y | VARCHAR2(32) | A guide stating how a certain item must move through the transformation process. |
Isexploded | Y | CHAR(1) | null |
Plannedorderdate | Y | DATE | null |
Isplanned | Y | CHAR(1) | null |
Cumqty | Y | NUMBER | The final quantity to be moved based on the related business process. |
Recalculatestock | Y | CHAR(1) | null |
Other Info
Check constraints
These are the check constraints for this table:
- MRP_RUN_PRODUCTIONLINE_ISA_CHK: ISACTIVE IN ('Y', 'N')
- MRP_RUN_PRODUCTIONLINE_ISF_CHK: ISFIXED IN ('Y', 'N')
- MRP_RUN_PRODUCTIONLINE_ISP_CHK: ISPLANNED IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Non Unique
- MRP_PRODUCTIONLINE_ID_PROD_ID
- MRP_RUN_PRODLINE_PRODUCTION_ID
- MRP_RUN_PRODUCTIONLINE_PARENT
Unique
- MRP_RUN_PRODUCTIONLINE_KEY
Columns
Manufacturing Plan Line
Identifies a line of the production planning processes.
- Physical column name: MRP_Run_Productionline_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_ORG_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Created By
- Physical column name: Createdby
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Manufacturing Plan
- Physical column name: MRP_Run_Production_ID
- Property Name: manufacturingPlan
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a buisiness object (is Parent)
Foreign key column to MRP_Run_Production table, (column: MRP_Run_Production_ID)
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
- This column is part of the table's identifier
Foreign key column to M_Product table, (column: M_Product_ID)
Quantity
The Quantity indicates the number of a specific product or item for this document.
- Physical column name: Qty
- Property Name: quantity
- Reference: Quantity
Required Quantity
Quantity needed
- Physical column name: Neededqty
- Property Name: requiredQuantity
- Reference: Quantity
Planned Date
Planned date of the transaction.
- Physical column name: Planneddate
- Property Name: plannedDate
- Reference: Date
Report Set
- Physical column name: Parent_ID
- Property Name: reportSet
- Reference: Table
Foreign key column to MRP_Run_ProductionLine table, (column: MRP_Run_Productionline_ID)
Reference Table MRP_ProductionLine
Transaction Type
Transaction types available for the MRP.
- Physical column name: Inouttrxtype
- Property Name: transactionType
- Reference: List
List values: In/out transaction types for planning
The allowed values for this list are:
- MF (Material Requirement)
- MP (Suggested Material Requirement)
- MS (Minimum Stock): Minimum or security stock
- PO (Pending Purchase Order)
- PP (Suggested Purchase Order)
- SF (Sales Forecast)
- SO (Pending Sales Order)
- ST (Stock)
- UD (User defined)
- WP (Suggested Work Requirement)
- WR (Pending Work Requirement)
Fixed
Is fixed
- Physical column name: Isfixed
- Property Name: fixed
- Reference: YesNo
- Default value: N
Order Line
A unique identifier and a reference to an order line (product).
- Physical column name: C_OrderLine_ID
- Property Name: salesOrderLine
- Reference: TableDir
Foreign key column to C_OrderLine table, (column: C_OrderLine_ID)
Work Requirement
- Physical column name: MA_Workrequirement_ID
- Property Name: workRequirement
- Reference: TableDir
Foreign key column to MA_Workrequirement table, (column: MA_Workrequirement_ID)
Sales Forecast Line
- Physical column name: MRP_Salesforecastline_ID
- Property Name: salesForecastLine
- Reference: TableDir
Foreign key column to MRP_Salesforecastline table, (column: MRP_Salesforecastline_ID)
Requisition Line
- Physical column name: M_Requisitionline_ID
- Property Name: requisitionLine
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to M_Requisitionline table, (column: M_Requisitionline_ID)
Process Plan
- Physical column name: MA_Processplan_ID
- Property Name: processPlan
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to MA_Processplan table, (column: MA_Processplan_ID)
Inserted
The line has been exploded.
- Physical column name: Isexploded
- Property Name: inserted
- Reference: YesNo
Planned Order Date
Planned date to order the transaction.
- Physical column name: Plannedorderdate
- Property Name: plannedOrderDate
- Reference: Date
Planned
Is planned.
- Physical column name: Isplanned
- Property Name: planned
- Reference: YesNo
- Default value: N
Total Movement Quantity
Cumulate quantity.
- Physical column name: Cumqty
- Property Name: totalMovementQuantity
- Reference: Quantity
Recalculate Stock
Process to recalculate the product quantities of the lines.
- Physical column name: Recalculatestock
- Property Name: recalculateStock
- Reference: Button
- Default value: N
Related tables
Tables that link this table: