Share Your Source Code or Article

Do you have source code, articles, tutorials, web links, and books to share? You can write your own content here. You can even have your own blog.

Submit now...

Database Programming Made Easy

This tutorial will teach you step by step on how to connect and manipulate database. If you'd like to suggest a tutorial please write a comment at the bottom of this article.

Read more...

Hire Us to Do Your Work

Do you want a customized system? Do you want to setup your own website to do business? Then we are here to help you in your programming needs.

Read more...

Search

Kuya Admin and th rest please help me on my inventory system
7 replies [Last post]
Kim
User offline. Last seen 19 weeks 2 days ago. Offline
Joined: 03/08/2010


First of all I'm using MS Access as my database... I have 4 tables in my database namely tblpo, tblsupplier, tbluser, tblstocks. The flow is the same as other inventory system. Add Stocks/Quantity during PO Entry and minus Stocks/Quantity during sales.

Adding Stocks is simple but my question is how to minus stocks during sales, I'm not really familiar with the coding. Hope somebody will help. Thanks

Kim




Kim
User offline. Last seen 19 weeks 2 days ago. Offline
Joined: 03/08/2010
Inventory System

Hi thanks for the reply.

The inventory system that I created involves sales transactions.The sales transaction is where Stock-out comes in and Stock-in when you create a PO and then receiving the item. The supplier there is just an additional information or a feature for the report just for tracking purposes.Now, I just want to ask some ideas on how to subtract quantity available from quantity to be sold.

In my database the quantity/item added is stored at tblpo. Cuz it as added during the PO entry and receving the item. And the to be subtracted at quantity in tblstocks. So there are 2 tables involved. I really need help on how to subtract from tblpo to tblstocks.

Thanks

Kim

cidfrey's picture
User offline. Last seen 1 week 13 hours ago. Offline
Joined: 12/17/2009
First

First of all elaborate well what you want. Kse pag sinabi mong Inventory, ndi kasama ung sales at ung supplier.

At pag sinabing inventory, Available stocks, Receive stocks and Release stocks. Inventory ay Stock in and Stock out un lng.

System Developer
Contacts :
09087076539
09327081978
recca_flame05@yahoo.com >>> Facebook/YM
ICCT Colleges Cainta Rizal

Kim
User offline. Last seen 19 weeks 2 days ago. Offline
Joined: 03/08/2010
Reply

Hi thanks for the reply.

The inventory system that I created involves sales transactions.The sales transaction is where Stock-out comes in and Stock-in when you create a PO and then receiving the item. The supplier there is just an additional information or a feature for the report just for tracking purposes.Now, I just want to ask some ideas on how to subtract quantity available from quantity to be sold.

In my database the quantity/item added is stored at tblpo. Cuz it as added during the PO entry and receving the item. And the to be subtracted at quantity in tblstocks. So there are 2 tables involved. I really need help on how to subtract from tblpo to tblstocks.

Thanks

Kim

born_2_code's picture
User offline. Last seen 6 weeks 6 days ago. Offline
Joined: 06/10/2010
subtracting inventory

Hi Kim! Did u already find a solution to ur problem?

If not, u can try this one.

=== this is a query to get the total received during PO, total sold during sales and the remaining qty - the link for the two tables is the "ITEM" ===

SELECT a.item_code, sum(a.receive_qty) as total_quantity, sum(b.sold_qty) as total_sold, (sum(a.receive_qty) - sum(a.sold_qty)) as remaining_qty
FROM TBLPO a left join TBLSTOCKS b ON a.item_code = b.item_code
GROUP BY a.item_code

=== don't be confuse on "item_code, receive_qty and sold_qty", I juz made it up hoping that was the fieldname on ur tables.

If you have question/clarrifications, you can send me a mcgs.

Hope this help!

born.2.code.06@gmail.com

cidfrey's picture
User offline. Last seen 1 week 13 hours ago. Offline
Joined: 12/17/2009
Wait

I tried to reply yesterday night but I didn't make it.

Here are some photos of my very first Inventory system. This is not a POS of Sales Inventory.

This system Includes the Inventory (current stocks), Receive and Release. As you can see the Receive and Release are similar to each other, but it is different ^_^

Inventory.jpg Receive.jpg Release.jpg

System Developer
Contacts :
09087076539
09327081978
recca_flame05@yahoo.com >>> Facebook/YM
ICCT Colleges Cainta Rizal

Kim
User offline. Last seen 19 weeks 2 days ago. Offline
Joined: 03/08/2010
Ok

Thanks. Can you post your system I'd like to see it, If it is okay with you, I really appreciate your help. Thanks a lot

Anonymous
Ehem

I'm going to post it after my defense ok? Not now po. ^_^

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Step by Step Java Tutorial

In this tutorial you will learn how to program with Java. It has a rich of information to be educated well with Java.

Read more...

Do You Have Question?

Do you have any question related to computer programming? Visit our forum and post new topic on the category you like. Be gentle when asking a question.

Ask now...

Point of Sale

Point of Sale is very useful especially for supermarkets or restaurants. I have included a barcode scanner in this program. Please check it out.

Read more...