msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
19 stars 12 forks source link

Transfer report related store pref data to omSupply #3882

Open andreievg opened 1 month ago

andreievg commented 1 month ago

For report we would need some extra prefs from store

Is your feature request related to a problem? Please describe 👀

Describe the solution you'd like 🎁

Add the following prefs to store_preference tables in omSupply

"monthlyConsumptionLookBackPeriod": "0", "monthsLeadTime": "0", // possibly not needed "monthsOverstock": 6, "monthsUnderstock": 3, "monthsItemsExpire": 3, "stocktakeFrequency": 1

Show this data in preference (same as info view in shipments), under reports menu (add report menu if it doesn't exist yet).

Screenshot 2024-07-08 at 5 31 27 PM

Describe alternatives you've considered 💭

Additional context 💌

Moneyworks Jobcode 🧰

OMS:REPT

jmbrunskill commented 1 week ago

Needed for GAPS too... We need to know Buffer Stock could consider some re-naming in the process? monthsUnderstock servers as the expected buffer stock number right.