Parts and Inventory Control for ConAgra Grocery Products via Computerized Maintenance Management Software (CMMS)


AMAZON multi-meters discounts AMAZON oscilloscope discounts


HIGH-LEVEL MODELING and CONCEPTUAL SCHEMA DESIGN

Based on the requirements listed above, a high-level model or ER-diagram, can be created to establish the basic construct of the schema.

Entity Types, Attributes and Values

In order to construct an ER diagram for the EasyMainsaver computerized maintenance management software, the control factors for stockroom parts must be categorized into entity types and attributes. The illustrations below describe entity types (a set of entities that have the same attributes) and attributes (a particular property that describes an entity) with their independent existences.


AMAZON multi-meters discounts AMAZON oscilloscope discounts
STOCK_ITEM
Stk_No
Description
Part_No
Vendor_ID
Loc_ID
OH_Qty

The table above illustrates the STOCK_ITEM entity type which is described by the following attributes (all of which are atomic):

LOCATION
Room_ID
Cabinet
Drawer
Shelf
Loc_ID

The table above illustrates the LOCATION entity type; each stock item, with respect to location, is described using the following attributes (all of which are atomic):

Loc_ID: used in relationships (see next section).

EQUIPMENT
Name_of_Equipment
Equip_No
Stk_No
Part_No

The table above illustrates the EQUIPMENT entity type; this describes the particular equipment, machine or system that each particular stock item is associated with using the following attributes (all of which are atomic):

VENDOR
Name
Addr
Phone_No
FAX_No
Vendor_ID

The table above illustrates the VENDOR entity type; this describes a particular vendor from whom stock items are purchased. It consists of the following attributes (all of which are atomic):

ORDER_POINT
Order_Pt
Tot_OH
Max_OH
Stk_No
Cost_ea_$
Lead_time
Vndr_ID
Date_promised
Date_last_activity

The table above illustrates the ORDER_POINT entity type. It is used to control the requisition of parts and consists of the following attributes (all of which are atomic):

The diagram below illustrates the relationship of a sample entity type, EQUIPMENT, and a few of its entities. For example, the first item is called “Cup Coder” (the machine or equipment); this is the value of the attribute Name_of_Equipment. Listed next is the value for the Equipment_No attribute, and so on. The entire group of entities, from e1 to en, represent the entity set of EQUIPMENT.

Relationships, Relationship Types, Roles, and Structural Constraints

Looking at the ER diagram (see Appendix) various relationships can be noted. A description of each is now presented.

Relationship Role Name: KEPT_IN:

[a] This relationship type between the entity types STOCK_ITEMS and LOCATIONS is binary – that's , there are two participating entity types. There are no recursive relationships used.

[b] Cardinality Ratio: N:1. The reason for this is as follows: the most specific description for a part location is the drawer of a cabinet. The inside of the drawer is divided into compartments (much like the compartments inside a fishing tackle-box). Each compartment is labeled with a specific stock number. Therefore, many individual stock-numbered items are found within a single drawer. This means many stock items (N) may be related to a single location (1).

The following diagram illustrates the binary relationship KEPT_IN between STOCK_ITEM and LOCATION. Lower case letters followed by the integer subscript denote individual entities within each entity type. The entity type names appear above each terminator.  Please note: the GIF image may take a few seconds to appear).

[c] Participation Constraints and Existence Dependencies: The thick black line that connects the relationship to the two entity types represents total participation whilst the thin line partial. It can be seen that LOCATIONS participates totally in the KEPT_IN relationship type whereas STOCK_ITEMS is only partial. This is due to the fact that as new items are being added to the inventory for the first time, they may “float” at the Receiving Dock for a period of time before a formal location is assigned to them. Therefore, STOCK_ITEMS may exist without having an associated LOCATION; but, each LOCATION must have at least one STOCK_ITEM.

Relationship Role Name: USED_ON

[a] This relationship type between the entity types STOCK_ITEMS and EQUIPMENT is binary. There are no recursive relationships used.

[b] Cardinality Ratio: N:M. A particular stock item may be used by many machines (pieces of equipment or systems), such as a ½ inch bolt; concurrently, a particular piece of equipment or machine may have many parts associated with it.

[c] Participation Constraints and Existence Dependencies: Participation is total on both sides of the relationship. That is, one can't exist without the other. This is a business constraint in that every stock item ordered, even new items, must belong to a particular equipment, machine or system. The definition of “equipment” can also include particular rooms or areas of the plant, all of which have a particular equipment number.

The following diagram illustrates the binary relationship USED_ON between STOCK_ITEMS and EQUIPMENT. Lower case letters followed by the integer subscript denote individual entities within each entity type. The entity type names appear above each terminator.  Please note: the GIF image may take a few seconds to appear).

Relationship Role Name: SUPPLIED_BY

[a] This relationship type between the entity types STOCK_ITEMS and VENDORS is binary. There are no recursive relationships used.

[b] Cardinality Ratio: N:1. A particular stock item may only be provided by one vendor (that is, a particular item can't have more than one vendor at any given time); however, a particular vendor may supply more than one stock item.

[c] Participation Constraints and Existence Dependencies: The participation on both sides is total. This is a business constraint in that all parts must to come from a supplier or vendor (they are not fabricated in-house). Needless to say, all vendors must have at least one stock item related to them. All vendor accounts at ConAgra are “open”. If an account is closed, the vendor entity is deleted; the stock item associated with that vendor is then either eliminated or related to another vendor.

Relationship Role Name: HAVE_AN

[a] This relationship type between the entity types STOCK_ITEMS and ORDER_POINT is binary. There are no recursive relationships used.

[b] Cardinality Ratio: 1:1. A particular stock item will have exactly one order point. And, a particular order point will have only one stock item associated with it. This is due to the fact that the primary key, Stk_No, identifies each tupple as unique (see Relationship Model Concepts section)

[c] Participation Constraints and Existence Dependencies: An order point entity must have a related stock item. However, a particular stock item can exist without an order point if was a one-time order (a rare situation but, by all means, possible).

Schema Diagram

The schema diagram of the EasyMainsaver relational database is displayed below (shown with primary keys underlined):

STOCK_ITEM

Stk_No Part_No Description Vendor_ID Loc_ID OH_Qty

LOCATION

Room_ID Cabinet Drawer Shelf Loc_ID

EQUIPMENT

Name_of_Equip Equip_No Stk_No Part_No

VENDORS

Name Vendor_ID Addr FAX_No Phone_No

ORDER_POINT

Order_Pt Tot_OH Max_OH Stk_No Cost_ea_$ Lead_time Vndr_ID Date_promised Date_last_activity

OUTLINE

  1. INTRODUCTION
  2. REQUIREMENTS ANALYSIS and MINIWORLD RULES
  3. HIGH-LEVEL MODELING and CONCEPTUAL SCHEMA DESIGN
  4. RELATIONSHIP MODEL CONCEPTS
  5. SQL
  6. APPENDIX
  7. REFERENCES and RESOURCES

top of page



AMAZON multi-meters discounts AMAZON oscilloscope discounts

Industrial Maintenance pages:

Industrial Preventive Maintenance (PM) FAQ | Choosing Computerized Maintenance Management Software (CMMS) | Maintenance Management Books

Maintenance-Industrial home page