use [--name--]
GO
SET NOCOUNT ON
GO
--*****************************************************************************
-- Renames factory defined measurements
--
--*****************************************************************************

-- rename ID from old name from new name
EXEC tmpRenameStandardEntry 4, 'Neutral Current High', 'Current N High'
EXEC tmpRenameStandardEntry 5, 'Neutral Current Low', 'Current N Low'
EXEC tmpRenameStandardEntry 6, 'Neutral Current Mean', 'Current N Mean'
EXEC tmpRenameStandardEntry 151, 'Power Factor Signed Mean', 'Power Factor Mean'
EXEC spEntryConflictHandler 495, 957, 'Gas Volume' -- remap to 957 (Gas Volume (Cubic Meters)) and delete
EXEC spEntryConflictHandler 501, 637, 'Steam mlbs' -- remap to 637 (Steam (mlbs)) and delete
EXEC tmpRenameStandardEntry 636, 'Steam Cumulative (mlbs)', 'Steam Mass (Mlb av)'
EXEC spEntryConflictHandler 647, 648, 'Chilled Water Cumulative (kW/ton)' -- remap to 648 (Chilled Water (kW/ton)) and delete
EXEC tmpRenameStandardEntry 715, 'Over Active Power Sliding Window Demand Delivered-Received', 'Over Block Demand Active Power Alarm'
EXEC tmpRenameStandardEntry 716, 'Over Current Phase A', 'Over Current A Alarm'
EXEC spEntryConflictHandler 3135, 716, 'Over Current A Status' -- remap to 716(Over Current A Alarm) and delete
EXEC tmpRenameStandardEntry 717, 'Over Current Phase B', 'Over Current B Alarm'
EXEC spEntryConflictHandler 3138, 717, 'Over Current B Status' -- remap to 717(Over Current B Alarm) and delete
EXEC tmpRenameStandardEntry 718, 'Over Current Phase C', 'Over Current C Alarm'
EXEC spEntryConflictHandler 3141, 718, 'Over Current C Status' -- remap to 718(Over Current C Alarm) and delete
EXEC tmpRenameStandardEntry 3119, N'Current Unbalance Alarm Status', N'Current Unbalance Alarm'
EXEC tmpRenameStandardEntry 3120, N'Current Unbalance Pre-Alarm Status', N'Current Unbalance Pre-Alarm'
EXEC tmpRenameStandardEntry 3121, N'Earth-Leakage Alarm Pre-Alarm Status', N'Earth-Leakage Pre-Alarm'
EXEC tmpRenameStandardEntry 3122, N'Earth-Leakage Alarm Status', N'Earth-Leakage Alarm'
EXEC tmpRenameStandardEntry 3123, N'Ground Fault Alarm Pre-Alarm Status', N'Ground Fault Pre-Alarm'
EXEC tmpRenameStandardEntry 3124, N'Ground Fault Alarm Status', N'Ground Fault Alarm'
EXEC tmpRenameStandardEntry 3125, N'Lagging Displacement Power Factor 3-Phase Total Status', N'Lagging Displacement Power Factor Alarm'
EXEC tmpRenameStandardEntry 3126, N'Lagging True Power Factor 3-Phase Total Status', N'Lagging Power Factor Alarm'
EXEC tmpRenameStandardEntry 3127, N'Leading Displacement Power Factor 3-Phase Total Status', N'Leading Displacement Power Factor Alarm'
EXEC tmpRenameStandardEntry 3128, N'Leading True Power Factor 3-Phase Total Status', N'Leading Power Factor Alarm'
EXEC tmpRenameStandardEntry 3129, N'Load Shed Current Alarm Status', N'Load Shed Current Alarm'
EXEC tmpRenameStandardEntry 3130, N'Load Shed Current Pre-Alarm Status', N'Load Shed Current Pre-Alarm'
EXEC tmpRenameStandardEntry 3131, N'Load Shed Power Alarm Status', N'Load Shed Power Alarm'
EXEC tmpRenameStandardEntry 3132, N'Load Shed Power Pre-Alarm Status', N'Load Shed Power Pre-Alarm'
EXEC tmpRenameStandardEntry 3133, N'Over Current A Demand Alarm Status', N'Over Demand Current A Alarm'
EXEC tmpRenameStandardEntry 3134, N'Over Current A Demand Pre-Alarm Status', N'Over Demand Current A Pre-Alarm'
EXEC tmpRenameStandardEntry 3136, N'Over Current B Demand Alarm Status', N'Over Demand Current B Alarm'
EXEC tmpRenameStandardEntry 3137, N'Over Current B Demand Pre-Alarm Status', N'Over Demand Current B Pre-Alarm'
EXEC tmpRenameStandardEntry 3139, N'Over Current C Demand Alarm Status', N'Over Demand Current C Alarm'
EXEC tmpRenameStandardEntry 3140, N'Over Current C Demand Pre-Alarm Status', N'Over Demand Current C Pre-Alarm'
EXEC tmpRenameStandardEntry 3142, N'Over Current G Status', N'Over Current E Alarm'
EXEC tmpRenameStandardEntry 3143, N'Over Current N Demand Alarm Status', N'Over Demand Current N Alarm'
EXEC tmpRenameStandardEntry 3144, N'Over Current N Demand Pre-Alarm Status', N'Over Demand Current N Pre-Alarm'
EXEC tmpRenameStandardEntry 3145, N'Over Current N Status', N'Over Current N Alarm'
EXEC tmpRenameStandardEntry 3146, N'Over Current Unbalance A Status', N'Current Unbalance A Alarm'
EXEC tmpRenameStandardEntry 3147, N'Over Current Unbalance B Status', N'Current Unbalance B Alarm'
EXEC tmpRenameStandardEntry 3148, N'Over Current Unbalance C Status', N'Current Unbalance C Alarm'
EXEC tmpRenameStandardEntry 3149, N'Over Frequency Alarm Status', N'Over Frequency Alarm'
EXEC tmpRenameStandardEntry 3150, N'Over Frequency Pre-Alarm Status', N'Over Frequency Pre-Alarm'
EXEC tmpRenameStandardEntry 3151, N'Over kVA 3-Phase Total Status', N'Over Apparent Power Alarm'
EXEC tmpRenameStandardEntry 3152, N'Over kVAR Into the Load 3-Phase Total Status', N'Over Reactive Power Into the Load Alarm'
EXEC tmpRenameStandardEntry 3153, N'Over kVAR Out of the Load 3-Phase Total Status', N'Over Reactive Power Out of the Load Alarm'
EXEC tmpRenameStandardEntry 3154, N'Over kW Into the Load 3-Phase Total Status', N'Over Active Power Into the Load Alarm'
EXEC tmpRenameStandardEntry 3155, N'Over kW Out of the Load 3-Phase Total Status', N'Over Active Power Out of the Load Alarm'
EXEC tmpRenameStandardEntry 3156, N'Over Predicted kVA Demand Status', N'Over Demand Apparent Power Predicted Alarm'
EXEC tmpRenameStandardEntry 3157, N'Over Predicted kVAR Demand Into the Load 3-Phase Total Status', N'Over Demand Reactive Power Into the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3158, N'Over Predicted kVAR Demand Out of the Load 3-Phase Total Status', N'Over Demand Reactive Power Out of the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3159, N'Over Predicted kW Demand Into the Load 3-Phase Total Status', N'Over Demand Active Power Into the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3160, N'Over Predicted kW Demand Out of the Load 3-Phase Total Status', N'Over Demand Active Power Out of the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3161, N'Over THD Current A Status', N'Over THD Current A Alarm'
EXEC tmpRenameStandardEntry 3162, N'Over THD Current B Status', N'Over THD Current B Alarm'
EXEC tmpRenameStandardEntry 3163, N'Over THD Current C Status', N'Over THD Current C Alarm'
EXEC tmpRenameStandardEntry 3164, N'Over THD Voltage A-B Status', N'Over THD Voltage A-B Alarm'
EXEC tmpRenameStandardEntry 3165, N'Over THD Voltage B-C Status', N'Over THD Voltage B-C Alarm'
EXEC tmpRenameStandardEntry 3166, N'Over THD Voltage C-A Status', N'Over THD Voltage C-A Alarm'
EXEC tmpRenameStandardEntry 3167, N'Over THD Voltage Phase A Status', N'Over THD Voltage A-N Alarm'
EXEC tmpRenameStandardEntry 3168, N'Over THD Voltage Phase B Status', N'Over THD Voltage B-N Alarm'
EXEC tmpRenameStandardEntry 3169, N'Over THD Voltage Phase C Status', N'Over THD Voltage C-N Alarm'
EXEC tmpRenameStandardEntry 3170, N'Over Voltage Alarm Status', N'Over Voltage Alarm'
EXEC tmpRenameStandardEntry 3171, N'Over Voltage Phase A Status', N'Over Voltage A-N Alarm'
EXEC tmpRenameStandardEntry 3172, N'Over Voltage Phase B Status', N'Over Voltage B-N Alarm'
EXEC tmpRenameStandardEntry 3173, N'Over Voltage Phase C Status', N'Over Voltage C-N Alarm'
EXEC tmpRenameStandardEntry 3174, N'Over Voltage Pre-Alarm Status', N'Over Voltage Pre-Alarm'
EXEC tmpRenameStandardEntry 3175, N'Over Voltage Unbalance Phase A Status', N'Voltage Unbalance A-N Alarm'
EXEC tmpRenameStandardEntry 3176, N'Over Voltage Unbalance Phase B Status', N'Voltage Unbalance B-N Alarm'
EXEC tmpRenameStandardEntry 3177, N'Over Voltage Unbalance Phase C Status', N'Voltage Unbalance C-N Alarm'
EXEC tmpRenameStandardEntry 3178, N'Phase Rotation Alarm Status', N'Phase Rotation Alarm'
EXEC tmpRenameStandardEntry 3185, N'Reverse Power Alarm Status', N'Reverse Power Alarm'
EXEC tmpRenameStandardEntry 3186, N'Reverse Power Pre-Alarm Status', N'Reverse Power Pre-Alarm'
EXEC tmpRenameStandardEntry 3190, N'Under Current A Status', N'Under Current A Alarm'
EXEC tmpRenameStandardEntry 3191, N'Under Current B Status', N'Under Current B Alarm'
EXEC tmpRenameStandardEntry 3192, N'Under Current C Status', N'Under Current C Alarm'
EXEC tmpRenameStandardEntry 3193, N'Under Frequency Alarm Status', N'Under Frequency Alarm'
EXEC tmpRenameStandardEntry 3194, N'Under Frequency Pre-Alarm Status', N'Under Frequency Pre-Alarm'
EXEC tmpRenameStandardEntry 3195, N'Under kVA 3-Phase Total Status', N'Under Apparent Power Alarm'
EXEC tmpRenameStandardEntry 3196, N'Under kVAR Into the Load 3-Phase Total Status', N'Under Reactive Power Into the Load Alarm'
EXEC tmpRenameStandardEntry 3197, N'Under kVAR Out of the Load 3-Phase Total Status', N'Under Reactive Power Out of the Load Alarm'
EXEC tmpRenameStandardEntry 3198, N'Under kW Into the Load 3-Phase Total Status', N'Under Active Power Into the Load Alarm'
EXEC tmpRenameStandardEntry 3199, N'Under kW Out of the Load 3-Phase Total Status', N'Under Active Power Out of the Load Alarm'
EXEC tmpRenameStandardEntry 3200, N'Under Predicted kVA Demand Status', N'Under Demand Apparent Power Predicted Alarm'
EXEC tmpRenameStandardEntry 3201, N'Under Predicted kVAR Demand Into the Load 3-Phase Total Status', N'Under Demand Reactive Power Into the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3202, N'Under Predicted kVAR Demand Out of the Load 3-Phase Total Status', N'Under Demand Reactive Power Out of the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3203, N'Under Predicted kW Demand Into the Load 3-Phase Total Status', N'Under Demand Active Power Into the Load Predicted'
EXEC tmpRenameStandardEntry 3204, N'Under Predicted kW Demand Out of the Load 3-Phase Total Status', N'Under Demand Active Power Out of the Load Predicted Alarm'
EXEC tmpRenameStandardEntry 3205, N'Under Voltage Alarm Status', N'Under Voltage Alarm'
EXEC tmpRenameStandardEntry 3206, N'Under Voltage Phase A Status', N'Under Voltage A-N Alarm'
EXEC tmpRenameStandardEntry 3207, N'Under Voltage Phase B Status', N'Under Voltage B-N Alarm'
EXEC tmpRenameStandardEntry 3208, N'Under Voltage Phase C Status', N'Under Voltage C-N Alarm'
EXEC tmpRenameStandardEntry 3209, N'Under Voltage Pre-Alarm Status', N'Under Voltage Pre-Alarm'
EXEC tmpRenameStandardEntry 3210, N'Voltage Unbalance Alarm Status', N'Voltage Unbalance Alarm'
EXEC spMMS_AddStandardEntry 3210, N'Voltage Unbalance Alarm', 0 -- add it in case it's a IONE5.5 db
EXEC spEntryConflictHandler 719, 3210, 'Over Voltage Unbalance' -- remap to 3210(Voltage Unbalance Alarm) and delete
EXEC tmpRenameStandardEntry 3211, N'Voltage Unbalance Pre-Alarm Status', N'Voltage Unbalance Pre-Alarm'

EXEC spEntryConflictHandler 2129, 3222, 'A-R1 Count (PM8M22)'   -- remap to 3222(A-R1 Count) and delete
EXEC spEntryConflictHandler 2130, 3222, 'A-R1 Count (PM8M2222)' -- remap to 3222(A-R1 Count) and delete
EXEC spEntryConflictHandler 2131, 3222, 'A-R1 Count (PM8M26)'   -- remap to 3222(A-R1 Count) and delete
EXEC spEntryConflictHandler 2132, 3223, 'A-R1 Label (PM8M22)'   -- remap to 3223(A-R1 Label) and delete
EXEC spEntryConflictHandler 2133, 3223, 'A-R1 Label (PM8M2222)' -- remap to 3223(A-R1 Label) and delete
EXEC spEntryConflictHandler 2134, 3223, 'A-R1 Label (PM8M26)'   -- remap to 3223(A-R1 Label) and delete
EXEC spEntryConflictHandler 2135, 3399, 'A-R1 Status (PM8M22)'  -- remap to 3399(A-R1 Status) and delete
EXEC spEntryConflictHandler 2136, 3399, 'A-R1 Status (PM8M2222)'-- remap to 3399(A-R1 Status) and delete
EXEC spEntryConflictHandler 2137, 3399, 'A-R1 Status (PM8M26)'  -- remap to 3399(A-R1 Status) and delete
EXEC spEntryConflictHandler 2138, 3224, 'A-R2 Count (PM8M22)'   -- remap to 3224(A-R2 Count) and delete
EXEC spEntryConflictHandler 2139, 3224, 'A-R2 Count (PM8M2222)' -- remap to 3224(A-R2 Count) and delete
EXEC spEntryConflictHandler 2140, 3224, 'A-R2 Count (PM8M26)'   -- remap to 3224(A-R2 Count) and delete
EXEC spEntryConflictHandler 2141, 3225, 'A-R2 Label (PM8M22)'   -- remap to 3225(A-R2 Label) and delete
EXEC spEntryConflictHandler 2142, 3225, 'A-R2 Label (PM8M2222)' -- remap to 3225(A-R2 Label) and delete
EXEC spEntryConflictHandler 2143, 3225, 'A-R2 Label (PM8M26)'   -- remap to 3225(A-R2 Label) and delete
EXEC spEntryConflictHandler 2144, 3400, 'A-R2 Status (PM8M22)'  -- remap to 3400(A-R2 Status) and delete
EXEC spEntryConflictHandler 2145, 3400, 'A-R2 Status (PM8M2222)'-- remap to 3400(A-R2 Status) and delete
EXEC spEntryConflictHandler 2146, 3400, 'A-R2 Status (PM8M26)'  -- remap to 3400(A-R2 Status) and delete

EXEC spEntryConflictHandler 2147, 3212, 'A-S1 Count (PM8M22)'   -- remap to 3212(A-S1 Count) and delete
EXEC spEntryConflictHandler 2148, 3212, 'A-S1 Count (PM8M2222)' -- remap to 3212(A-S1 Count) and delete
EXEC spEntryConflictHandler 2149, 3212, 'A-S1 Count (PM8M26)'   -- remap to 3212(A-S1 Count) and delete
EXEC spEntryConflictHandler 2150, 3213, 'A-S1 Label (PM8M22)'   -- remap to 3213(A-S1 Label) and delete
EXEC spEntryConflictHandler 2151, 3213, 'A-S1 Label (PM8M2222)' -- remap to 3213(A-S1 Label) and delete
EXEC spEntryConflictHandler 2152, 3213, 'A-S1 Label (PM8M26)'   -- remap to 3213(A-S1 Label) and delete
EXEC spEntryConflictHandler 2153, 3394, 'A-S1 Status (PM8M22)'  -- remap to 3394(A-S1 Status) and delete
EXEC spEntryConflictHandler 2154, 3394, 'A-S1 Status (PM8M2222)'-- remap to 3394(A-S1 Status) and delete
EXEC spEntryConflictHandler 2155, 3394, 'A-S1 Status (PM8M26)'  -- remap to 3394(A-S1 Status) and delete
EXEC spEntryConflictHandler 2156, 3214, 'A-S2 Count (PM8M22)'   -- remap to 3214(A-S2 Count) and delete
EXEC spEntryConflictHandler 2157, 3214, 'A-S2 Count (PM8M2222)' -- remap to 3214(A-S2 Count) and delete
EXEC spEntryConflictHandler 2158, 3214, 'A-S2 Count (PM8M26)'   -- remap to 3214(A-S2 Count) and delete
EXEC spEntryConflictHandler 2159, 3215, 'A-S2 Label (PM8M22)'   -- remap to 3215(A-S2 Label) and delete
EXEC spEntryConflictHandler 2160, 3215, 'A-S2 Label (PM8M2222)' -- remap to 3215(A-S2 Label) and delete
EXEC spEntryConflictHandler 2161, 3215, 'A-S2 Label (PM8M26)'   -- remap to 3215(A-S2 Label) and delete
EXEC spEntryConflictHandler 2162, 3395, 'A-S2 Status (PM8M22)'  -- remap to 3395(A-S2 Status) and delete
EXEC spEntryConflictHandler 2163, 3395, 'A-S2 Status (PM8M2222)'-- remap to 3395(A-S2 Status) and delete
EXEC spEntryConflictHandler 2164, 3395, 'A-S2 Status (PM8M26)'  -- remap to 3395(A-S2 Status) and delete
EXEC spEntryConflictHandler 2165, 3216, 'A-S3 Count (PM8M26)'   -- remap to 3216(A-S3 Count) and delete
EXEC spEntryConflictHandler 2166, 3217, 'A-S3 Label (PM8M26)'   -- remap to 3217(A-S3 Label) and delete
EXEC spEntryConflictHandler 2167, 3396, 'A-S3 Status (PM8M26)'  -- remap to 3396(A-S3 Status) and delete
EXEC spEntryConflictHandler 2168, 3218, 'A-S4 Count (PM8M26)'   -- remap to 3218(A-S4 Count) and delete
EXEC spEntryConflictHandler 2169, 3219, 'A-S4 Label (PM8M26)'   -- remap to 3219(A-S4 Label) and delete
EXEC spEntryConflictHandler 2170, 3397, 'A-S4 Status (PM8M26)'  -- remap to 3397(A-S4 Status) and delete

EXEC spEntryConflictHandler 2261, 3238, 'B-R1 Count (PM8M22)'   -- remap to 3238(B-R1 Count) and delete
EXEC spEntryConflictHandler 2262, 3238, 'B-R1 Count (PM8M2222)' -- remap to 3238(B-R1 Count) and delete
EXEC spEntryConflictHandler 2263, 3238, 'B-R1 Count (PM8M26)'   -- remap to 3238(B-R1 Count) and delete
EXEC spEntryConflictHandler 2264, 3239, 'B-R1 Label (PM8M22)'   -- remap to 3239(B-R1 Label) and delete
EXEC spEntryConflictHandler 2265, 3239, 'B-R1 Label (PM8M2222)' -- remap to 3239(B-R1 Label) and delete
EXEC spEntryConflictHandler 2266, 3239, 'B-R1 Label (PM8M26)'   -- remap to 3239(B-R1 Label) and delete
EXEC spEntryConflictHandler 2267, 3407, 'B-R1 Status (PM8M22)'  -- remap to 3407(B-R1 Status) and delete
EXEC spEntryConflictHandler 2268, 3407, 'B-R1 Status (PM8M2222)'-- remap to 3407(B-R1 Status) and delete
EXEC spEntryConflictHandler 2269, 3407, 'B-R1 Status (PM8M26)'  -- remap to 3407(B-R1 Status) and delete
EXEC spEntryConflictHandler 2270, 3240, 'B-R2 Count (PM8M22)'   -- remap to 3240(B-R2 Count) and delete
EXEC spEntryConflictHandler 2271, 3240, 'B-R2 Count (PM8M2222)' -- remap to 3240(B-R2 Count) and delete
EXEC spEntryConflictHandler 2272, 3240, 'B-R2 Count (PM8M26)'   -- remap to 3240(B-R2 Count) and delete
EXEC spEntryConflictHandler 2273, 3241, 'B-R2 Label (PM8M22)'   -- remap to 3241(B-R2 Label) and delete
EXEC spEntryConflictHandler 2274, 3241, 'B-R2 Label (PM8M2222)' -- remap to 3241(B-R2 Label) and delete
EXEC spEntryConflictHandler 2275, 3241, 'B-R2 Label (PM8M26)'   -- remap to 3241(B-R2 Label) and delete
EXEC spEntryConflictHandler 2276, 3408, 'B-R2 Status (PM8M22)'  -- remap to 3408(B-R2 Status) and delete
EXEC spEntryConflictHandler 2277, 3408, 'B-R2 Status (PM8M2222)'-- remap to 3408(B-R2 Status) and delete
EXEC spEntryConflictHandler 2278, 3408, 'B-R2 Status (PM8M26)'  -- remap to 3408(B-R2 Status) and delete

EXEC spEntryConflictHandler 2279, 3228, 'B-S1 Count (PM8M22)'   -- remap to 3228(B-S1 Count) and delete
EXEC spEntryConflictHandler 2280, 3228, 'B-S1 Count (PM8M2222)' -- remap to 3228(B-S1 Count) and delete
EXEC spEntryConflictHandler 2281, 3228, 'B-S1 Count (PM8M26)'   -- remap to 3228(B-S1 Count) and delete
EXEC spEntryConflictHandler 2282, 3229, 'B-S1 Label (PM8M22)'   -- remap to 3229(B-S1 Label) and delete
EXEC spEntryConflictHandler 2283, 3229, 'B-S1 Label (PM8M2222)' -- remap to 3229(B-S1 Label) and delete
EXEC spEntryConflictHandler 2284, 3229, 'B-S1 Label (PM8M26)'   -- remap to 3229(B-S1 Label) and delete
EXEC spEntryConflictHandler 2285, 3402, 'B-S1 Status (PM8M22)'  -- remap to 3402(B-S1 Status) and delete
EXEC spEntryConflictHandler 2286, 3402, 'B-S1 Status (PM8M2222)'-- remap to 3402(B-S1 Status) and delete
EXEC spEntryConflictHandler 2287, 3402, 'B-S1 Status (PM8M26)'  -- remap to 3402(B-S1 Status) and delete
EXEC spEntryConflictHandler 2288, 3230, 'B-S2 Count (PM8M22)'   -- remap to 3230(B-S2 Count) and delete
EXEC spEntryConflictHandler 2289, 3230, 'B-S2 Count (PM8M2222)' -- remap to 3230(B-S2 Count) and delete
EXEC spEntryConflictHandler 2290, 3230, 'B-S2 Count (PM8M26)'   -- remap to 3230(B-S2 Count) and delete
EXEC spEntryConflictHandler 2291, 3231, 'B-S2 Label (PM8M22)'   -- remap to 3231(B-S2 Label) and delete
EXEC spEntryConflictHandler 2292, 3231, 'B-S2 Label (PM8M2222)' -- remap to 3231(B-S2 Label) and delete
EXEC spEntryConflictHandler 2293, 3231, 'B-S2 Label (PM8M26)'   -- remap to 3231(B-S2 Label) and delete
EXEC spEntryConflictHandler 2294, 3403, 'B-S2 Status (PM8M22)'  -- remap to 3403(B-S2 Status) and delete
EXEC spEntryConflictHandler 2295, 3403, 'B-S2 Status (PM8M2222)'-- remap to 3403(B-S2 Status) and delete
EXEC spEntryConflictHandler 2296, 3403, 'B-S2 Status (PM8M26)'  -- remap to 3403(B-S2 Status) and delete
EXEC spEntryConflictHandler 2297, 3232, 'B-S3 Count (PM8M26)'   -- remap to 3232(B-S3 Count) and delete
EXEC spEntryConflictHandler 2298, 3233, 'B-S3 Label (PM8M26)'   -- remap to 3233(B-S3 Label) and delete
EXEC spEntryConflictHandler 2299, 3404, 'B-S3 Status (PM8M26)'  -- remap to 3404(B-S3 Status) and delete
EXEC spEntryConflictHandler 2300, 3234, 'B-S4 Count (PM8M26)'   -- remap to 3234(B-S4 Count) and delete
EXEC spEntryConflictHandler 2301, 3235, 'B-S4 Label (PM8M26)'   -- remap to 3235(B-S4 Label) and delete
EXEC spEntryConflictHandler 2302, 3405, 'B-S4 Status (PM8M26)'  -- remap to 3405(B-S4 Status) and delete


GO

DROP PROCEDURE dbo.tmpRenameStandardEntry

GO
