The document defines the entity relationship diagram for a customer relationship management system. It includes entities for supplier, items, customer, services, schemes, vendor, employee, subtypes, purchase orders, complaints, and notifications. The entities track information such as customer and supplier names, item details, amounts due and paid, service information, and more. Relationships exist between entities such as customer-item, supplier-item, and purchase order-item.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online from Scribd
Entity Name: Supplier Field Name Data Type Size Constraint
The document defines the entity relationship diagram for a customer relationship management system. It includes entities for supplier, items, customer, services, schemes, vendor, employee, subtypes, purchase orders, complaints, and notifications. The entities track information such as customer and supplier names, item details, amounts due and paid, service information, and more. Relationships exist between entities such as customer-item, supplier-item, and purchase order-item.
The document defines the entity relationship diagram for a customer relationship management system. It includes entities for supplier, items, customer, services, schemes, vendor, employee, subtypes, purchase orders, complaints, and notifications. The entities track information such as customer and supplier names, item details, amounts due and paid, service information, and more. Relationships exist between entities such as customer-item, supplier-item, and purchase order-item.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online from Scribd
Download as xls, pdf, or txt
0 ratings0% found this document useful (0 votes)
21 views6 pages
Entity Name: Supplier Field Name Data Type Size Constraint
The document defines the entity relationship diagram for a customer relationship management system. It includes entities for supplier, items, customer, services, schemes, vendor, employee, subtypes, purchase orders, complaints, and notifications. The entities track information such as customer and supplier names, item details, amounts due and paid, service information, and more. Relationships exist between entities such as customer-item, supplier-item, and purchase order-item.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online from Scribd
Download as xls, pdf, or txt
You are on page 1of 6
Entity Name : Supplier
Field Name Data type Size Constraint
Supp_Id Varchar 5 Primary Key Supplier Name Char 15 Item details Char 10 Area Varchar 10 Purchase Order no Varchar 10 GRN no Varchar 10 Amount Paid number 5 Amount Due number 5
Entity Name : Supplier - Item
Field Name Data type Size Constraint Supp_Id Varchar 5 Composite Primary Key Item_Id Varchar 5 Composite Primary Key Item type Varchar 10 Supplier Name Char 15 Item Cost Char 5 Item Name Char 15
Entity Name : Item
Field Name Data type Size Constraint Item_Id Varchar 5 Primary Key Item Name Char 15 Reorder Level Number 4 Purchase Date Date Expire date Date Item Cost char 5 Quantity number 4
Entity Name : Customer
Field Name Data type Size Constraint Cust_Id Varchar 5 Primary Key First Name Char 10 Middle Name Char 10 Last Name Char 10 Name of Service Char 15 Email varchar 20 Password varchar 20 Phone Number 10 Area Char 10 Amount Due Number 5
Entity Name : Customer - Item
Field Name Data type Size Constraint Cust_Id Varchar 5 Composite Primary Key Item_Id Varchar 5 Composite Primary Key First Name Varchar 10 Middle Name Varchar 5 Last Name Varchar 10 Item Name Char 15
Entity Name : Customer - Services
Field Name Data type Size Constraint Cust_Id Varchar 5 Composite Primary Key Service_Id Varchar 5 Composite Primary Key Customer Name Char 15 Start Date Date Name of Service Char 15
Entity Name : Services
Field Name Data type Size Constraint Service Id varchar 5 Primary key Service Name char 10 Scheme_id Varchar 5 Foreign key Warranty(days) number 5 Service Cost Number 5
Entity Name : Scheme
Field Name Data type Size Constraint Scheme_id Varchar 5 Primary key Scheme Name char 15 Scheme validity(days) Number 5 scheme Cost Number 5
Entity Name : Vendor
Field Name Data type Size Constraint Vendor_Id varchar 5 Primary Key Vendor Name char 15 Quotation no. varchar 10 Area char 10 Amount Paid Number 6 Amount Due Number 6
Entity Name : Vendor - Item
Field Name Data type Size Constraint Vendor_Id varchar 5 Composite Primary Key Item_Id varchar 5 Composite Primary Key Vendor Name char 15 Item Name Char 15
Entity Name : Vendor - Customer
Field Name Data type Size Constraint Vendor_id varchar 5 Composite Primary Key Cust_Id varchar 5 Composite Primary Key Vendor Name char 15 Customer Name Char 15 Scheme Name Char 15 Service Name Char 15
Entity Name : Employee
Field Name Data type Size Constraint Emp_Id Varchar 5 Primary Key Employee Name char 15 Age Naumber 3 Salary number 5 Date of joining Date
Entity Name : Sub Type
Field Name Data type Size Constraint Sub_Id varchar 5 Primary Key Department varchar 5 Designation varchar 10
Entity Name : Purchase Order
Field Name Data type Size Constraint Supp_Id Varchar 5 Foreign Key Cust_Id Varchar 5 Foreign Key Date of Issue Date Supplier Name char 15 Order No Varchar 5 Primary Key
Entity Name : Purchase Order - Item
Field Name Data type Size Constraint Order no Varchar 5 Composite Primary Key Item_Id Varchar 5 Composite Primary Key Quantity Number 5 Name of the service Char 15 Date of delivery Date
Entity Name : Complaints
Field Name Data type Size Constraint Comp_Id Varchar 5 Primary Key Cust_Id Varchar 5 Foreign Key Sub_Id Varchar 5 Foreign Key Complaint_type Char 30 Date of Lodging Date Date Resolved Date Compliant Status Char 15 Person Handling Char 15
Entity Name : Customer - Employee
Field Name Data type Size Constraint Cust_Id Varchar 5 Composite Primary Key Emp_Id Varchar 5 Composite Primary Key Customer Name Char 15 Name of Service Char 15 Area Char 10 Employee Name char 15 Designation char 15
Entity Name : Employee - Complaint
Field Name Data type Size Constraint Complaint Id + Employee Id Varchar 5 Composite Primary Key Employee Name char 15 Designation char 15 Name of Service Char 15 Complaint Status Char 15 Turn Around time Varchar 10
Entity Name : Notification
Field Name Data type Size Constraint Notification Id Varchar 5 Primary Key Date of Notification Date Notification Time Date Cust_Id Varchar 5 Foreign Key Customer Name Char 15 Type of Service Char 15 Amount Due Number 6 Amount Paid Number 6