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

OBPIH-4461 Add view for OrderItem derived status #3299

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Conversation

awalkowiak
Copy link
Collaborator

I added two views. First one order_item_summary "extended" with more JOINs, based on the already existing views related to the Order derived status (inside the order-summary-view.sql). The other one order_item_details is a bit simplified. There is option to check tables with results from both views on the '(...)/openboxes/order/orderItemSummaryList' and on the '(...)/openboxes/order/orderItemDetailsList'. The key difference between those two is that we won't be able do an extensive filtering on the simplified one, where on the list from the order_item_summary view we can basically filter on every field we have there. After performance testing/comparison we can decide which option we want to be there and the other one will be removed.

I added two views. First one order_item_summary "extended" with more JOINs, based on the already existing views related to the Order derived status (inside the order-summary-view.sql). The other one order_item_details is a bit simplified. There is option to check tables with results from both views on the '(...)/openboxes/order/orderItemSummaryList' and on the '(...)/openboxes/order/orderItemDetailsList'. The key difference between those two is that we won't be able do an extensive filtering on the simplified one, where on the list from the order_item_summary view we can basically filter on every field we have there. After performance testing/comparison we can decide which option we want to be there and the other one will be removed.
@awalkowiak awalkowiak requested a review from jmiranda June 15, 2022 19:32
@awalkowiak awalkowiak merged commit 5fabfd8 into develop Jun 22, 2022
@awalkowiak awalkowiak deleted the OBPIH-4461 branch June 22, 2022 09:36
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.

None yet

1 participant