Added quote/enquiry lapse job.

(Ticket #51)

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3974 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
mullenm
2008-03-12 17:23:45 +00:00
parent e836cfd1d6
commit dfcd9f4b40
3 changed files with 14 additions and 0 deletions

1
Modules/Install_Jobs.sql Normal file
View File

@@ -0,0 +1 @@
@@Lapse_Quotes_Job.sql

View File

@@ -0,0 +1,10 @@
begin
sys.dbms_job.submit(job => :job,
what => 'begin
mip_quotation.lapse_quotes_job;
end;',
next_date => to_date(to_char(SYSDATE, 'dd-mm-yyyy') || ' 00:00', 'dd-mm-yyyy hh24:mi'),
interval => 'SYSDATE+1');
commit;
end;
/

View File

@@ -31,4 +31,7 @@ exec gen_mandatory
@@mip_email.pck
@@mip_friendly_messages.pck
@@compile.sql
-- Add the scheduled jobs
@@Install_Jobs.sql
exit