frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.56k stars 7.1k forks source link

Stock Budget (Item usage budgets) and Basic forecasting #15233

Open Tropicalrambler opened 6 years ago

Tropicalrambler commented 6 years ago

Challenge:

ERPNext currently allows you to create budgets against Cost Centers and Projects, with the source being the account. For financial reporting this is fabulous. The only limitation there is the Monthly Distribution for the budget. There is an open issue (#7095) for that and our team will be working to resolve that soon. The problem still remains that you cannot track Stock Entry of type Material Issue against an "expected usage amount". You can certainly revise it, but it would be fantastic for field managers to keep track of how much they have used of a specified Item from their plan. This inherently differs from the financial budget, as Purchase Receipt or Purchase Invoice date is not the same as Stock Entry > Material Issue date.

Proposed Solution

  1. Add an option to the Budget DocType to do so against Items. In this case, the user specifies each individual Item desired on the list, and the Budgeted qty of usage with its UOM. Conversion behavior would be as specified in Item DocType.

  2. The same Monthly Distribution or pending Weekly Distribution would apply, and the user just selects the appropriate distribution to clarify how the item will be used.

2.1 Changes to the type of Distribution would be necessary:

Each field refers, of course, to the UOM and qty, which shall remain the same for the entire unitary stock budget.

  1. The report
Tropicalrambler commented 6 years ago

This issue has mentioned some features of what is being proposed here: #4482

w-ubx commented 5 years ago

hi @Tropicalrambler, is item 2.1 already implemented? if yes, what branch please? Thanks!

meaziz commented 4 years ago

@Tropicalrambler what are the updates here? where to look at?

I think the proposal is pretty solid but the. monthly distribution should be a optional as some projects may not need that throughly planning upfront.