Created
March 8, 2017 19:29
-
-
Save jonocairns/5b64963aa555563d2df59e186287e91f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exec sp_VolumeDriversbyPMG_Population 2, 'D' | |
Exec sp_CheckoutSummary_15Min_w_BasketLine_Population 2, 'D' | |
Exec sp_VolumeDriversbyPMG_Population 2, 'C' | |
Exec sp_CheckoutSummary_15Min_w_BasketLine_Population 2, 'C' | |
--delete from VolumeDriversbyPMG | |
--Exec sp_Control_Run_Time '?', 'Adrian Test Full Run 1', 'Adrian A' | |
Exec sp_Runcontrol 'R', 2, 6731 , '?' | |
--Exec sp_Control_Run_Time 'U', 'Adrian A' | |
--Exec sp_Control_Run_Time 'R' | |
EXEC sp_BCS_Main_Input_Population 2, 'C', 'dbo', 'dbo' |
-- Delete muh stuff
UPDATE [prod].[WagePlan]
SET [State_Id] = '829C8724-E85F-49F3-B6B5-97386C44F241'
GO
DELETE FROM [prod].[WagePlanBcsTarget]
GO
DELETE FROM [prod].[DepartmentManagerRequest]
GO
DELETE FROM [prod].[BCS_Main_Input]
GO
-- Repopulate
Exec sp_VolumeDriversbyPMG_Population 2, 2, 'D'
Exec sp_CheckoutSummary_15Min_w_BasketLine_Population 2, 2, 'D'
Exec sp_VolumeDriversbyPMG_Population 2, 2, 'C'
Exec sp_CheckoutSummary_15Min_w_BasketLine_Population 2, 2, 'C'
Exec sp_Runcontrol 'R', 2, 6731 , '?'
EXEC sp_BCS_Main_Input_Population 2, 2, 'C', 'dbo', 'prod'
-- Generate charts
EXEC sp_Budget_Report_ActualvsPlannedvsBudgeted_Population @Store_Id = 6731, @Fiscal_Year = 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EXEC sp_Budget_Report_ActualvsPlannedvsBudgeted_Population @Store_Id = 6731, @Fiscal_Year = 2017