Welcome to the Mini Grocery Inventory System user manual. This document will guide you through the usage and functionality of the system.
The Mini Grocery Inventory System is a simple inventory management tool built using TASM assembly language. It helps manage a small grocery store's inventory by providing basic features such as viewing the inventory, restocking items, selling items, categorizing inventory items by stock quantity, and generating sales reports.
- Clone this repository to your local machine within the
TASM
directory of DOSBox - Navigate to the TASM directory of the project in your terminal
- Run the following commands to compile the assembly source code and generate the executable file:
# To assemble the code
tasm <file>.asm
# To link the object file
tlink <file>.obj
# To run an executable file
<file>.exe
To begin using the Mini Grocery Inventory System, compile the provided assembly source code and run the executable. The system will display the main menu, which provides the following options:
- View Inventory
- Restock Item
- Sell Items
- Sort Items
- Sales Report
- Exit the Program
Enter the corresponding number for the desired action.
Below is a detailed explanation of each feature in the Mini Grocery Inventory System:
This feature allows you to view the current inventory of the grocery store. It displays the items with their respective ID, name, quantity, and price. Items that need restocking are displayed in red.
This feature enables you to restock items in the inventory. To restock an item, first, view the inventory, then select the item's ID you wish to restock. Next, enter the amount to restock (between 1 and 9). A success message will be displayed once the item has been restocked, and the updated inventory will be shown.
This feature allows you to record the sale of items in the inventory. To sell an item, first, view the inventory, then enter the item's ID you wish to sell. Next, enter the amount to sell (between 1 and 9). If there is enough quantity, a success message will be displayed, and the updated inventory will be shown. If there is not enough quantity, an error message will be displayed.
This feature helps you categorize the inventory items based on their stock count. You can choose to display items that are in stock, low on stock, or out of stock.
This feature generates a sales report that shows the sales made during the day. The report includes the item ID, name, quantity sold, price per unit, and total earned for each item. You can navigate back to the main menu or exit the program from the sales report screen.
This option allows you to exit the Mini Grocery Inventory System safely.
During the usage of the system, you can navigate between different features using the provided menu options. In most cases, you can return to the main menu or exit the program by entering the appropriate choice.
If you encounter any issues or errors, make sure that you have entered valid input for each operation. If the problem persists, please review the assembly source code for any syntax or logic errors.
This user manual has provided an overview of the Mini Grocery Inventory System's features and functionality. By following the instructions and understanding each feature, you should be able to manage your small grocery store's inventory effectively. If you have any questions or require further assistance, please refer to the provided source code for additional information and examples.