98:
99:
100:
101: /** Store the end_date parameter of this purge request */
102: temp:=FND_PROFILE.SAVE('IBW_PURGE_LAST_ENDDATE',end_date,'SITE');
103:
104: /** commit the changes */
105: COMMIT;
106: report_gen(visit_count, visitor_count, page_view_count,start_date, end_date, 'Y');
223: /** If start_date is null, then initialize it with the end_date of the previous run which is stored in
224: the profiles.
225: */
226: IF start_date=null THEN
227: FND_PROFILE.GET('IBW_PREVIOUS_PURGE_DATE',startDate);
228: ELSE
229: startDate:=start_date;
230: END IF;
231:
274: /** If start_date is null, then initialize it with the end_date of the previous run which is stored in
275: the profiles.
276: */
277: IF start_date=null THEN
278: FND_PROFILE.GET('IBW_PREVIOUS_PURGE_DATE',startDate);
279: ELSE
280: startDate:=start_date;
281: END IF;
282: