Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a stock control system

 
Kalpa Hangawatta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Kalpa Hangawatta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Kalpa Hangawatta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50277
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent. Thank you.
 
Kalpa Hangawatta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:

And please don't write cz or dis.


Thanks mate. Got it.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50277
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kalpa Hangawatta wrote:Thanks mate. Got it.
 
Max Rahder
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic