Database ordering management system build help

Posted on 2014-02-03
Medium Priority
Last Modified: 2014-03-01
Need help building my product ordering database to thwart the following issues that can occur:

Larger amount needed after order is placed
Smaller amount needed and have products to return

How can we keep track and automate an ordering procedure that will address these problems?
Question by:DJPr0
LVL 12

Assisted Solution

Tony303 earned 400 total points
ID: 39831141
What I think you are asking is..

What is my inventory after orders are fullfilled and or after orders are "cancelled" or returned.

There are many ways to do this...

Programatically, in the app to recalculate inventory when an order is placed.

You could use a trigger within the database that recalculates the inventory when data in the orders table is inserted or updated?

LVL 25

Assisted Solution

jogos earned 400 total points
ID: 39831285
The classic order/orderlines will do for the extra order. Just add a new orderline for the same product. When an order is already handled i think accounting will want a new order registered.

For the return of goods that means your order has been shipped. The credit note flow will be the way to go. A credit note as negative order.
LVL 59

Accepted Solution

Jim Dettman (Microsoft MVP/ EE MVE) earned 1200 total points
ID: 39832241
Without knowing more about your business, it's hard to offer details, but in general you have a purchase order system that tracks what you order, and a inventory system that tracks what you have on hand and what you have received/returned, sold or have had returned, or something like inventory on hand adjustments performed (all forms of in's and out's to inventory - how and why qty oh hand changed).

For the PO side, there are a couple of different types of PO's.

1.  Regular PO's - you submit a PO to a vendor for specific amounts.   As part of the PO, you allow for changes.

   So say you want to increase/decrease a qty.  You call the vendor up, talk about it, and yes it can be done.   So you adjust the qty(s) and now it becomes PO#  1234B where is was 1234A and everyone knows it was changed from the original.

  Changing a PO like this can/should be only done up to a point though.  A PO is a legal contract and you are agreeing to buy a set amount of something at a set price.

2. You can have a "blanket" PO; you agree to buy a set amount of something (say 10,000 units), but don't specify when or in what qty's those 10,000 will be bought right off.

  For example, you negotiate a price of .13 each for 10,000 units.   A week later, you decide that you'll need:

5,000 now
2,000 a month after that
1,000 a month after that for three months

You enter releases against the blanket PO and specify the item, date you need it, and the qty.

  You do this with a blanket PO until the original 10,000 units are consumed by the releases.  Blanket PO's often have an expiration date.

  Basically it's an agreement on the price, but lets you set when and how much you want to receive.


Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have had my own IT business for a very long time. I started mostly with hardware and after about a year started to notice a common theme. I had shelves with software boxes -- Peachtree, Quicken, Sage, Ouickbooks -- and yet most of my clients were…
I recently worked on a Wordpress site that utilized the popular ContactForm7 (https://contactform7.com/) plug-in that only sends an email and does not save data. The client wanted the data saved to a custom CRM database. This is my solution.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question