• Post Reply Bookmark Topic Watch Topic
  • New Topic

Having problem with developing java codes  RSS feed

 
Ebenezer Y Teah
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Having problem with developing the other java classes and methods for these instructions.
POS System
A Simple Point-of-Sale (POS) System
TASK
In this assignment, the overall task is to develop an application that records sales
and handle payments in a retail store. Study the POS Project
Requirements below. Your POS application should be executed in Interactivemode.

In the interactive mode, the POS accepts textual commands submitted by cashiers
at their consoles to handle payments in a retail store. In the interactive mode, a
cashier will be asked to log in the system using his/her user id and password.
(There are no limits on the maximum tries of incorrect passwords or users). The
system displays a successful message if the cashier inputs the right user id and
password. If the user id or password is wrong, the cashier will be asked
to re-enter as follows.

Welcome to the Point-Of-Sale Registration System

Please enter your user name: alinaqvi
Please enter your password: thisismypassword
<LOG> Electronic-Sales Counter is started successfully by user alinaqvi!
--------------------------------------------------------
Welcome to the Point-Of-Sale Registration System
Please enter your user name: alinaqvi1
<LOG> Non-existent user alinaqvi1, please enter again!
Please enter your user name:
POS Project Requirements
Point of Sale Support System is developed to support supermarket-type store operations. In particular software shall:

Keep track of the amount of sales ($) at each register for each log on/off cycle. The register record of each such cycle shall identify the register, the user, the dates and times of log on/off, and the amount of sales.

Keep track of the "drawer" for each cashier on duty. The "drawer" keeps track of the total amount of sales made by a single cashier during the entire shift.

Support cancellation of the entire sale as well as return of an individual item.

Keep track of the inventory, including quantity, price, supplier, and outstanding orders.

Keep track of orders for a period of one year and the suppliers for a period of one year from the time of the last order.

Support inventory management (add/remove item to/from inventory, setting threshold for re-ordering.)

Extra Credit: Support receiving and warehouse operations including reporting spoilage. Broken, spoiled, damaged items have to be removed from inventory with proper authorization.

Support automatic reorder of items triggered by the stock falling below a set threshold.

Support report generation:

Inventory report (listing off al inventory items with name, quantity, threshold, supplier, and quantity of items in pending orders.)
Cashier report (listing of all assignment records, all register records, all discrepancy records.)

Register report (listing of all register records, all assignment records.)
1) First design the system and use UML.
2) Then Start coding.

This is what I have done.




 
Henry Wong
author
Sheriff
Posts: 23283
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

An excerpt from your assignment...

Ebenezer Y Teah wrote:
1) First design the system and use UML.
2) Then Start coding.


which leads to the first question... Can you show us what you have done with the design first?

Henry
 
Carey Brown
Bartender
Posts: 3011
46
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A small start so far. Where are you stuck? Does the code you've created so far compile and do what it's supposed to?

Its always a good idea to develop your code in byte sized pieces. Write a little bit of code, liberally sprinkle with print statements so that you can tell if the code is doing what you intend, compile and run. Only when you have this working should you consider adding more code (with more prints, etc.).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!