Affinity IT
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of JBoss AS 5 Development this week in the JBoss forum
or Spring Dynamic Modules in Action in the Spring forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Beginning Java
 
RSS feed
 
New topic
Author

Creating a stock control system

Kalpa Hangawatta
Greenhorn

Joined: Jun 23, 2009
Messages: 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..!!!

This message was edited 1 time. Last update was at by Kalpa Hangawatta

Ernest Friedman-Hill
author
Sheriff

Joined: Jul 08, 2003
Messages: 20990

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][My Art][AskingGoodQuestions]
Kalpa Hangawatta
Greenhorn

Joined: Jun 23, 2009
Messages: 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
Sheriff

Joined: May 26, 2003
Messages: 16918

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]

"The set strikes me as something like the set of potatoes, radishes, farming, and lunch. " - a colleague's way of comparing both overlapping and disparate groups. made me laugh and thought of the ranch
Kalpa Hangawatta
Greenhorn

Joined: Jun 23, 2009
Messages: 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 Prime
Bartender

Joined: Oct 27, 2005
Messages: 8261

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
Bartender

Joined: Oct 13, 2005
Messages: 14509

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
Messages: 5

Rob Prime wrote: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.


Thanks budy.., got ya. I'v change the topic.
Rob Prime
Bartender

Joined: Oct 27, 2005
Messages: 8261

Excellent. Thank you.

SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Kalpa Hangawatta
Greenhorn

Joined: Jun 23, 2009
Messages: 5

Campbell Ritchie wrote:

And please don't write cz or dis.


Thanks mate. Got it.
Campbell Ritchie
Bartender

Joined: Oct 13, 2005
Messages: 14509

Kalpa Hangawatta wrote:Thanks mate. Got it.
Max Rahder
Ranch Hand

Joined: Nov 06, 2000
Messages: 167

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
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Beginning Java
 
RSS feed
 
New topic
MyEclipse Enterprise Workbench