-- Fix for taxes dataset error with IDs. Change taxes generic IDs from OB ones to ET
UPDATE AD_REF_DATA_LOADED
SET
	GENERIC_ID = CASE GENERIC_ID
		WHEN '0D1160D33D514C7789E2893B9CEA90F0' THEN '3654D4E296CD441A9E74DD337947AEF5'
		WHEN '7D4DE4D7B066426F948B5F4D1CE0B215' THEN 'B7BDDC4E3ED64A2BB7FE4A097588ADB6'
		WHEN '5244ED21C6FF404E8E78D3AA33E6E4CF' THEN 'B1E24C97E38644C1B3728F59B231B5F0'
		WHEN 'A00A9420CB3B45A589226EC7EFE9EAEC' THEN '8E9CDFFDF29A463994FA5D5B80652D1D'
		WHEN 'E6482967E4AF4CD9A625A8306557F9DF' THEN '08F38FECA207422E9E95AE69A7B811A4'
		WHEN 'F1BD529ED960476A9CDFEC99A8077521' THEN '18C3B1128B464A30B58491E97971608C'
	END
WHERE
	GENERIC_ID IN (
		'0D1160D33D514C7789E2893B9CEA90F0',
		'7D4DE4D7B066426F948B5F4D1CE0B215',
		'5244ED21C6FF404E8E78D3AA33E6E4CF',
		'A00A9420CB3B45A589226EC7EFE9EAEC',
		'E6482967E4AF4CD9A625A8306557F9DF',
		'F1BD529ED960476A9CDFEC99A8077521'
	)
	AND SPECIFIC_ID = GENERIC_ID;