diff_months: 7

A simple sales management system

Download Solution Now
Added on: 2023-11-02 07:01:44
Order Code: CLT320189
Question Task Id: 0

Question 1: A simple sales management system

Discussion

Sales management system is implemented in Python which covers all the basic requirements mentioned in the instructions. To start off, I have implemented two separate modules: One for managing a customer and another for managing the sales transactions made by a customer. These modules are imported in the main file which interacts with the user. Customers and transactions made by a customers are stored in lists since it is easier to manipulate and retrieve info. Program is designed to more robust and covers all the basic error handling. Moreover, searches allow for partial match and are case insensitive. Program also allows for automatic assignment of ID’s for both customer and a transaction. This ensures that the generated ID is unique. However, there are still improvements that can be made to the program. I have not added extensive error handling . For example, currently, program allows negative transaction values which might not be practical. I also have not enforced any specific date format for the date input. Currently, user can add the date in any format. For a customer, customer ID follows the format of “C” followed by a number. Similarly, transaction ID follows the format of “T” immediately followed by a number. Program uses many programming concepts like list comprehension, string formatting, loops and conditionals.

 

Self-Evaluation and Diagnosis

Following features have been completed and working as expected covering all the functionalities:

  1. Add a customer: Can add a customer using name, postcode, and phone. Customer ID is automatically generated by the program. Auto generated ID is displayed to user at the end.
  2. Add a new transaction for a customer: Can add a transaction by entering customer ID. Program reports error when customer is not found. Transaction ID will be automatically generated. Program accepts only the 6 categories of items supported by the company: [food, alcohol and beverages, apparel, furniture, home appliances, computer equipments]
  3. Search customers and sales transactions using a single search string: Search is case insensitive and allows for partial match
  4. Display transactions of a customer: Program displays all transactions made by a customer. It also reports error if transactions are not made or if customer is not found.
  5. Delete customer and transactions: Program can delete  a customer and the associated transactions. IT can also delete a single transaction. Reports error when the customer or transaction ID is invalid.

 

Some improvements that can be made are:

  • Check for negative transaction values
  • Impose date format (YYYY-MM-DD) for dates

 

Test evidence

Add a new customer

Picture1-1698908084.png p>This feature is fully functional including automatic customer id generation as evidenced above.

 

Add a new transaction for a customer

Picture2-1698908191.png

Are you struggling to keep up with the demands of your academic journey? Don't worry, we've got your back! Exam Question Bank is your trusted partner in achieving academic excellence for all kind of technical and non-technical subjects.

Our comprehensive range of academic services is designed to cater to students at every level. Whether you're a high school student, a college undergraduate, or pursuing advanced studies, we have the expertise and resources to support you.

To connect with expert and ask your query click here Exam Question Bank

  • Uploaded By : Mohit
  • Posted on : November 02nd, 2023
  • Downloads : 0
  • Views : 145

Download Solution Now

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan

Premium

80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing
Most
Popular

Gold

30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%

Silver

20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more