264: END IF;
265: --
266: -- Set print options
267: --
268: IF (NOT FND_REQUEST.set_print_options(printer,
269: print_style,
270: number_of_copies,
271: save_output_bool)) THEN
272: cep_standard.debug('Set print options failed');
271: save_output_bool)) THEN
272: cep_standard.debug('Set print options failed');
273: END IF;
274: END IF;
275: req_id := FND_REQUEST.SUBMIT_REQUEST('CE',
276: 'CEFCERR',
277: NULL,
278: trunc(sysdate),
279: FALSE,
341:
342: --
343: -- Set print options
344: --
345: IF (NOT FND_REQUEST.set_print_options(printer,
346: print_style,
347: number_of_copies,
348: save_output_bool)) THEN
349: cep_standard.debug('Set print options failed');
354: INTO l_forecast_header_id
355: FROM ce_forecasts
356: WHERE forecast_id = G_forecast_id;
357:
358: req_id := FND_REQUEST.SUBMIT_REQUEST('CE',
359: 'CEFCAMTS',
360: NULL,
361: trunc(sysdate),
362: FALSE,
1111: FETCH CRowNumber INTO G_row_number;
1112: EXIT WHEN CRowNumber%NOTFOUND OR CRowNumber%NOTFOUND IS NULL;
1113:
1114: IF(G_rp_forecast_start_date IS NOT NULL)THEN
1115: request_id := FND_REQUEST.SUBMIT_REQUEST(
1116: 'CE', 'CEFCSTBD',to_char(G_row_number),'',TRUE,
1117: G_rp_forecast_header_id,
1118: G_rp_forecast_runname,
1119: G_rp_factor,
1149: '','','','','','','','','','',
1150: '','','','','','','','','','',
1151: '','','','','','','','','','');
1152: ELSE
1153: request_id := FND_REQUEST.SUBMIT_REQUEST(
1154: 'CE', 'CEFCSHAP',to_char(G_row_number),'',TRUE,
1155: G_rp_forecast_header_id,
1156: G_rp_forecast_runname,
1157: G_rp_factor,