Compare commits
No commits in common. "master" and "dev_ms_target_build" have entirely different histories.
master
...
dev_ms_tar
@ -84,7 +84,7 @@ BEGIN
|
||||
WHERE
|
||||
o.fs_line = '41010'
|
||||
AND o.calc_status <> 'CANCELLED'
|
||||
AND o.version IN ('Actual', 'Forecast', 'Quotes', 'Budget')
|
||||
AND o.version IN ('Actual', 'Forecast', 'Quotes')
|
||||
AND o.part IS NOT NULL
|
||||
AND SUBSTRING(o.glec, 1, 1) <= '2';
|
||||
-- 2:12 0:38
|
||||
@ -548,7 +548,7 @@ BEGIN
|
||||
AND o.qtyord = q.vol
|
||||
AND o.fs_line = '41010'
|
||||
AND o.calc_status <> 'CANCELLED'
|
||||
AND o.version IN ('Actual', 'Forecast', 'Quotes', 'Budget')
|
||||
AND o.version IN ('Actual', 'Forecast', 'Quotes')
|
||||
AND o.part IS NOT NULL
|
||||
AND SUBSTRING(o.glec, 1, 1) <= '2';
|
||||
-- 14:13 10:09
|
||||
|
||||
@ -3,5 +3,4 @@ EXEC pricing.pricing.rebuild_lastprice;
|
||||
EXEC pricing.pricing.rebuild_pricelist;
|
||||
--14 secconds
|
||||
EXEC pricing.pricing.rebuild_targets;
|
||||
--12:49
|
||||
EXEC pricing.pricing.refresh_cost_rollups
|
||||
--12:49
|
||||
@ -4,5 +4,3 @@ CALL pricequote.rebuild_pricelist();
|
||||
--32 seconds
|
||||
CALL pricequote.refresh_target_prices_base();
|
||||
--45 seconds
|
||||
REFRESH MATERIALIZED VIEW rlarp.cost_v1ds
|
||||
REFRESH MATERIALIZED VIEW rlarp.cost_v0ds
|
||||
@ -47,9 +47,6 @@ BEGIN
|
||||
|
||||
-- rebuild target prices
|
||||
EXEC pricing.rebuild_targets;
|
||||
|
||||
-- rebuild costs
|
||||
EXEC pricing.pricing.refresh_cost_rollups
|
||||
|
||||
END TRY
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user