Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customised Reports: Satisfaction rate per program #6168

Open
roxy-dao opened this issue Jan 20, 2025 · 3 comments · May be fixed by #6428
Open

Customised Reports: Satisfaction rate per program #6168

roxy-dao opened this issue Jan 20, 2025 · 3 comments · May be fixed by #6428
Assignees
Labels
Milestone

Comments

@roxy-dao
Copy link
Contributor

roxy-dao commented Jan 20, 2025

Provide a report per program, per period, per store using requisitions.

Filters: Program, period

Column Description/Calculation
Program (Programme) The name of the program.
Period (Période) The period of the program.
Store (Dépôt) The name of the store.
Number of product lines ordered (Nombre de lignes de produits commandés) Sum of lines in requisitions for the program and period.
Number of product lines completely fulfilled (Nombre de lignes de produits complètement livrées) Sum of lines in requisitions for program and period that have the same requested and supplied quantity.
Ordered quantity (Quantités commandée) Sum of the requested quantity in requisitions for the program and period for all lines.
Received quantity (Quantités reçue) Sum of supplied quantity in requisitions for program and period
Fulfilment rate (Taux de satisfaction) Number of produce lines ordered / Number of product lines completely fulfilled.

Moneyworks Jobcode 🧰

OMS:CIRDV

@roxy-dao roxy-dao added this to the v2.6.0 milestone Jan 20, 2025
@noel-yeldos noel-yeldos self-assigned this Jan 27, 2025
@noel-yeldos
Copy link
Contributor

Hey @roxy-dao, @fergie-nz and I were having a discussion about this as I was having a hard time getting my head around the filtering. We're unsure whether we can have dynamic values in our argument.json filters as we don't have that set up for any of the current reports.

@fergie-nz
Copy link
Contributor

We also discussed how this report would require adding some filters to requisitions endpoint which are currently missing.

These are:

  • programId
  • period

@roxy-dao
Copy link
Contributor Author

Hey @roxy-dao, @fergie-nz and I were having a discussion about this as I was having a hard time getting my head around the > filtering. We're unsure whether we can have dynamic values in our argument.json filters as we don't have that set up for any > of the current reports.

We will probably need a custom renderer for this. For now can you just do the report without the filter? Just default to latest period for now as dummy

We also discussed how this report would require adding some filters to requisitions endpoint which are currently missing.

Yes add them to the endpoint if they are missing if that is what you require. Just need to add it to the Filter struct and map accordingly.

@noel-yeldos noel-yeldos removed their assignment Jan 29, 2025
@roxy-dao roxy-dao self-assigned this Feb 3, 2025
@roxy-dao roxy-dao linked a pull request Feb 6, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants