• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Calculating the enteries of the database

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have made a project on Inventory Control System.
I have given two options ie an inward listing & issued listing.Whenever I make an entry in the inward list it gets added in the database but incase of similar entry the change in the quantity of the item should be at the same place where the earlier entry was made.
Similarly, when I issue or take any item from the database there should be deduction of the quantity in the database.Also if the same item is being taken out the change should be at the earlier place only.
Can someone please solve this problem for me? Thanks.

jagruti
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This forum is intended for questions and comments about this web site, www.javaranch.com. It is not for questions about the Java language - that's what all the other forums are for. I'm moving this to the JDBC forum.
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having a little trouble understanding your post.
My guess at what your looking for is a method for keeping track of how many items you have in inventory. You need to pass the item number, qty change ( ex -2 or +2) and lock it during this process.
HTH
Dan
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi J
Hey...there is more of u r Functionality Stuff rathere than
u r Java Problem...
Hey..
Just Explain u r Problem(Functionality) with java...
then I (. else any buudy)
will Help u
Raj
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic