/****** AR Aging Initial Load - run Once, or to catch up if a period of any lenggth more than one day is not populated for whatever reason *******/ DECLARE @minDate date = (SELECT MIN(BalanceDate) FROM CCH_ENT..UVW_ARAgingDetail) EXEC [dbo].[HistoricARAgingPopulateARAgingDetTbl_INITIAL_LOAD] @AsOfDate = @minDate /****** UB WIP Refresh - run to initialize, then Windows tasks should take over daily *******/ EXEC [dbo].[RefreshUBWIP] @startdate = DATEADD(year, -4, CAST(GETDATE() as date)) @enddate = CAST(GETDATE() as date)