Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
reports:purchasing [2024/05/09 05:24] – [mSupply's better algorithm] Craig Drown | reports:purchasing [2024/05/16 02:05] (current) – Craig Drown | ||
---|---|---|---|
Line 73: | Line 73: | ||
===== Suggested order quantities ===== | ===== Suggested order quantities ===== | ||
Use this report for mSupply to analyse your current stock and, based upon a required number of months of stock cover which you enter, suggest how much of each stock item you should consider ordering. | Use this report for mSupply to analyse your current stock and, based upon a required number of months of stock cover which you enter, suggest how much of each stock item you should consider ordering. | ||
+ | |||
+ | There are currently 2 options for the suggested order quantities report: | ||
+ | |||
==== Quantification ==== | ==== Quantification ==== | ||
Line 87: | Line 90: | ||
=== Adjust by % of days out of stock === | === Adjust by % of days out of stock === | ||
- | This method takes each month' | + | This method takes each month' |
+ | We multiply the consumption for the month by (Days in month divided by Days in stock) to get adjusted AMC | ||
+ | Take this example: | ||
+ | * Item B was in stock for 10 days in the month | ||
+ | * Its consumption was 500 | ||
+ | * The adjusted AMC is 500 x 31 / 10 = 1,550 | ||
- | For option 1.a. | ||
- | |||
- | stock_history_by_month() will give you the days out of stock. Multiply the consumption for the month by (Days in month/Days in stock) to get adjusted AMC | ||
=== Only consider fully stocked months === | === Only consider fully stocked months === | ||
Here, we are attempting to address months with low stock by excluding them from our calculations, | Here, we are attempting to address months with low stock by excluding them from our calculations, | ||
There is a field shown "% of days in stock to be considered fully stocked" | There is a field shown "% of days in stock to be considered fully stocked" | ||
- | dFor option 1.c. | ||
=== mSupply' | === mSupply' | ||
- | We're trying | + | We've tried to come up with a better algorithm here by: |
- | * ignoring months that are in stock for < 33% of days - the consumption on the remaining | + | * ignoring months that are in stock for < 33% of days. That is, if the item was in stock for less than 10 days in the month, |
- | * For months with stock >= 33% of days, Multiply the consumption for the month by Square Root(Days in month/Days in stock) to get adjusted AMC. | + | * For months with stock >= 33% of days, Multiply the consumption for the month by Square Root(Days in month/Days in stock) to get adjusted AMC. This adjusts the consumption up due to being out of stock, but by a factor up to 1.7 - so not as big an adjustment as the " |
- | * We gnore months where the mean stock on hand is less than "% of typical AMC that stock level is considered compromised:" | + | * We also ignore |
+ | * Consider Item A - we have set the "when we calculate consumption there are 3 months that were "fully stocked" | ||
+ | * Now, there' | ||
+ | * But it turns out that the average stock on hand was only 50 - clearly they could never have had "normal" | ||
- | We then add together | + | We then sum the adjusted consumption for all the eligible |
- | + | ==== Report | |
- | <WRAP info center round 90%> | + | |
- | There are currently 2 options | + | |
- | </ | + | |
You'll see this window: | You'll see this window: | ||
Line 142: | Line 146: | ||
**Months stock required:** In this field, enter the number of months stock cover you want to have available. The report will automatically take into account any stock you already have, so all you need to do is enter how many months cover you want. | **Months stock required:** In this field, enter the number of months stock cover you want to have available. The report will automatically take into account any stock you already have, so all you need to do is enter how many months cover you want. | ||
+ | |||
+ | **AMC Adjustment for Out of Stock:** See the " | ||
**Exclude stock that will expire within 3 months of projected consumption date** is a new/updated checkbox to accurately predict amount of stock that is likely to be wasted due to expiry and current consumption rate. In this current example, mSupply will only aim to distribute stock if the expiry is more than 3 months away. This updated feature is only available in mSupply v7.12 or later. | **Exclude stock that will expire within 3 months of projected consumption date** is a new/updated checkbox to accurately predict amount of stock that is likely to be wasted due to expiry and current consumption rate. In this current example, mSupply will only aim to distribute stock if the expiry is more than 3 months away. This updated feature is only available in mSupply v7.12 or later. |