ALTER VIEW [dbo].[VWPMO_CONSTRUCTOR_FORMS] AS
SELECT 
	T2.CONSTRUCT_ID,
	T2.PARENT_ID,
	T2.SEQUENCE,
	T2.LEVEL1_SELECT,
	T.GUID			AS FORM_ID, 
	T1.FORM_TITLE, 
	T2.SQL_SELECT_EBENE1,
	T2.SQL_SELECT_EBENE2,
	T2.COLUMN_NAME1,
	T2.COLUMN_NAME2
FROM 
	tbpmo_form T, 
	TBPMO_FORM_VIEW T1,
	TBPMO_FORM_CONSTRUCTOR_DETAIL T2 
where 
	T2.FORM_ID = T.GUID AND 
	T1.SCREEN_ID = 1 AND 
	T.GUID = T1.FORM_ID 

GO


