Welcome to the Order Management System! This Java application allows companies to place and manage orders efficiently. It also provides features for tracking orders and viewing order details. Here's a brief overview of the system's functionalities and how to use them.
- Getting Started
- Placing an Order
- Cancelling an Order
- Tracking an Order
- Viewing Order Details
- Admin Panel
- Exiting the System
Before using the Order Management System, ensure you have Java installed on your system.
To access the system's features, a company must first authenticate using a password. Follow these steps:
- Choose option 1: "Authenticate Company."
- Enter the company's password when prompted.
- After successful authentication, choose option 2: "Place Order."
- Enter the following information:
- Order ID: A unique identifier for the order.
- Source: The starting point of the order.
- Destination: The destination of the order.
- The system will calculate the expected delivery date based on the source and destination. The order will be placed.
- Choose option 3: "Cancel Order."
- Enter the Order ID of the order you want to cancel.
- If the order is found and not already canceled, it will be canceled.
- Choose option 4: "Track Order."
- Enter the Order ID of the order you want to track.
- The system will display the expected delivery date if the order is active. If the order is canceled, it will be indicated.
- Choose option 5: "View Order Details."
- Enter the Order ID of the order for which you want to view details.
- The system will display detailed information about the order, including its source, destination, status, order date, and expected delivery date.
The admin panel is accessible only to authenticated companies. It provides the following functionalities:
- Display the phases of the order tracking system.
- Add a new phase to the order tracking system.
To access the admin panel:
- Choose option 6: "Admin Panel."
- Select an option:
- Option 1: Display the phases of the order tracking system.
- Option 2: Add a new phase by providing its name, distance, and time to reach the next phase.
To exit the Order Management System, choose option 7: "Exit." This will close the application.
Thank you for using the Order Management System! If you encounter any issues or have questions, please contact our support team.