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

O3-4284 Ability to filter item transactions based on whether they are patient based or not #29

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

PatrickWaweru
Copy link
Contributor

@PatrickWaweru PatrickWaweru commented Dec 17, 2024

O3-4284 Ability to filter item transactions based on whether they are patient based or not
Example:
http://localhost:9677/openmrs/ws/rest/v1/stockmanagement/stockitemtransaction?v=default&limit=10&totalCount=true&stockItemUuid=599d2d8b-73a9-4031-b190-9fc333012dc3&isPatientTransaction=true

Where isPatientTransaction can be true or false or missing
if "true", return only patient dispense transactions
if "false", return all except patient dispense transactions
if missing return all transactions

@PatrickWaweru PatrickWaweru changed the title KHP3-7165 Ability to filter item transactions based on whether they are patient based or not O3-4284 Ability to filter item transactions based on whether they are patient based or not Dec 17, 2024
Copy link
Contributor

@makombe makombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @PatrickWaweru. LGTM

@makombe
Copy link
Contributor

makombe commented Dec 18, 2024

@samuelmale You can check out this. Thanks

@makombe makombe merged commit 15f7249 into openmrs:master Dec 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants