BOFO#17768

svn path=/Customer/trunk/; revision=14176
This commit is contained in:
Arthur Egberink
2010-05-28 12:19:08 +00:00
parent a97ea6c8b1
commit 62e3bbe0d6

View File

@@ -1,7 +1,7 @@
-- Script containing customer specific configuration sql statements for BOFO: Bouwfonds ontwikkeling zuid-west
-- (c) 2009 SG|facilitor
-- $Revision: 7 $
-- $Modtime: 26-05-10 17:36 $
-- $Revision: 8 $
-- $Modtime: 28-05-10 14:06 $
--
-- Support: +31 53 4800710
@@ -516,7 +516,9 @@ AS
AS
v_datum_van DATE;
v_datum_tot DATE;
v_query_st VARCHAR2 (4000);
v_query VARCHAR2 (4000);
v_query_end VARCHAR2 (4000);
v_loop_date DATE;
v_count NUMBER;
BEGIN
@@ -529,7 +531,8 @@ AS
v_datum_tot := v_datum_van + 100;
END IF;
v_query := 'SELECT p.prs_perslid_naam_full naam ';
v_query := '';
v_query_st := 'SELECT pf.prs_perslid_naam_full naam, prs_afdeling_omschrijving afd ';
v_loop_date := v_datum_van;
v_count := v_datum_van - TRUNC (SYSDATE);
@@ -545,14 +548,14 @@ AS
v_count := v_count + 1;
END LOOP;
v_query := v_query || ' FROM prs_v_perslid_fullnames p';
v_query_end := ' FROM prs_v_perslid_fullnames pf, prs_perslid p, prs_afdeling a WHERE pf.prs_perslid_key = p.prs_perslid_key AND a.prs_afdeling_key = p.prs_afdeling_key';
OPEN p_cursor FOR v_query;
OPEN p_cursor FOR v_query_st || v_query || v_query_end;
END rap_verlof_overzicht;
END;
/
BEGIN fac.registercustversion('BOFO', 10); END;
BEGIN fac.registercustversion('BOFO', 11); END;
/