SELECT 
obj_main.isys_obj__id AS '__id__', 
j1.isys_cmdb_status__title AS 'LC__UNIVERSAL__CMDB_STATUS###0_1', 
obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###0_1', 
j5.isys_client_type__title AS 'LC__CMDB__CATS__CLIENT_TYPE###1_15', 
j2.isys_model_title__title AS 'LC__CMDB__CATG__MODEL###0_2', 
j3.isys_catg_model_list__serial AS 'LC__CMDB__CATG__SERIAL###0_2', 
j14.isys_catg_accounting_list__delivery_date AS 'locales::fmt_date::LC__CMDB__CATG__ACCOUNTING_DELIVERY_DATE###0_38', 
job8.isys_obj__title AS 'LC__CMDB__CATG__GLOBAL_CONTACT###0_21', 
j11.isys_contact_tag__title AS 'LC__CMDB__CONTACT_ROLE###0_21', 
(CASE j9.isys_catg_contact_list__primary_contact WHEN 0 THEN 'LC__UNIVERSAL__NO' WHEN 1 THEN 'LC__UNIVERSAL__YES' END) AS 'LC__CATG__CONTACT_LIST__PRIMARY###0_21', 
obj_main.isys_obj__created AS 'isys_cmdb_dao_category_g_global::dynamic_property_callback_created::isys_obj__created::LC__TASK__DETAIL__WORKORDER__CREATION_DATE', 
obj_main.isys_obj__created_by AS 'LC__UNIVERSAL__CREATED_BY###0_1', 
j13.isys_obj__title AS 'LC__CMDB__CATG__LOCATION###0_26', 
j12.isys_catg_location_list__parentid AS 'isys_cmdb_dao_category_g_location::dynamic_property_callback_location_path::isys_catg_location_list__parentid::LC__CMDB__CATG__LOCATION_PATH' 

 FROM isys_obj AS obj_main 
INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id 
LEFT JOIN isys_catg_contact_list AS j9 ON j9.isys_catg_contact_list__isys_obj__id = obj_main.isys_obj__id  
LEFT JOIN isys_connection AS j8 ON j8.isys_connection__id = j9.isys_catg_contact_list__isys_connection__id 
LEFT JOIN isys_obj AS job8 ON j8.isys_connection__isys_obj__id = job8.isys_obj__id 
LEFT JOIN isys_contact_tag AS j11 ON j11.isys_contact_tag__id = j9.isys_catg_contact_list__isys_contact_tag__id 
LEFT JOIN isys_cmdb_status AS j1 ON j1.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id 
LEFT JOIN isys_catg_model_list AS j3 ON j3.isys_catg_model_list__isys_obj__id = obj_main.isys_obj__id  
LEFT JOIN isys_model_title AS j2 ON j2.isys_model_title__id = j3.isys_catg_model_list__isys_model_title__id 
LEFT JOIN isys_cats_client_list AS j6 ON j6.isys_cats_client_list__isys_obj__id = obj_main.isys_obj__id  
LEFT JOIN isys_client_type AS j5 ON j5.isys_client_type__id = j6.isys_cats_client_list__isys_client_type__id 
LEFT JOIN isys_catg_location_list AS j12 ON obj_main.isys_obj__id = j12.isys_catg_location_list__isys_obj__id 
LEFT JOIN isys_obj AS j13 ON j12.isys_catg_location_list__parentid = j13.isys_obj__id 
LEFT JOIN isys_catg_accounting_list AS j14 ON j14.isys_catg_accounting_list__isys_obj__id = obj_main.isys_obj__id  
LEFT JOIN isys_catg_global_list AS j16 ON j16.isys_catg_global_list__isys_obj__id = obj_main.isys_obj__id  
LEFT JOIN isys_obj_type AS j18 ON j18.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id 

WHERE TRUE 
 AND  ( (j18.isys_obj_type__id != '60' ) AND (j18.isys_obj_type__id != '63' ) ) AND ( (j18.isys_obj_type__id = '10' ) AND (j1.isys_cmdb_status__id != '10' ) ) AND ( (j13.isys_obj__id IS NULL) ) AND ( obj_main.isys_obj__status = '2' )
 ORDER BY j1.isys_cmdb_status__title ASC