0% found this document useful (0 votes)
3 views

Group 6 - Lab 7

The document outlines the creation of a data dictionary based on an Entity-Relationship Diagram (ERD) for a net-realizable-value test on year-end inventory. It includes detailed tables for various entities such as Login, Audit Log, NRV List, User, Inventory, Supplier, NRV Calculation, Category, and Results, specifying their columns, data types, descriptions, and keys. The objective is to identify inventory items where the cost exceeds their net-realizable value.

Uploaded by

scango.chmsu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Group 6 - Lab 7

The document outlines the creation of a data dictionary based on an Entity-Relationship Diagram (ERD) for a net-realizable-value test on year-end inventory. It includes detailed tables for various entities such as Login, Audit Log, NRV List, User, Inventory, Supplier, NRV Calculation, Category, and Results, specifying their columns, data types, descriptions, and keys. The objective is to identify inventory items where the cost exceeds their net-realizable value.

Uploaded by

scango.chmsu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Group 6 - Laboratory 7

- Be able to created data dictionary based on your ERD on assigned


task
Team Members: Meg Ryan Rojo
Michael Santiago
Redjay Deocampo
Shannen Cango
Objective:
To create a data dictionary based on ERD on performing a
net-realizable-value test on year-end inventory quantities, and list any items
where inventory cost exceeds net-realizable value.

Data Table Dictionary

1. Login Table

Column Name Data Type Description Key


Login_ID INT Unique ID for each Primary Key (PK)
login record
User_ID INT ID of the user logging Foreign Key (FK)
in
Password VARCHAR Encrypted password
for the user

2. Audit Log Table

Column Name Data Type Description Key


Log_ID INT Unique ID for each Primary Key (PK)
log entry
User_ID INT ID of the user Foreign Key (FK)
performing the
action
Action VARCHAR Description of the
action performed
Timestamp DATETIME Time and date of the
action
Details TEXT Additional details
about the action
3. NRV List Table

Column Name Data Type Description Key


NRV_List_ID INT Unique ID for each Primary Key (PK)
NRV list
Inventory_ID INT ID of the inventory Foreign Key (FK)
item
User_ID INT ID of the user Foreign Key (FK)
conducting the NRV
check

4. User Table

Column Name Data Type Description Key


User_ID INT Unique ID for each Primary Key (PK)
user
Name VARCHAR Name of the user
Role VARCHAR Role of the user

5. Inventory Table

Column Name Data Type Description Key


Inventory_ID INT Unique ID for each Primary Key (PK)
inventory item
User_ID INT ID of the user managing Foreign Key (FK)
the item
Item_Name VARCHAR Name of the inventory
item
Quantity INT Quantity of the item in
stock
Cost_Per_Unit DECIMAL(10,2) Cost per unit of the item

Selling_Price DECIMAL(10,2) Selling price of the item

Disposal_Cost DECIMAL(10,2) Cost associated with


disposing of the item

Total_Cost DECIMAL(10,2) Automatically calculated as


(Quantity * Cost_Per_Unit)
Category_ID INT ID of the item's category Foreign Key (FK)
6. Supplier Table

Column Name Data Type Description Key


Supplier_ID INT Unique ID for each Primary Key (PK)
supplier
Supplier_Name VARCHAR Name of the
supplier
Contact_Details VARCHAR Contact details for
the supplier
Inventory_ID INT ID of the supplied Foreign Key (FK)
inventory item

7. NRV Calculation Table

Column Name Data Type Description Key


NRV_ID INT Unique ID for each NRV Primary Key (PK)
calculation
Inventory_ID INT ID of the inventory item Foreign Key (FK)
being evaluated
Calculated_NRV DECIMAL(10,2) Calculated NRV value
(selling price minus
disposal costs)
Date_Calculated DATE Date the NRV was
calculated
Method_Used VARCHAR Method used to
calculate the NRV
Cost_Per_Unit DECIMAL(10,2) Cost per unit used in
the calculation
Comparison_Result VARCHAR Outcome of the
comparison (whether
cost exceeds NRV)

8. Category Table

Column Name Data Type Description Key


Category_ID INT Unique ID for each Primary Key (PK)
category
Category_Name VARCHAR Name of the
category
9. Results Table

Column Name Data Type Description Key


Results_ID INT Unique ID for each Primary Key (PK)
result entry
Inventory_ID INT ID of the inventory Foreign Key (FK)
item checked
Cost_Exceeds_NRV BOOLEAN Indicates if the cost
exceeds NRV
(True/False)
Date_Checked DATE Date the NRV
check was
performed

You might also like