mis-builder icon indicating copy to clipboard operation
mis-builder copied to clipboard

Multi-company budget for a multi-company report - add a company field to budget lines

Open SAnnabelle opened this issue 1 year ago • 2 comments

Issues :

To have a mis report with a budget column available for companies A and B. The budget must be adapted according to the company in which you are working. We are therefore obliged to use a budget that is configured without a company. Because if you set a budget associated with company A, you will only see data in the budget column when you are connected to company A and not when you are connected to company B.

Currently, there are no companies on the budget lines. So if you configure a budget without a company and put it in the budget column of the report, you will always see the same amount, whether you are logged in to company A or company B. This is not intended, as the budget is different depending on the company.

Solution: Add a company field to the budget lines. It must take the value of the company on the budget (if defined) and if it is not defined on the budget, then it must be defined manually on the lines. In the report, if a column has a budget, the amount displayed in the budget column must be the sums of the budget lines associated with the query companies in the report, i.e. query_companys_ids.

SAnnabelle avatar Aug 07 '24 09:08 SAnnabelle

This is for Budgets by KPI, correct?

Related #589

sbidoul avatar Aug 08 '24 20:08 sbidoul

Yes it's for budgets by KPI

SAnnabelle avatar Aug 28 '24 09:08 SAnnabelle

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Mar 02 '25 12:03 github-actions[bot]

This was done in #630

sbidoul avatar Mar 02 '25 12:03 sbidoul