From 7e7d7b582fe4eb5ee7ad5f5fc8a72095e220e56a Mon Sep 17 00:00:00 2001 From: Ashelyn Dawn Date: Sun, 26 Apr 2020 14:55:33 -0600 Subject: [PATCH] Fix shipment view --- db/sql/2-views.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/sql/2-views.sql b/db/sql/2-views.sql index bda4416..610150b 100644 --- a/db/sql/2-views.sql +++ b/db/sql/2-views.sql @@ -144,4 +144,5 @@ create or replace view sos.v_stockchange as create or replace view sos.v_shipment as select * from sos."shipment" - left join sos.v_stockchange on v_stockchange.stockchange_shipment_uuid = shipment_uuid; + left join sos.v_stockchange on v_stockchange.stockchange_shipment_uuid = shipment_uuid + left join sos.v_item on v_stockchange.stockchange_item_uuid = v_item.item_uuid;