Sage 100

 View Only
Expand all | Collapse all

Out of Stock Report

  • 1.  Out of Stock Report

    Posted 01-05-2025 15:20

    Client wanting some report to show how long an item has or had been out of stock.  I'm thinking possibly that one file used by the Trial Balance would be useful with the QOH, but you wouldn't be able to get any more specific than by months, not days.  Anyone else ever had this ask?



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------


  • 2.  RE: Out of Stock Report

    Posted 01-06-2025 02:19
    Edited by Dan Burleson 01-06-2025 02:31

    A V/I job or BOI script could enable this and wouldn't be restricted to month. Just how frequently they run the I/M Trial Balance report or some other report with a table having ItemCode and Warehousecode.

    A BOI script could run daily from the Task Scheduler and check the IM_ItemWarehouse QuantityOnHand field, and set an out-of-stock UDF in the same table with the date if it is found to be zero, and not already having an out of stock date, or clear dates for those found to have a positive QuantityOnHand. 

    A V/I job could do this as well, but would be slower. A BOI script could also maintain a log file of items and the dates that they run out. The out-of-stock UDF date field could be added to the I/M Trial Balance Work table to report on ItemCode by WarehouseCode. 


    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 3.  RE: Out of Stock Report

    Posted 01-06-2025 08:22

    I feel like that might not be enough, i.e. if the item was out of stock Feb15-Mar 12, then then again June 1-July 17, etc. and they want at the end of the year to know it was out of stock 75 days, for example.



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------



  • 4.  RE: Out of Stock Report

    Posted 01-06-2025 08:47

    I just saw this reply. Would you like me to work on a "count of OOS days"?



    ------------------------------
    Amber Prayfrock, Blytheco
    ------------------------------



  • 5.  RE: Out of Stock Report

    Posted 01-06-2025 09:44
    Edited by Jerry Norman 01-06-2025 09:52

    To my db development ears, this doesn't strike me as just a report problem, because of multiple occurrences issue. 

    Also, using a report like they propose will likely raise more, related questions for reporting.

    If I were you, I'd offer the straight report, like Amber proposes, but also an alternative: create a custom data table for daily stock levels of each sku (one line for each date and each sku in one column), created in a daily BOI/VI batch. Now you can run all sorts of reports (SI or DataSelf) about the issue at any time.

    If stockouts is a real problem, they should want to deal with them ASAP. So, SAW would help raise alarms.

    If they think they have issues with supplier performance, reports about PO promised vs received would help.

    What is the underlying problem they are really trying to fix? 

       



    ------------------------------
    Jerry Norman
    Smartbridge Partners
    (512) 653-7498
    ------------------------------



  • 6.  RE: Out of Stock Report

    Posted 01-06-2025 09:59

    @Jerry Norman - this is a sales defense mechanism - "We COULD have sold them if we had them".  Unfortunately, all of their product comes from overseas, so flagging the stock out when it happens isn't going to do much - the blame goes back to their parent company who isn't providing them with product.



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------



  • 7.  RE: Out of Stock Report

    Posted 01-06-2025 10:27

    Ouch!

    Spit-balling here, exercising my "value creation muscles:" In addition to the reports on the OOS table I mentioned, create a report including daily product shipments and the OOS. That should clearly illustrate (graphics via SI or DS) obvious connections between them. If I were their VP Sales, I'd also want some way of measuring orders not made (when they heard the long leads) and orders cancelled due to change in exp deliv dates.



    ------------------------------
    Jerry Norman
    Smartbridge Partners
    (512) 653-7498
    ------------------------------



  • 8.  RE: Out of Stock Report

    Posted 01-06-2025 12:14

    You'd only want to do this idea in SQL (due to processing time)... but you could set up a UDT with a list of dates (going back as far as they might want to run the report... exclude weekend dates if they don't want to count those...), then do a SQL view (outer join of CI_Item and the UDT) to calculate QoH for each item (adding up item transaction history from the beginning of time), for each date in the UDT.  Create a report based on the SQL view (which does all the hard work for you).



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 9.  RE: Out of Stock Report

    Posted 01-06-2025 12:18

    By logging to a CSV file by date when items go in and out of stock you would have the detail. A summary report on it would give you that information.



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 10.  RE: Out of Stock Report

    Posted 01-06-2025 08:46
      |   view attached

    Hi Beth - I created a quick draft from the Item Transaction History table to get the most recent Out-of-Stock Date but would have to think about how to do this for previous dates if that is what is needed. Would this work for your client as is?



    ------------------------------
    Amber Prayfrock, Blytheco
    ------------------------------

    Attachment(s)

    rpt
    OOS Draft.rpt   44 KB 1 version


  • 11.  RE: Out of Stock Report

    Posted 01-06-2025 10:17

    In case it's of any value, here's a report I had created a ways back.



    ------------------------------
    Brett Zimmerman
    Net at Work
    Greater Boston Area
    ------------------------------

    Attachment(s)



  • 12.  RE: Out of Stock Report

    Posted 01-06-2025 10:28

    Thanks, @Brett Zimmerman - not quite what they're looking for



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------



  • 13.  RE: Out of Stock Report

    Posted 01-06-2025 10:41

    Maybe...Start the CI_Item Last Sold Date as the beginning date (maybe copy it to a beginning date UDF) Use a trigger on the quantity on hand field.  When QOH goes to zero calculate the difference between the current Last Sold Date and the beginning date UDF.  Add the difference in days to a Days Out Of Stock UDF.  This wouldn't account for PO returns that make the QOH 0 and it probably wouldn't work if there is more than one warehouse.



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 14.  RE: Out of Stock Report

    Posted 01-06-2025 12:19

    I had a client moving off Inventory Advisor and needed this exact thing. I ended up creating something similar to what Dan is suggesting with BOI script that checks every day to see what is out of stock and if it finds something, it writes it as an "out" record to a UDT.  A second BOI script runs a bit later and starts with the UDT and compares that to IM_ItemWarehouse and if there are any "out" records that now have quantity on hand, an "In" record is created in the UDT.  The end result is a report that shows the time periods when an item was out of stock for whatever date range they wanted.  The BOI scripts run in the middle of the night because the IM_ItemWarehouse table is huge. 



    ------------------------------
    Kate Krueger
    Consultant
    MicroAccounting
    214.800.5555x553
    ------------------------------



  • 15.  RE: Out of Stock Report

    Posted 01-06-2025 12:26

    @Kate Krueger - hm, interesting point about Inventory Advisor... And @Dan Burleson, sorry, I didn't get that it was a Trans UDT, not an Item/Warehouse UDT, but it makes sense now.

    Thank you!



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------