1013: );
1014: end if;
1015:
1016: /* Finally submit allocation errors report to display the allocation errors
1017: Submit a request for ALLOCATION ERRORS report with a call to FND_REQUEST.SUBMIT API by providing the parameters */
1018: if ln_ins_errored_cnt > 0 or ln_upd_errored_cnt > 0 then
1019:
1020: /* need to correct these values filled for the parameters */
1021: /* add_layout call is required to associate a XML Pub. template to the request output */
1019:
1020: /* need to correct these values filled for the parameters */
1021: /* add_layout call is required to associate a XML Pub. template to the request output */
1022: lb_ret_value :=
1023: fnd_request.add_layout(
1024: template_appl_name => 'JG',
1025: template_code => 'JGZZAERL',
1026: template_language => 'en',
1027: template_territory => 'US',
1028: output_format => 'PDF'
1029: );
1030:
1031: if gv_debug_flag then
1032: fnd_file.put_line(fnd_file.log, 'run allocation - after fnd_request.add_layout'
1033: );
1034: end if;
1035:
1036: ln_errors_conc_request_id :=
1033: );
1034: end if;
1035:
1036: ln_errors_conc_request_id :=
1037: fnd_request.submit_request(
1038: 'JG','JGZZAERL','','',false,
1039: pn_vat_reporting_entity_id, pv_tax_calendar_period, pv_source, FND_GLOBAL.LOCAL_CHR(0),'',
1040: '','','','','','','','','','',
1041: '','','','','','','','','','',
1048: '','','','','','','','','','',
1049: '','','','','');
1050:
1051: if gv_debug_flag then
1052: fnd_file.put_line(fnd_file.log, 'run allocation - after fnd_request.submit_request'
1053: );
1054: end if;
1055:
1056: end if;