--EXEC MIG_INSERT_UG_MAPPING_INFO_Sp
CREATE PROCEDURE MIG_INSERT_UG_MAPPING_INFO_Sp
AS 
BEGIN
	DELETE FROM MIG_PROP_NAMES_MAPPING WHERE AppName = 'UG'
	INSERT INTO MIG_PROP_NAMES_MAPPING(AppName, Category, PropName, PropDescription, ControlType, LegacyPropName) VALUES
	 ('UG', 'LOCATIONS', 'u001', 'Edit Location', 'Text And Browse Button', 'EDIT_LOCATION')
	,('UG', 'LOCATIONS', 'u002', 'View Location', 'Text And Browse Button', 'VIEW_LOCATION')
	,('UG', 'INITAL_SAVE_OPTION', 'u003', 'Concatenate Item-ID/File-ID', 'Check Box', 'CONCATENATE_ITEM-ID_FILE-ID')
	,('UG', 'INITAL_SAVE_OPTION', 'u004', 'Specify Manual ID for Documents', 'Check Box', 'DOCUMENT_MANUAL_ID')
	,('UG', 'INITAL_SAVE_OPTION', 'u012', 'Set Object Attribute During Save', 'Check Box', 'SET_ATTRIBUTES_MANUALLY')
	,('UG', 'INITAL_SAVE_OPTION', 'u013', 'Create Documents Only', 'Check Box', 'CREATE_DOCUMENTS_ONLY')
	,('UG', 'GENERAL', 'u005', 'Disable Showing Dialog for setting Main Item', 'Check Box', 'DISABLE_SET_MAIN_ITEM_DIALOG')
	,('UG', 'GENERAL', 'u006', 'File Name Uniqueness', 'Combo Box', 'UNIQUE_FILE_NAMES')
	,('UG', 'GENERAL', 'u007', 'Query Search Default', 'Combo Box', 'QUERY_SEARCH_DEFAULT')
	,('UG', 'GENERAL', 'u008', 'Open With Structure Information', 'Check Box', 'OPEN_WITH_STRUCTURE_INFO')
	,('UG', 'GENERAL', 'u009', 'Enable Selective Checkout', 'Check Box', 'ENABLE_SELECTIVE_CHECKOUT')
	,('UG', 'GENERAL', 'u010', 'Allow Link to Released Items', 'Check Box', 'ALLOW_LINK_TO_RELEASED_ITEMS')
	,('UG', 'GENERAL', 'u011', 'Link Drawing to all Items of Child Model', 'Check Box', 'LINK_DRAWING_TO_ALL_ITEMS_OF_CHILD_MODEL')

	
END


