| Author |
Creating a stock control system
|
Kalpa Hangawatta
Greenhorn
Joined: Jun 23, 2009
Posts: 5
|
|
I'm new to JAVA and this forum.
First of all I'd like to say HI...!! to all.
Problem Description
Stock Control System
The "Be Strong" meat product company produce and supplies to the customers.
They supply single product. Product has two defferent pac size according to the weight. (Lets say pac_S and pac_L). They have around 25 customers.
Once stock updated, the request order quantity cheched against the current stock level Manager who supervice the making up of orders redy for dispatch.
Devolop system to generate the below given documents
1.Current stock in hand
2.Goods Transfer Note (GTN) to the customers.
3Goods receive Note (GRN) from the factory
your system shuld handle the stock movements only.
Guys please help me with dis scenario..
Thanks..
Have a grate day..!!!
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 23395
|
|
Hi,
Welcome to JavaRanch!
This site is all about helping people learn. We don't like to do people's work for them, but we're happy to help you learn to do it yourself.
So... Tell us how you think you might do it. What parts are you less sure about? What parts do you understand well enough to get started on?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Kalpa Hangawatta
Greenhorn
Joined: Jun 23, 2009
Posts: 5
|
|
Ernest Friedman-Hill wrote:Hi,
Welcome to JavaRanch!
This site is all about helping people learn. We don't like to do people's work for them, but we're happy to help you learn to do it yourself.
So... Tell us how you think you might do it. What parts are you less sure about? What parts do you understand well enough to get started on?
ya I wanna do it my self.
please tel me how to do it.., cz dis is ma first java scenario..,
Thanks
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 23635
|
|
Kalpa Hangawatta wrote:please tel me how to do it.., cz dis is ma first java scenario..,
That's quite a large first assignment. I'm surprised you weren't given something simple to start with.
In any case, the first step is design. What classes do you think you need? What attributes? Where do you plan to store the data?
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3, OCAJP
|
 |
Kalpa Hangawatta
Greenhorn
Joined: Jun 23, 2009
Posts: 5
|
|
Jeanne Boyarsky wrote:
That's quite a large first assignment. I'm surprised you weren't given something simple to start with.
In any case, the first step is design. What classes do you think you need? What attributes? Where do you plan to store the data?
acording to my view first I must start with a menu.
1.Data Entry
2.Report Genaration
3.Exit
must keep the menu repeating if the user enter an invalid value.
aftr selecting the data entry option it shuld display another sub menu.
1.Recived Quntity
2.Issued quantity
3.Back to main
after entering data it shuld update the DB.
when recived an order we must check the available quantity by selecting the report generation option.
hope to use 3 classes. one for menu, one for report generation and one for data entry. am i correct??
Hope to use an access DB to store data
|
 |
Rob Spoor
Saloon Keeper
Joined: Oct 27, 2005
Posts: 18365
|
|
Please http://faq.javaranch.com/java/UseAMeaningfulSubjectLine
"Help me please...!!!" is not very meaningful. You can edit your original post to change the subject line.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 26710
|
|
Not convinced. I think you are starting from the wrong end. You need your model first, which probably requires Meat and Customer classes. You get that working with a class running a main() method, from the command line. Then you consider adding a GUI as a front-end.
And please don't write cz or dis.
|
 |
Kalpa Hangawatta
Greenhorn
Joined: Jun 23, 2009
Posts: 5
|
|
Thanks budy.., got ya. I'v change the topic.
|
 |
Rob Spoor
Saloon Keeper
Joined: Oct 27, 2005
Posts: 18365
|
|
|
Excellent. Thank you.
|
 |
Kalpa Hangawatta
Greenhorn
Joined: Jun 23, 2009
Posts: 5
|
|
Campbell Ritchie wrote:
And please don't write cz or dis.
Thanks mate. Got it.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 26710
|
|
Kalpa Hangawatta wrote:Thanks mate. Got it.
|
 |
Max Rahder
Ranch Hand
Joined: Nov 06, 2000
Posts: 177
|
|
This is a huge assignment!
You need to break it into pieces. Your "model", which are your business objects. How you need to present those objects to the user (and how they edit them). And how you'll "persist" the data by saving it into some kind of database.
Are you supposed to use Swing? Do you need to store the data in an SQL database? Based on those answers, there are many great Sun tutorials that can help you: The Java Tutorials
|
 |
 |
|
|
subject: Creating a stock control system
|
|
|