26: retVal := false;
27: if (length(repeatInterval) <> 0 ) then
28: --if the repeat inteval is not null, then recurr the request after this
29: --interval
30: retVal := FND_REQUEST.SET_REPEAT_OPTIONS('' , repeatInterval ,repeatUnit
31: , 'START', repeatEndDate);
32: else
33: --if the repeatInteval is null, then recurr the request daily at this time
34: --Extract the time from submitDate
31: , 'START', repeatEndDate);
32: else
33: --if the repeatInteval is null, then recurr the request daily at this time
34: --Extract the time from submitDate
35: retVal := FND_REQUEST.SET_REPEAT_OPTIONS(SUBSTR('submitDate' ,
36: - INSTR('submitDate',' ', -8, 1) ,
37: INSTR('submitDate',' ', -8, 1)) , '' , '',
38: 'START', repeatEndDate);
39: end if;
44: end if;
45:
46: --Submit the request
47: if (retVal = true) then
48: reqId := FND_REQUEST.submit_request ('AD','FND_PAUPLOAD',
49: 'PatchWizard - Information Bundle Upload',submitDate, FALSE);
50: end if;
51:
52: -- This is to get the actual error in case concurrent program fails.
674: fnd_imp_pkg.set_aggregate_list(pReqId,buglist);
675:
676: --Submit the request.
677: if (retVal = true) then
678: reqId := FND_REQUEST.submit_request ('FND','AGGREGATEIMPACT',
679: 'Aggregate Patch Impact', NULL, FALSE, pReqId);
680: end if;
681:
682: -- This is to get the actual error in case concurrent program fails.