![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, A friend of mine who has a clothing shop for children asked me to write an application for him which should allow him to track his inventory. I have a Purchase Orders file (with a line items file) and a Sales Orders file (with a line items file). What is the best way to calculate stock? The easiest way to do this is through the line items files and calculate the sum of quantities purchased an quantities sold for each item. Won't this slow down the application? Is there a better way to do this? |
#3
| |||
| |||
|
|
On Mar 8, 2:46 pm, hpu... (AT) gmail (DOT) com (Hans Puype) wrote: Hello, A friend of mine who has a clothing shop for children asked me to write an application for him which should allow him to track his inventory. I have a Purchase Orders file (with a line items file) and a Sales Orders file (with a line items file). What is the best way to calculate stock? The easiest way to do this is through the line items files and calculate the sum of quantities purchased an quantities sold for each item. Won't this slow down the application? Is there a better way to do this? Yes, it will. I wouldn't advise setting it up with live calculations. I would use scripts that perform functions like "Mark item received" or "Mark PO received" and "Mark Sales Order Shipped" such that they perform the correct additions and subtractions to your inventory records which will have fields for "quantity on hand" "quantity reserved" "quantity on order" etc. |
#4
| |||
| |||
|
|
Hello, A friend of mine who has a clothing shop for children asked me to write an application for him which should allow him to track his inventory. I have a Purchase Orders file (with a line items file) and a Sales Orders file (with a line items file). What is the best way to calculate stock? The easiest way to do this is through the line items files and calculate the sum of quantities purchased an quantities sold for each item. Won't this slow down the application? Is there a better way to do this? Thank you in advance, Kind regards, Hans |
#5
| |||
| |||
|
|
Yes, it will. I wouldn't advise setting it up with live calculations. I would use scripts that perform functions like "Mark item received" or "Mark PO received" and "Mark Sales Order Shipped" such that they perform the correct additions and subtractions to your inventory records which will have fields for "quantity on hand" "quantity reserved" "quantity on order" etc. Yep, a scripts approach is much better. Even if you've got a fast computer, eventually trying to calculate sales and additions on the fly is going to get slower and slower as more records are added. Using a script means you can avoid this and it alos makes it easier to "archive off" old sales records no longer needed without affecting the stock amounts. |
![]() |
| Thread Tools | |
| Display Modes | |
| |