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

Dispensing: Prescribed Quantity improvements #6353

Open
4 tasks
Tracked by #6000
jmbrunskill opened this issue Jan 30, 2025 · 1 comment
Open
4 tasks
Tracked by #6000

Dispensing: Prescribed Quantity improvements #6353

jmbrunskill opened this issue Jan 30, 2025 · 1 comment
Assignees
Labels
feature: dispensing Team Piwakawaka James, Carl, John, Zachariah

Comments

@jmbrunskill
Copy link
Contributor

jmbrunskill commented Jan 30, 2025

Record only 1 prescribed quantity

Due to a bug in mSupply (https://github.com/msupply-foundation/msupply/issues/16070) prescribed quantity can double in mSupply when applied to multiple lines.
Open-mSupply should align with the updated mSupply, storing the prescribed quantity on just one line

Allow recording prescribed quantity on a placeholder line

At the moment if there's not stock available, it's not possible to record a prescribed quantity against that item.
In this scenario, we should allow the user to record the prescribed quantity against a placeholder line (e.g. an invoice line that's not associated with a stock line)

Acceptance Criteria 🧾

  • Prescribed Quantity should only be saved on the first allocated line in the prescription.
  • Only 1 line should have prescribed quantity per prescription per item.
  • If the line containing the prescribed quantity is deleted or allocated 0 stock, the prescribed quantity should be saved to the next line.
  • Prescribed quantity can be saved against a placeholder line if no stock is allocated for that item

Epic Link 🔗

#6000

Moneyworks Jobcode 🧰

OMS:CIDV

@jmbrunskill jmbrunskill changed the title Prescriptions: Prescribed Quantity is recorded incorrectly Prescriptions: Prescribed Quantity improvements Jan 30, 2025
@jmbrunskill jmbrunskill added Team Piwakawaka James, Carl, John, Zachariah feature: dispensing labels Jan 30, 2025
@jmbrunskill jmbrunskill changed the title Prescriptions: Prescribed Quantity improvements Dispensing: Prescribed Quantity improvements Jan 30, 2025
@GeronimoJohn GeronimoJohn self-assigned this Jan 30, 2025
@GeronimoJohn
Copy link
Contributor

Improvements have been merged to #6180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: dispensing Team Piwakawaka James, Carl, John, Zachariah
Projects
None yet
Development

No branches or pull requests

2 participants