Sei sulla pagina 1di 6

1.

DataDesign

1.1 Data Dictionary

Table 4.1 depicts the data dictionary for the Speed Up ERP contract management database:

Table Data Element Data type


Mandat
ory Comments
Contract Contract Number
(Key) Char(7) Y System generated
Status VarChar(20) Y
Contract Name VarChar(256) Y
Customer ID Char(7) Y Foreign Key to "Customer"
Contractor ID Char(7) Y Foreign Key to "Contractor"
Category Char(7) Y Foreign Key to "Category"
Standard Required Char(7) N Foreign Key to "Standards"
Contact Person VarChar(256) N
Contract Value
Decimal
(10,2) Y
Populated from "Contract
Details"
Start Date
Date
(mm/dd/yy) Y
End Date
Date
(mm/dd/yy) Y
Contract Details Contract Number
(Key) Char(7) Y System generated
Object Type Char(7) Y Foreign Key to "Object Type"
Sub Object Type Char(7) Y
Foreign Key to "Sub Object
Type"
Object VarChar(256) Y
Sub Object VarChar(256) Y
Object Size Char(20) N
Sub Object Size Char(20) N
UOM Char(3) N Foreign Key to "UOM"
Service Action VarChar(256) Y
Function 1 Char(7) N Foreign Key to "Function"
Function 2 Char(7) N Foreign Key to "Function"
Frequency 1 Char(7) N Foreign Key to "Frequency"
Frequency 2 Char(7) N Foreign Key to "Frequency"
Contract
Requirements
Contract Number
(Key) Char(7) Y System generated
Responsible Person VarChar(256) N
Latest MR days Char(3) N
Exit Conditions VarChar(256) N
Auto Prolong
Date
(mm/dd/yy) N
Auto Prolong Value
Decimal
(10,2) N Currency
Payment Terms Char(3) Y
Foreign Key to "Payment
Terms"
Interest
Percentage
(%) N
Change Conditions VarChar(256) N
Parent Contract Char(7) N Foreign Key to "Contract"
First Contract
Signed
Date
(mm/dd/yy) N
Delivery Terms VarChar(20) N
Delivery Procedure VarChar(256) N
Complaints Period Char(3) N
Notes VarChar(256) N
Index Reulation VarChar(256) N
Contract
Projects
Contract Number
(Key) Char(7) Y
Project ID VarChar(20) Y Foreign Key to "Project"
Description VarChar(256) Y
Start Date
Date
(mm/dd/yy) Y
End Date
Date
(mm/dd/yy) Y
Progress
Percentage
(%) Y
Resource VarChar(256) Y
Linked
Documents
Contract Number
(Key) Char(7) Y
NDA Blob (file) N
Standard Blob (file) N
Sales Agreement Blob (file) N
Contract Blob (file) N
Customer
Details Customer ID (Key) Char(7) Y System generated
Customer Name VarChar(256) Y
Business
Description VarChar(512) Y
Address VarChar(256) N
City VarChar(256) N
State VarChar(256) N
Post Code Char(10) N
Country VarChar(256) N Link to "Country"
Email Address VarChar(256) Y
Phone Number VarChar(20) N
Reg Number VarChar(20) Y
Tax Number VarChar(20) Y
Contractor
Details Contractor ID (Key) Char(7) Y System generated
Contractor Name VarChar(256) Y
Business
Description VarChar(512) Y
Address VarChar(256) N
City VarChar(256) N
State VarChar(256) N
Post Code Char(10) N
Country VarChar(256) N Link to "Country"
Email Address VarChar(256) Y
Phone Number VarChar(20) N
Reg Number VarChar(20) Y
Tax Number VarChar(20) Y
Category Category ID (Key) Char(7) Y
Description VarChar(20) Y
Standards Standard ID (Key) Char(7) Y
Description VarChar(256) Y
Payment Terms Terms ID (Key) Char(3) Y
Description VarChar(256) Y
Object Type Type ID (Key) Char(3) Y
Description VarChar(256) Y
Sub Object Type Sub Type ID (Key) Char(3) Y
Description VarChar(256) Y
UOM UOM (Key) Char(3) Y
Description VarChar(256) Y
Function Function ID (Key) Char(7) Y
Description VarChar(256) Y
Frequency Frequency ID (Key) Char(7) Y
Description VarChar(256) Y
Project Project ID (Key) Char(7) Y
Description VarChar(256) Y
Start Date
Date
(mm/dd/yy) Y
End Date
Date
(mm/dd/yy) Y
Progress
Percentage
(%) Y
Resource VarChar(256) Y
Country Country ID (Key) Char(3) Y
Description VarChar(256) Y
RFQ RFQ ID (Key) Char(7) Y
Contract ID Char(7) Y Foreign Key to "Contract"
Quotation Quotation ID (Key) Char(7) Y
RFQ ID Char(7) Y Foreign Key to "RFQ"
Contract ID Char(7) Y Foreign Key to "Contract"
Approved Bit(Y/N) N
Accepted by
Customer Bit(Y/N) N
Rejection Reason VarChar(256) N

Table 4.1 Data Dictionary