234: l_succ_cst_rec := l_cst_arry();
235: l_err_rec := l_err_arry();*/
236:
237:
238: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
239: THEN
240: FND_LOG.String
241: (
242: FND_LOG.level_procedure
236:
237:
238: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
239: THEN
240: FND_LOG.String
241: (
242: FND_LOG.level_procedure
243: , L_LOG_MODULE || 'start_time'
244: , 'The start time is ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
238: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
239: THEN
240: FND_LOG.String
241: (
242: FND_LOG.level_procedure
243: , L_LOG_MODULE || 'start_time'
244: , 'The start time is ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
245: );
246:
244: , 'The start time is ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
245: );
246:
247:
248: FND_LOG.String
249: (
250: FND_LOG.level_procedure
251: , L_LOG_MODULE || 'start'
252: , 'Inside ' || 'Interface Cost Details ' || ', called with parameters below:'
246:
247:
248: FND_LOG.String
249: (
250: FND_LOG.level_procedure
251: , L_LOG_MODULE || 'start'
252: , 'Inside ' || 'Interface Cost Details ' || ', called with parameters below:'
253: );
254:
251: , L_LOG_MODULE || 'start'
252: , 'Inside ' || 'Interface Cost Details ' || ', called with parameters below:'
253: );
254:
255: FND_LOG.String
256: (
257: FND_LOG.level_procedure
258: , L_LOG_MODULE || 'param 1'
259: , 'errbuf:' || errbuf
253: );
254:
255: FND_LOG.String
256: (
257: FND_LOG.level_procedure
258: , L_LOG_MODULE || 'param 1'
259: , 'errbuf:' || errbuf
260: );
261: FND_LOG.String
257: FND_LOG.level_procedure
258: , L_LOG_MODULE || 'param 1'
259: , 'errbuf:' || errbuf
260: );
261: FND_LOG.String
262: (
263: FND_LOG.level_procedure
264: , L_LOG_MODULE || 'param 2'
265: , 'errcode:' || errcode
259: , 'errbuf:' || errbuf
260: );
261: FND_LOG.String
262: (
263: FND_LOG.level_procedure
264: , L_LOG_MODULE || 'param 2'
265: , 'errcode:' || errcode
266: );
267:
265: , 'errcode:' || errcode
266: );
267:
268:
269: FND_LOG.String
270: (
271: FND_LOG.level_procedure
272: , L_LOG_MODULE || 'param 3'
273: , 'p_creation_from_date: ' || p_creation_from_date
267:
268:
269: FND_LOG.String
270: (
271: FND_LOG.level_procedure
272: , L_LOG_MODULE || 'param 3'
273: , 'p_creation_from_date: ' || p_creation_from_date
274: );
275: FND_LOG.String
271: FND_LOG.level_procedure
272: , L_LOG_MODULE || 'param 3'
273: , 'p_creation_from_date: ' || p_creation_from_date
274: );
275: FND_LOG.String
276: (
277: FND_LOG.level_procedure
278: , L_LOG_MODULE || 'param 4'
279: , 'p_creation_to_date: ' || p_creation_to_date
273: , 'p_creation_from_date: ' || p_creation_from_date
274: );
275: FND_LOG.String
276: (
277: FND_LOG.level_procedure
278: , L_LOG_MODULE || 'param 4'
279: , 'p_creation_to_date: ' || p_creation_to_date
280: );
281:
278: , L_LOG_MODULE || 'param 4'
279: , 'p_creation_to_date: ' || p_creation_to_date
280: );
281:
282: FND_LOG.String
283: (
284: FND_LOG.level_procedure
285: , L_LOG_MODULE || 'param 5'
286: , 'p_project_id ' || p_project_id
280: );
281:
282: FND_LOG.String
283: (
284: FND_LOG.level_procedure
285: , L_LOG_MODULE || 'param 5'
286: , 'p_project_id ' || p_project_id
287: );
288:
286: , 'p_project_id ' || p_project_id
287: );
288:
289:
290: FND_LOG.String
291: (
292: FND_LOG.level_procedure
293: , L_LOG_MODULE || 'param 6'
294: , 'p_project_task_id ' || p_project_task_id
288:
289:
290: FND_LOG.String
291: (
292: FND_LOG.level_procedure
293: , L_LOG_MODULE || 'param 6'
294: , 'p_project_task_id ' || p_project_task_id
295: );
296:
294: , 'p_project_task_id ' || p_project_task_id
295: );
296:
297:
298: FND_LOG.String
299: (
300: FND_LOG.level_procedure
301: , L_LOG_MODULE || 'param 7'
302: , 'p_transaction_type_id ' || p_transaction_type_id
296:
297:
298: FND_LOG.String
299: (
300: FND_LOG.level_procedure
301: , L_LOG_MODULE || 'param 7'
302: , 'p_transaction_type_id ' || p_transaction_type_id
303: );
304:
301: , L_LOG_MODULE || 'param 7'
302: , 'p_transaction_type_id ' || p_transaction_type_id
303: );
304:
305: FND_LOG.String
306: (
307: FND_LOG.level_procedure
308: , L_LOG_MODULE || 'param 8'
309: , 'p_billing_type ' || p_billing_type
303: );
304:
305: FND_LOG.String
306: (
307: FND_LOG.level_procedure
308: , L_LOG_MODULE || 'param 8'
309: , 'p_billing_type ' || p_billing_type
310: );
311:
308: , L_LOG_MODULE || 'param 8'
309: , 'p_billing_type ' || p_billing_type
310: );
311:
312: FND_LOG.String
313: (
314: FND_LOG.level_procedure
315: , L_LOG_MODULE || 'param 9'
316: , 'p_incident_id ' || p_incident_id
310: );
311:
312: FND_LOG.String
313: (
314: FND_LOG.level_procedure
315: , L_LOG_MODULE || 'param 9'
316: , 'p_incident_id ' || p_incident_id
317: );
318:
315: , L_LOG_MODULE || 'param 9'
316: , 'p_incident_id ' || p_incident_id
317: );
318:
319: FND_LOG.String
320: (
321: FND_LOG.level_procedure
322: , L_LOG_MODULE || 'param 10'
323: , 'p_incident_status_id ' || p_incident_status_id
317: );
318:
319: FND_LOG.String
320: (
321: FND_LOG.level_procedure
322: , L_LOG_MODULE || 'param 10'
323: , 'p_incident_status_id ' || p_incident_status_id
324: );
325:
322: , L_LOG_MODULE || 'param 10'
323: , 'p_incident_status_id ' || p_incident_status_id
324: );
325:
326: FND_LOG.String
327: (
328: FND_LOG.level_procedure
329: , L_LOG_MODULE || 'param 11'
330: , 'p_source_code ' || p_source_code
324: );
325:
326: FND_LOG.String
327: (
328: FND_LOG.level_procedure
329: , L_LOG_MODULE || 'param 11'
330: , 'p_source_code ' || p_source_code
331: );
332:
329: , L_LOG_MODULE || 'param 11'
330: , 'p_source_code ' || p_source_code
331: );
332:
333: FND_LOG.String
334: (
335: FND_LOG.level_procedure
336: , L_LOG_MODULE || 'param 12'
337: , 'p_source_number ' || p_source_number
331: );
332:
333: FND_LOG.String
334: (
335: FND_LOG.level_procedure
336: , L_LOG_MODULE || 'param 12'
337: , 'p_source_number ' || p_source_number
338: );
339:
336: , L_LOG_MODULE || 'param 12'
337: , 'p_source_number ' || p_source_number
338: );
339:
340: FND_LOG.String
341: (
342: FND_LOG.level_procedure
343: , L_LOG_MODULE || 'param 13'
344: , 'p_org_id ' || p_org_id
338: );
339:
340: FND_LOG.String
341: (
342: FND_LOG.level_procedure
343: , L_LOG_MODULE || 'param 13'
344: , 'p_org_id ' || p_org_id
345: );
346:
343: , L_LOG_MODULE || 'param 13'
344: , 'p_org_id ' || p_org_id
345: );
346:
347: FND_LOG.String
348: (
349: FND_LOG.level_procedure
350: , L_LOG_MODULE || 'param 14'
351: , 'p_inv_org_id ' || p_inv_org_id
345: );
346:
347: FND_LOG.String
348: (
349: FND_LOG.level_procedure
350: , L_LOG_MODULE || 'param 14'
351: , 'p_inv_org_id ' || p_inv_org_id
352: );
353:
496: Exception
497:
498: WHEN TOO_MANY_ROWS THEN
499:
500: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
501: THEN
502: FND_LOG.String
503: (
504: FND_LOG.level_unexpected
498: WHEN TOO_MANY_ROWS THEN
499:
500: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
501: THEN
502: FND_LOG.String
503: (
504: FND_LOG.level_unexpected
505: , L_LOG_MODULE || 'TOO_MANY_ROWS'
506: , 'Not able to fetch Employeee Number '
500: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
501: THEN
502: FND_LOG.String
503: (
504: FND_LOG.level_unexpected
505: , L_LOG_MODULE || 'TOO_MANY_ROWS'
506: , 'Not able to fetch Employeee Number '
507: );
508: END IF ;
517:
518: RAISE l_interface_error;
519:
520: WHEN NO_DATA_FOUND THEN
521: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
522: THEN
523: FND_LOG.String
524: (
525: FND_LOG.level_unexpected
519:
520: WHEN NO_DATA_FOUND THEN
521: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
522: THEN
523: FND_LOG.String
524: (
525: FND_LOG.level_unexpected
526: , L_LOG_MODULE || 'NO_DATA_FOUND'
527: , 'Not able to fetch Employeee Number '
521: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
522: THEN
523: FND_LOG.String
524: (
525: FND_LOG.level_unexpected
526: , L_LOG_MODULE || 'NO_DATA_FOUND'
527: , 'Not able to fetch Employeee Number '
528: );
529: END IF ;
541: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
542:
543: WHEN OTHERS then
544:
545: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
546: THEN
547: FND_LOG.String
548: (
549: FND_LOG.level_unexpected
543: WHEN OTHERS then
544:
545: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
546: THEN
547: FND_LOG.String
548: (
549: FND_LOG.level_unexpected
550: , L_LOG_MODULE || 'OTHERS'
551: , 'Not able to fetch Employeee Number '
545: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
546: THEN
547: FND_LOG.String
548: (
549: FND_LOG.level_unexpected
550: , L_LOG_MODULE || 'OTHERS'
551: , 'Not able to fetch Employeee Number '
552: );
553: END IF ;
564:
565:
566:
567:
568: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
569: THEN
570: FND_LOG.String
571: (
572: FND_LOG.level_procedure
566:
567:
568: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
569: THEN
570: FND_LOG.String
571: (
572: FND_LOG.level_procedure
573: , L_LOG_MODULE || 'After Fetching Employee Number'
574: , 'Employee Number :'||l_employee_num
568: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
569: THEN
570: FND_LOG.String
571: (
572: FND_LOG.level_procedure
573: , L_LOG_MODULE || 'After Fetching Employee Number'
574: , 'Employee Number :'||l_employee_num
575: );
576:
591: WHERE organization_id = (select expenditure_org_id from cs_estimate_details where estimate_detail_id =l_estimate_detail_id );
592:
593: Exception
594: WHEN TOO_MANY_ROWS THEN
595: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
596: THEN
597: FND_LOG.String
598: (
599: FND_LOG.level_unexpected
593: Exception
594: WHEN TOO_MANY_ROWS THEN
595: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
596: THEN
597: FND_LOG.String
598: (
599: FND_LOG.level_unexpected
600: , L_LOG_MODULE || 'TOO_MANY_ROWS'
601: , 'Not able to fetch the organization name '
595: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
596: THEN
597: FND_LOG.String
598: (
599: FND_LOG.level_unexpected
600: , L_LOG_MODULE || 'TOO_MANY_ROWS'
601: , 'Not able to fetch the organization name '
602: );
603: END IF ;
608:
609: RAISE l_interface_error;
610:
611: WHEN NO_DATA_FOUND THEN
612: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
613: THEN
614: FND_LOG.String
615: (
616: FND_LOG.level_unexpected
610:
611: WHEN NO_DATA_FOUND THEN
612: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
613: THEN
614: FND_LOG.String
615: (
616: FND_LOG.level_unexpected
617: , L_LOG_MODULE || 'NO_DATA_FOUND'
618: , 'Not able to fetch the organization name '
612: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
613: THEN
614: FND_LOG.String
615: (
616: FND_LOG.level_unexpected
617: , L_LOG_MODULE || 'NO_DATA_FOUND'
618: , 'Not able to fetch the organization name '
619: );
620: END IF ;
628:
629: RAISE l_interface_error;
630:
631: WHEN OTHERS then
632: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
633: THEN
634: FND_LOG.String
635: (
636: FND_LOG.level_unexpected
630:
631: WHEN OTHERS then
632: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
633: THEN
634: FND_LOG.String
635: (
636: FND_LOG.level_unexpected
637: , L_LOG_MODULE || 'OTHERS'
638: , 'Not able to fetch the organization name '
632: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
633: THEN
634: FND_LOG.String
635: (
636: FND_LOG.level_unexpected
637: , L_LOG_MODULE || 'OTHERS'
638: , 'Not able to fetch the organization name '
639: );
640: END IF ;
647: End;
648:
649:
650:
651: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
652: THEN
653: FND_LOG.String
654: (
655: FND_LOG.level_procedure
649:
650:
651: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
652: THEN
653: FND_LOG.String
654: (
655: FND_LOG.level_procedure
656: , L_LOG_MODULE || 'After Fetching Expenditure Organization Name'
657: , 'Organization Name :'||l_organization_name
651: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
652: THEN
653: FND_LOG.String
654: (
655: FND_LOG.level_procedure
656: , L_LOG_MODULE || 'After Fetching Expenditure Organization Name'
657: , 'Organization Name :'||l_organization_name
658: );
659:
684: WHERE project_id = (select project_id from cs_estimate_details where estimate_detail_id =l_estimate_detail_id );
685:
686: Exception
687: WHEN TOO_MANY_ROWS THEN
688: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
689: THEN
690: FND_LOG.String
691: (
692: FND_LOG.level_unexpected
686: Exception
687: WHEN TOO_MANY_ROWS THEN
688: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
689: THEN
690: FND_LOG.String
691: (
692: FND_LOG.level_unexpected
693: , L_LOG_MODULE || 'TOO_MANY_ROWS'
694: , 'Not able to fetch the Project Number '
688: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
689: THEN
690: FND_LOG.String
691: (
692: FND_LOG.level_unexpected
693: , L_LOG_MODULE || 'TOO_MANY_ROWS'
694: , 'Not able to fetch the Project Number '
695: );
696: END IF ;
700: FND_MSG_PUB.Add;
701: RAISE l_interface_error;
702:
703: WHEN NO_DATA_FOUND THEN
704: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
705: THEN
706: FND_LOG.String
707: (
708: FND_LOG.level_unexpected
702:
703: WHEN NO_DATA_FOUND THEN
704: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
705: THEN
706: FND_LOG.String
707: (
708: FND_LOG.level_unexpected
709: , L_LOG_MODULE || 'NO_DATA_FOUND'
710: , 'Not able to fetch the Project Number '
704: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
705: THEN
706: FND_LOG.String
707: (
708: FND_LOG.level_unexpected
709: , L_LOG_MODULE || 'NO_DATA_FOUND'
710: , 'Not able to fetch the Project Number '
711: );
712: END IF ;
720: FND_MSG_PUB.Add;
721:
722: RAISE l_interface_error;
723: WHEN OTHERS then
724: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
725: THEN
726: FND_LOG.String
727: (
728: FND_LOG.level_unexpected
722: RAISE l_interface_error;
723: WHEN OTHERS then
724: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
725: THEN
726: FND_LOG.String
727: (
728: FND_LOG.level_unexpected
729: , L_LOG_MODULE || 'OTHERS'
730: , 'Not able to fetch the Project Number '
724: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
725: THEN
726: FND_LOG.String
727: (
728: FND_LOG.level_unexpected
729: , L_LOG_MODULE || 'OTHERS'
730: , 'Not able to fetch the Project Number '
731: );
732: END IF ;
752: INTO l_task_num
753: FROM pa_tasks where task_id = (select project_task_id from cs_estimate_details where estimate_detail_id =l_estimate_detail_id );
754: Exception
755: WHEN TOO_MANY_ROWS THEN
756: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
757: THEN
758: FND_LOG.String
759: (
760: FND_LOG.level_unexpected
754: Exception
755: WHEN TOO_MANY_ROWS THEN
756: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
757: THEN
758: FND_LOG.String
759: (
760: FND_LOG.level_unexpected
761: , L_LOG_MODULE || 'TOO_MANY_ROWS'
762: , 'Not able to fetch the Project Task Number '
756: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
757: THEN
758: FND_LOG.String
759: (
760: FND_LOG.level_unexpected
761: , L_LOG_MODULE || 'TOO_MANY_ROWS'
762: , 'Not able to fetch the Project Task Number '
763: );
764: END IF ;
771:
772: RAISE l_interface_error;
773:
774: WHEN NO_DATA_FOUND THEN
775: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
776: THEN
777: FND_LOG.String
778: (
779: FND_LOG.level_unexpected
773:
774: WHEN NO_DATA_FOUND THEN
775: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
776: THEN
777: FND_LOG.String
778: (
779: FND_LOG.level_unexpected
780: , L_LOG_MODULE || 'NO_DATA_FOUND'
781: , 'Not able to fetch the Project Task Number '
775: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
776: THEN
777: FND_LOG.String
778: (
779: FND_LOG.level_unexpected
780: , L_LOG_MODULE || 'NO_DATA_FOUND'
781: , 'Not able to fetch the Project Task Number '
782: );
783: END IF ;
791:
792:
793: RAISE l_interface_error;
794: WHEN OTHERS then
795: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
796: THEN
797: FND_LOG.String
798: (
799: FND_LOG.level_unexpected
793: RAISE l_interface_error;
794: WHEN OTHERS then
795: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
796: THEN
797: FND_LOG.String
798: (
799: FND_LOG.level_unexpected
800: , L_LOG_MODULE || 'OTHERS'
801: , 'Not able to fetch the Project Task Number '
795: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
796: THEN
797: FND_LOG.String
798: (
799: FND_LOG.level_unexpected
800: , L_LOG_MODULE || 'OTHERS'
801: , 'Not able to fetch the Project Task Number '
802: );
803: END IF ;
812:
813: End;
814:
815:
816: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
817: THEN
818: FND_LOG.String
819: (
820: FND_LOG.level_procedure
814:
815:
816: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
817: THEN
818: FND_LOG.String
819: (
820: FND_LOG.level_procedure
821: , L_LOG_MODULE || 'After Fetching Project Number and Task Number'
822: , 'Project Number :'||l_project_num ||'Project Task Number :'||l_task_num
816: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
817: THEN
818: FND_LOG.String
819: (
820: FND_LOG.level_procedure
821: , L_LOG_MODULE || 'After Fetching Project Number and Task Number'
822: , 'Project Number :'||l_project_num ||'Project Task Number :'||l_task_num
823: );
824:
869: WHERE project_id = l_project_id;
870:
871: Exception
872: WHEN TOO_MANY_ROWS THEN
873: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
874: THEN
875: FND_LOG.String
876: (
877: FND_LOG.level_unexpected
871: Exception
872: WHEN TOO_MANY_ROWS THEN
873: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
874: THEN
875: FND_LOG.String
876: (
877: FND_LOG.level_unexpected
878: , L_LOG_MODULE || 'TOO_MANY_ROWS'
879: , 'Not able to fetch the Project Currency Code '
873: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
874: THEN
875: FND_LOG.String
876: (
877: FND_LOG.level_unexpected
878: , L_LOG_MODULE || 'TOO_MANY_ROWS'
879: , 'Not able to fetch the Project Currency Code '
880: );
881: END IF ;
883:
884: RAISE l_interface_error;
885:
886: WHEN NO_DATA_FOUND THEN
887: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
888: THEN
889: FND_LOG.String
890: (
891: FND_LOG.level_unexpected
885:
886: WHEN NO_DATA_FOUND THEN
887: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
888: THEN
889: FND_LOG.String
890: (
891: FND_LOG.level_unexpected
892: , L_LOG_MODULE || 'NO_DATA_FOUND'
893: , 'Not able to fetch the Project Currency Code '
887: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
888: THEN
889: FND_LOG.String
890: (
891: FND_LOG.level_unexpected
892: , L_LOG_MODULE || 'NO_DATA_FOUND'
893: , 'Not able to fetch the Project Currency Code '
894: );
895: END IF ;
903:
904:
905: RAISE l_interface_error;
906: WHEN OTHERS then
907: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
908: THEN
909: FND_LOG.String
910: (
911: FND_LOG.level_unexpected
905: RAISE l_interface_error;
906: WHEN OTHERS then
907: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
908: THEN
909: FND_LOG.String
910: (
911: FND_LOG.level_unexpected
912: , L_LOG_MODULE || 'OTHERS'
913: , 'Not able to fetch the Project Currency Code '
907: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
908: THEN
909: FND_LOG.String
910: (
911: FND_LOG.level_unexpected
912: , L_LOG_MODULE || 'OTHERS'
913: , 'Not able to fetch the Project Currency Code '
914: );
915: END IF ;
934:
935:
936:
937:
938: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
939: THEN
940: FND_LOG.String
941: (
942: FND_LOG.level_procedure
936:
937:
938: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
939: THEN
940: FND_LOG.String
941: (
942: FND_LOG.level_procedure
943: , L_LOG_MODULE || 'After Fetching Raw Cost'
944: , 'Raw Cost :'||l_raw_cost
938: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
939: THEN
940: FND_LOG.String
941: (
942: FND_LOG.level_procedure
943: , L_LOG_MODULE || 'After Fetching Raw Cost'
944: , 'Raw Cost :'||l_raw_cost
945: );
946:
1122: and transaction_source = l_transaction_source;
1123:
1124: Exception
1125: WHEN OTHERS then
1126: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1127: THEN
1128: FND_LOG.String
1129: (
1130: FND_LOG.level_unexpected
1124: Exception
1125: WHEN OTHERS then
1126: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1127: THEN
1128: FND_LOG.String
1129: (
1130: FND_LOG.level_unexpected
1131: , L_LOG_MODULE || 'OTHERS'
1132: , 'Not able to fetch the Costed Flag '
1126: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1127: THEN
1128: FND_LOG.String
1129: (
1130: FND_LOG.level_unexpected
1131: , L_LOG_MODULE || 'OTHERS'
1132: , 'Not able to fetch the Costed Flag '
1133: );
1134: END IF ;
1253:
1254: End if;
1255: Exception
1256: WHEN TOO_MANY_ROWS THEN
1257: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1258: THEN
1259: FND_LOG.String
1260: (
1261: FND_LOG.level_unexpected
1255: Exception
1256: WHEN TOO_MANY_ROWS THEN
1257: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1258: THEN
1259: FND_LOG.String
1260: (
1261: FND_LOG.level_unexpected
1262: , L_LOG_MODULE || 'TOO_MANY_ROWS'
1263: , 'Not able to fetch the Person Id '
1257: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1258: THEN
1259: FND_LOG.String
1260: (
1261: FND_LOG.level_unexpected
1262: , L_LOG_MODULE || 'TOO_MANY_ROWS'
1263: , 'Not able to fetch the Person Id '
1264: );
1265: END IF ;
1271:
1272: RAISE l_interface_error;
1273:
1274: WHEN NO_DATA_FOUND THEN
1275: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1276: THEN
1277: FND_LOG.String
1278: (
1279: FND_LOG.level_unexpected
1273:
1274: WHEN NO_DATA_FOUND THEN
1275: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1276: THEN
1277: FND_LOG.String
1278: (
1279: FND_LOG.level_unexpected
1280: , L_LOG_MODULE || 'NO_DATA_FOUND'
1281: , 'Not able to fetch the Person Id '
1275: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1276: THEN
1277: FND_LOG.String
1278: (
1279: FND_LOG.level_unexpected
1280: , L_LOG_MODULE || 'NO_DATA_FOUND'
1281: , 'Not able to fetch the Person Id '
1282: );
1283: END IF ;
1290: -- FND_MSG_PUB.ADD;
1291:
1292: RAISE l_interface_error;
1293: WHEN OTHERS then
1294: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1295: THEN
1296: FND_LOG.String
1297: (
1298: FND_LOG.level_unexpected
1292: RAISE l_interface_error;
1293: WHEN OTHERS then
1294: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1295: THEN
1296: FND_LOG.String
1297: (
1298: FND_LOG.level_unexpected
1299: , L_LOG_MODULE || 'OTHERS'
1300: , 'Not able to fetch the Person Id '
1294: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1295: THEN
1296: FND_LOG.String
1297: (
1298: FND_LOG.level_unexpected
1299: , L_LOG_MODULE || 'OTHERS'
1300: , 'Not able to fetch the Person Id '
1301: );
1302: END IF ;
1316:
1317:
1318:
1319:
1320: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1321: THEN
1322: FND_LOG.String
1323: (
1324: FND_LOG.level_procedure
1318:
1319:
1320: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1321: THEN
1322: FND_LOG.String
1323: (
1324: FND_LOG.level_procedure
1325: , L_LOG_MODULE || 'After Fetching Person Id'
1326: , 'Person Id:'||l_person_id
1320: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1321: THEN
1322: FND_LOG.String
1323: (
1324: FND_LOG.level_procedure
1325: , L_LOG_MODULE || 'After Fetching Person Id'
1326: , 'Person Id:'||l_person_id
1327: );
1328:
1374:
1375:
1376: Exception
1377: WHEN TOO_MANY_ROWS THEN
1378: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1379: THEN
1380: FND_LOG.String
1381: (
1382: FND_LOG.level_unexpected
1376: Exception
1377: WHEN TOO_MANY_ROWS THEN
1378: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1379: THEN
1380: FND_LOG.String
1381: (
1382: FND_LOG.level_unexpected
1383: , L_LOG_MODULE || 'TOO_MANY_ROWS'
1384: , 'Not able to fetch the business_group_id '
1378: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1379: THEN
1380: FND_LOG.String
1381: (
1382: FND_LOG.level_unexpected
1383: , L_LOG_MODULE || 'TOO_MANY_ROWS'
1384: , 'Not able to fetch the business_group_id '
1385: );
1386: END IF ;
1391:
1392: RAISE l_interface_error;
1393:
1394: WHEN NO_DATA_FOUND THEN
1395: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1396: THEN
1397: FND_LOG.String
1398: (
1399: FND_LOG.level_unexpected
1393:
1394: WHEN NO_DATA_FOUND THEN
1395: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1396: THEN
1397: FND_LOG.String
1398: (
1399: FND_LOG.level_unexpected
1400: , L_LOG_MODULE || 'NO_DATA_FOUND'
1401: , 'Not able to fetch the business_group_id '
1395: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1396: THEN
1397: FND_LOG.String
1398: (
1399: FND_LOG.level_unexpected
1400: , L_LOG_MODULE || 'NO_DATA_FOUND'
1401: , 'Not able to fetch the business_group_id '
1402: );
1403: END IF ;
1410: FND_MSG_PUB.Add;
1411:
1412: RAISE l_interface_error;
1413: WHEN OTHERS then
1414: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1415: THEN
1416: FND_LOG.String
1417: (
1418: FND_LOG.level_unexpected
1412: RAISE l_interface_error;
1413: WHEN OTHERS then
1414: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1415: THEN
1416: FND_LOG.String
1417: (
1418: FND_LOG.level_unexpected
1419: , L_LOG_MODULE || 'OTHERS'
1420: , 'Not able to fetch the business_group_id '
1414: IF FND_LOG.level_unexpected >= FND_LOG.g_current_runtime_level
1415: THEN
1416: FND_LOG.String
1417: (
1418: FND_LOG.level_unexpected
1419: , L_LOG_MODULE || 'OTHERS'
1420: , 'Not able to fetch the business_group_id '
1421: );
1422: END IF ;
1429: End;
1430:
1431:
1432:
1433: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1434: THEN
1435: FND_LOG.String
1436: (
1437: FND_LOG.level_procedure
1431:
1432:
1433: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1434: THEN
1435: FND_LOG.String
1436: (
1437: FND_LOG.level_procedure
1438: , L_LOG_MODULE || 'After Fetching Business Group Id'
1439: , 'l_business_group_id:'||l_business_group_id
1433: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1434: THEN
1435: FND_LOG.String
1436: (
1437: FND_LOG.level_procedure
1438: , L_LOG_MODULE || 'After Fetching Business Group Id'
1439: , 'l_business_group_id:'||l_business_group_id
1440: );
1441:
1524: End if;
1525:
1526:
1527:
1528: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1529: THEN
1530: FND_LOG.String
1531: (
1532: FND_LOG.level_procedure
1526:
1527:
1528: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1529: THEN
1530: FND_LOG.String
1531: (
1532: FND_LOG.level_procedure
1533: , L_LOG_MODULE || 'Before inserting into PA_TRANSACTION_INTERFACE_ALL table'
1534: , 'Begins'
1528: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1529: THEN
1530: FND_LOG.String
1531: (
1532: FND_LOG.level_procedure
1533: , L_LOG_MODULE || 'Before inserting into PA_TRANSACTION_INTERFACE_ALL table'
1534: , 'Begins'
1535: );
1536:
1798: end if;
1799:
1800:
1801:
1802: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1803: THEN
1804: FND_LOG.String
1805: (
1806: FND_LOG.level_procedure
1800:
1801:
1802: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1803: THEN
1804: FND_LOG.String
1805: (
1806: FND_LOG.level_procedure
1807: , L_LOG_MODULE || 'After inserting into PA_TRANSACTION_INTERFACE_ALL table'
1808: , 'ends'
1802: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1803: THEN
1804: FND_LOG.String
1805: (
1806: FND_LOG.level_procedure
1807: , L_LOG_MODULE || 'After inserting into PA_TRANSACTION_INTERFACE_ALL table'
1808: , 'ends'
1809: );
1810:
1817:
1818: When l_interface_error then
1819:
1820:
1821: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1822: THEN
1823: FND_LOG.String
1824: (
1825: FND_LOG.level_procedure
1819:
1820:
1821: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1822: THEN
1823: FND_LOG.String
1824: (
1825: FND_LOG.level_procedure
1826: , L_LOG_MODULE || 'Inside exception'
1827: ,'sqlerrm:'||sqlerrm
1821: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1822: THEN
1823: FND_LOG.String
1824: (
1825: FND_LOG.level_procedure
1826: , L_LOG_MODULE || 'Inside exception'
1827: ,'sqlerrm:'||sqlerrm
1828: );
1829:
1861:
1862: WHEN OTHERS THEN
1863:
1864:
1865: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1866: THEN
1867: FND_LOG.String
1868: (
1869: FND_LOG.level_procedure
1863:
1864:
1865: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1866: THEN
1867: FND_LOG.String
1868: (
1869: FND_LOG.level_procedure
1870: , L_LOG_MODULE || 'Inside exception'
1871: ,'sqlerrm:'||sqlerrm
1865: IF FND_LOG.level_procedure >= FND_LOG.g_current_runtime_level
1866: THEN
1867: FND_LOG.String
1868: (
1869: FND_LOG.level_procedure
1870: , L_LOG_MODULE || 'Inside exception'
1871: ,'sqlerrm:'||sqlerrm
1872: );
1873: