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

ERP/2.50/Developers Guide/Database Model/org.openbravo.model.mrp/MRP Run Purchase

Contents

MRP_Run_Purchase

Headers of the purchase planning processes.

This table contains the following columns:

Name Nullable Data Type Description
MRP_Run_Purchase_ID NVARCHAR2(32)null
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
Name NNVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
Description YNVARCHAR2(255)A space to write additional related information.
DateDoc NDATEThe time listed on the document.
MRP_Planner_ID YVARCHAR2(32)The person in charge of making an MRP plan.
Vendor_ID YVARCHAR2(32)A business partner who sells products or services.
M_Product_Category_ID YVARCHAR2(32)A classification of items based on similar characteristics or attributes.
M_Product_ID YVARCHAR2(32)An item produced by a process.
C_BP_Group_ID YVARCHAR2(32)A classification of business partners based on defined similarities.
C_BPartner_ID YVARCHAR2(32)Anyone who takes part in daily business operations by acting as a customer, employee, etc.
Timehorizon NNUMBERnull
Securitymargin NNUMBERnull
Simulate NCHAR(1)null
Launchpo NCHAR(1)null

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):

Unique

top

Columns

Purchasing Plan

Identifies a header of the purchase planning processes.

top

Client

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@)

top

Organization

Foreign key column to AD_Org table, (column: AD_Org_ID)

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

Name

A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.

top

Description

A description is limited to 255 characters.

top

Document Date

The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.

top

Planner

Foreign key column to MRP_Planner table, (column: MRP_Planner_ID)

top

Vendor

Foreign key column to C_BPartner table, (column: C_BPartner_ID)


Reference Table C_BPartner Vendors With the following where clause:

 
C_BPartner.IsVendor='Y'


top

Product Category

Foreign key column to M_Product_Category table, (column: M_Product_Category_ID)

top

Product

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

top

Business Partner Category

Foreign key column to C_BP_Group table, (column: C_BP_Group_ID)

top

Business Partner

Foreign key column to C_BPartner table, (column: C_BPartner_ID)

top

Time Horizon

Time horizon in number of days for the planning process.

top

Safety Lead Time

Safety margin in days for the production of ordered goods and availability of raw materials. For example, if there is a sales order for product A to be delivered on date X, MRP will plan to have the product A produced by date X minus the Lead Time number of days. In a similar way, MRP will make sure that the raw materials required for making product X will be available Lead Time number of days before the production must commence.

top

Simulate

Process to run the production planning process.

top

Create Purchase Order

Process to generate purchase orders.

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.mrp/MRP_Run_Purchase"

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