Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Creating a stock control system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Creating a stock control system" Watch "Creating a stock control system" New topic
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: 24183
    
  34

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: 30130
    
150

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]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
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
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

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 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
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
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

Joined: Oct 27, 2005
Posts: 19654
    
  18

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: 38033
    
  22
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating a stock control system
 
Similar Threads
Factory Homes Assignment
Functionality of Stock Intentory System : Factory Homes
Approach for making a Web app Customizable
Rate my code
Factory Homes Assignment