-------------------------------------------------------------------------------
-- Prepurchased Energy refactor: repoint the existing FrontEnd route to the new
-- location under /app/pages/mes/prepurchased-energy/.
-- No role changes, no SP changes, no menu changes - legacy is retained as
-- reference under /app/custom-screens/prepurchased-energy/ but is no longer
-- reachable from the menu once this script runs.
-------------------------------------------------------------------------------

USE [IHBoxSystem]
GO

UPDATE [FrontEnd].[Routes]
   SET [ModulePath] = 'pages/mes/prepurchased-energy/'
 WHERE [ModuleName] = 'prepurchased-energy'
   AND [ModulePath] = 'custom-screens/prepurchased-energy/';
GO
