CONN#19238
svn path=/Customer/trunk/; revision=14840
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
-- Script containing customer specific configuration sql statements for CONN: Connexxion
|
||||
-- (c) 2005-2010 SG|facilitor bv
|
||||
-- $Revision: 169 $
|
||||
-- $Modtime: 16-06-11 17:10 $
|
||||
-- $Revision: 171 $
|
||||
-- $Modtime: 21-06-11 10:04 $
|
||||
--
|
||||
-- Support: +31 53 4800710
|
||||
|
||||
@@ -8207,7 +8207,7 @@ GROUP BY bd.ins_discipline_omschrijving, pf.prs_perslid_naam_full, fp.fac_prof
|
||||
ORDER BY 1, 2;
|
||||
|
||||
|
||||
/* Formatted on 9-6-2011 12:45:08 (QP5 v5.115.810.9015) */
|
||||
/* Formatted on 20-6-2011 16:56:16 (QP5 v5.115.810.9015) */
|
||||
CREATE OR REPLACE VIEW conn_v_rap_inspectieobj_expimp
|
||||
(
|
||||
fclt_f_locatiecode,
|
||||
@@ -8310,6 +8310,7 @@ AS
|
||||
sd.ins_srtdeel_omschrijving,
|
||||
sg.ins_srtgroep_omschrijving,
|
||||
td.ins_discipline_omschrijving,
|
||||
l.alg_locatie_key,
|
||||
l.alg_locatie_code
|
||||
FROM ins_v_aanwezigdeel d,
|
||||
ins_srtdeel sd,
|
||||
@@ -8359,11 +8360,14 @@ AS
|
||||
LEFT JOIN
|
||||
(SELECT DISTINCT
|
||||
co.cnt_ins_srtdeel_key,
|
||||
g.alg_locatie_key,
|
||||
b.prs_bedrijf_naam
|
||||
naam
|
||||
FROM cnt_contract_object co,
|
||||
cnt_contract c,
|
||||
ins_tab_discipline cd,
|
||||
cnt_contract_plaats cp,
|
||||
alg_gebouw g,
|
||||
prs_bedrijf b
|
||||
WHERE co.cnt_contract_object_verwijder IS NULL
|
||||
AND co.cnt_ins_srtdeel_key IS NOT NULL
|
||||
@@ -8380,11 +8384,23 @@ AS
|
||||
AND c.ins_discipline_key =
|
||||
cd.ins_discipline_key
|
||||
AND cd.ins_discipline_verwijder IS NULL
|
||||
AND c.cnt_contract_key =
|
||||
cp.cnt_contract_key
|
||||
AND ( (cp.cnt_alg_plaats_code =
|
||||
'G'
|
||||
AND cp.cnt_alg_plaats_key =
|
||||
g.alg_gebouw_key)
|
||||
OR (cp.cnt_alg_plaats_code =
|
||||
'L'
|
||||
AND cp.cnt_alg_plaats_key =
|
||||
g.alg_locatie_key))
|
||||
AND c.cnt_prs_bedrijf_key =
|
||||
b.prs_bedrijf_key)
|
||||
lev_onderst
|
||||
ON x.ins_srtdeel_key =
|
||||
lev_onderst.cnt_ins_srtdeel_key
|
||||
AND x.alg_locatie_key =
|
||||
lev_onderst.alg_locatie_key
|
||||
LEFT JOIN
|
||||
(SELECT ins_deel_key,
|
||||
ins_kenmerkdeel_waarde
|
||||
@@ -9165,7 +9181,7 @@ AS
|
||||
v_errormsg :=
|
||||
'Fout bij toevoegen INS-discipline ['
|
||||
|| rec.ins_discipline_omschrijving
|
||||
|| '] ';
|
||||
|| ']';
|
||||
|
||||
SELECT COUNT ( * )
|
||||
INTO ccount
|
||||
@@ -9203,7 +9219,7 @@ AS
|
||||
oracle_err_mes := SUBSTR (SQLERRM, 1, 200);
|
||||
v_errormsg :=
|
||||
v_errormsg
|
||||
|| 'ORACLE (error '
|
||||
|| ' ORACLE (error '
|
||||
|| oracle_err_num
|
||||
|| '/'
|
||||
|| oracle_err_mes
|
||||
@@ -9279,7 +9295,7 @@ AS
|
||||
v_errormsg :=
|
||||
'Fout bij toevoegen INS-groepsoort ['
|
||||
|| rec.ins_srtgroep_omschrijving
|
||||
|| '] ';
|
||||
|| ']';
|
||||
|
||||
SELECT COUNT ( * )
|
||||
INTO ccount
|
||||
@@ -9314,7 +9330,7 @@ AS
|
||||
oracle_err_mes := SUBSTR (SQLERRM, 1, 200);
|
||||
v_errormsg :=
|
||||
v_errormsg
|
||||
|| 'ORACLE (error '
|
||||
|| ' ORACLE (error '
|
||||
|| oracle_err_num
|
||||
|| '/'
|
||||
|| oracle_err_mes
|
||||
@@ -9411,7 +9427,7 @@ AS
|
||||
v_errormsg :=
|
||||
'Fout bij toevoegen INS-objectsoort ['
|
||||
|| rec.ins_srtdeel_omschrijving
|
||||
|| '] ';
|
||||
|| ']';
|
||||
|
||||
SELECT COUNT ( * )
|
||||
INTO ccount
|
||||
@@ -9446,7 +9462,7 @@ AS
|
||||
oracle_err_mes := SUBSTR (SQLERRM, 1, 200);
|
||||
v_errormsg :=
|
||||
v_errormsg
|
||||
|| 'ORACLE (error '
|
||||
|| ' ORACLE (error '
|
||||
|| oracle_err_num
|
||||
|| '/'
|
||||
|| oracle_err_mes
|
||||
@@ -10644,10 +10660,10 @@ EXCEPTION
|
||||
END conn_update_inspectieobj;
|
||||
/
|
||||
|
||||
BEGIN fac.registercustversion('CONN', 44); END;
|
||||
BEGIN fac.registercustversion('CONN', 45); END;
|
||||
/
|
||||
|
||||
BEGIN adm.systrackscript('$Workfile: conn.sql $', '$Revision: 169 $', 0); END;
|
||||
BEGIN adm.systrackscript('$Workfile: conn.sql $', '$Revision: 171 $', 0); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user