DBA Data[Home] [Help]

APPS.PO_CREATE_SR_ASL dependencies on PO_DEBUG

Line 659: po_debug.set_file_io(NULL);

655: /****************************Cursors Declaration End*******************/
656:
657: BEGIN
658: IF g_po_pdoi_write_to_file IS NULL THEN
659: po_debug.set_file_io(NULL);
660: ELSIF g_po_pdoi_write_to_file = 'Y' THEN
661: po_debug.set_file_io(TRUE);
662: ELSE
663: po_debug.set_file_io(FALSE);

Line 661: po_debug.set_file_io(TRUE);

657: BEGIN
658: IF g_po_pdoi_write_to_file IS NULL THEN
659: po_debug.set_file_io(NULL);
660: ELSIF g_po_pdoi_write_to_file = 'Y' THEN
661: po_debug.set_file_io(TRUE);
662: ELSE
663: po_debug.set_file_io(FALSE);
664: END IF;
665:

Line 663: po_debug.set_file_io(FALSE);

659: po_debug.set_file_io(NULL);
660: ELSIF g_po_pdoi_write_to_file = 'Y' THEN
661: po_debug.set_file_io(TRUE);
662: ELSE
663: po_debug.set_file_io(FALSE);
664: END IF;
665:
666: FND_FILE.put_line(FND_FILE.LOG,'==>POASLGEN starts at ' || TO_CHAR(sysdate,'MM/DD/RR HH24:MI:SS'));
667:

Line 670: PO_DEBUG.put_line('Entering '||g_pkg_name||l_procedure_name);

666: FND_FILE.put_line(FND_FILE.LOG,'==>POASLGEN starts at ' || TO_CHAR(sysdate,'MM/DD/RR HH24:MI:SS'));
667:
668: IF g_po_pdoi_write_to_file ='Y' THEN
669: l_progress :='000';
670: PO_DEBUG.put_line('Entering '||g_pkg_name||l_procedure_name);
671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));
672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));

Line 671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));

667:
668: IF g_po_pdoi_write_to_file ='Y' THEN
669: l_progress :='000';
670: PO_DEBUG.put_line('Entering '||g_pkg_name||l_procedure_name);
671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));
672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);

Line 672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));

668: IF g_po_pdoi_write_to_file ='Y' THEN
669: l_progress :='000';
670: PO_DEBUG.put_line('Entering '||g_pkg_name||l_procedure_name);
671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));
672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);

Line 673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));

669: l_progress :='000';
670: PO_DEBUG.put_line('Entering '||g_pkg_name||l_procedure_name);
671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));
672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);

Line 674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));

670: PO_DEBUG.put_line('Entering '||g_pkg_name||l_procedure_name);
671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));
672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);

Line 675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);

671: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_document_id : '||to_char(p_document_id));
672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));

Line 676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);

672: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_id : '||to_char(p_vendor_id));
673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);

Line 677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);

673: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_purchasing_org_id : '||to_char(p_purchasing_org_id));
674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);
681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);

Line 678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);

674: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_vendor_site_id : '||to_char(p_vendor_site_id));
675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);
681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);
682: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_assignment_set_id : '||p_assignment_set_id);

Line 679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));

675: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_create_sourcing_rule : '||p_create_sourcing_rule);
676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);
681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);
682: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_assignment_set_id : '||p_assignment_set_id);
683: END IF;

Line 680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);

676: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_update_sourcing_rule : '||p_update_sourcing_rule);
677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);
681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);
682: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_assignment_set_id : '||p_assignment_set_id);
683: END IF;
684:

Line 681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);

677: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_agreement_lines_selection : '||p_agreement_lines_selection);
678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);
681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);
682: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_assignment_set_id : '||p_assignment_set_id);
683: END IF;
684:
685:

Line 682: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_assignment_set_id : '||p_assignment_set_id);

678: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_level : '||p_sourcing_level);
679: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_inv_org : '||to_char(p_inv_org));
680: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_sourcing_rule_name : '||p_sourcing_rule_name);
681: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_release_gen_method : '||p_release_gen_method);
682: PO_DEBUG.put_line(l_progress||' : Input Parameter : '||'p_assignment_set_id : '||p_assignment_set_id);
683: END IF;
684:
685:
686:

Line 698: PO_DEBUG.put_line(l_progress||' Incompatible call to API : '||l_cr_api_version);

694:
695: IF g_po_pdoi_write_to_file='Y' THEN
696: l_progress := '001';
697: FND_FILE.PUT_LINE(FND_FILE.OUTPUT,l_progress||' Incompatible call to API : '||l_cr_api_version);
698: PO_DEBUG.put_line(l_progress||' Incompatible call to API : '||l_cr_api_version);
699: END IF;
700: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
701: END IF;
702:

Line 726: PO_DEBUG.put_line(l_progress||' : Operating Unit Id : '||l_orgid);

722:
723:
724: IF g_po_pdoi_write_to_file='Y' THEN
725: l_progress :='002';
726: PO_DEBUG.put_line(l_progress||' : Operating Unit Id : '||l_orgid);
727: l_progress :='003';
728: PO_DEBUG.put_line(l_progress||' : Archival Option :'||l_archive_on_approve);
729: END IF;
730:

Line 728: PO_DEBUG.put_line(l_progress||' : Archival Option :'||l_archive_on_approve);

724: IF g_po_pdoi_write_to_file='Y' THEN
725: l_progress :='002';
726: PO_DEBUG.put_line(l_progress||' : Operating Unit Id : '||l_orgid);
727: l_progress :='003';
728: PO_DEBUG.put_line(l_progress||' : Archival Option :'||l_archive_on_approve);
729: END IF;
730:
731: ----This Concurrent Program should run Only If Archival Is Set To Archive On Approve
732: IF(l_archive_on_approve <> 'APPROVE')THEN

Line 735: PO_DEBUG.put_line(l_progress||' : Archival Option '||l_archive_on_approve||' is incompatible with this concurrent request :');

731: ----This Concurrent Program should run Only If Archival Is Set To Archive On Approve
732: IF(l_archive_on_approve <> 'APPROVE')THEN
733: IF g_po_pdoi_write_to_file='Y' THEN
734: l_progress :='004';
735: PO_DEBUG.put_line(l_progress||' : Archival Option '||l_archive_on_approve||' is incompatible with this concurrent request :');
736: END IF;
737: l_error_message:=PO_CORE_S.get_translated_text('PO_SR_ASL_ARCHIVAL_OPTION');
738: FND_FILE.put_line(FND_FILE.OUTPUT,l_error_message);
739: RAISE FND_API.G_EXC_ERROR;--RAISE ERROR

Line 766: PO_DEBUG.put_line(l_progress||' : Agreement Lines Selection :'||p_agreement_lines_selection);

762: IF(p_agreement_lines_selection='NEW')THEN
763:
764: IF g_po_pdoi_write_to_file ='Y' THEN
765: l_progress :='005';
766: PO_DEBUG.put_line(l_progress||' : Agreement Lines Selection :'||p_agreement_lines_selection);
767: END IF;
768:
769: -- SQL What: Querying to find the last line created in a previous
770: -- revision of the document

Line 793: PO_DEBUG.put_line(l_progress||': Previous Line Number :'||p_agreement_lines_selection);

789:
790:
791: IF g_po_pdoi_write_to_file ='Y' THEN
792: l_progress :='006';
793: PO_DEBUG.put_line(l_progress||': Previous Line Number :'||p_agreement_lines_selection);
794: END IF;
795:
796: END IF;
797:

Line 807: PO_DEBUG.put_line(l_progress||': Opened cursor :'||'get_new_lines_to_be_processed');

803: IF p_agreement_lines_selection='NEW' THEN
804: OPEN get_new_lines_to_be_processed;
805: IF g_po_pdoi_write_to_file ='Y' THEN
806: l_progress :='007';
807: PO_DEBUG.put_line(l_progress||': Opened cursor :'||'get_new_lines_to_be_processed');
808: END IF;
809: ELSE
810: OPEN get_all_document_lines;
811: IF g_po_pdoi_write_to_file ='Y' THEN

Line 813: PO_DEBUG.put_line(l_progress||': Opened cursor : get_all_document_lines');

809: ELSE
810: OPEN get_all_document_lines;
811: IF g_po_pdoi_write_to_file ='Y' THEN
812: l_progress :='008';
813: PO_DEBUG.put_line(l_progress||': Opened cursor : get_all_document_lines');
814: END IF;
815: END IF;
816:
817: -- If the create sourcing rule is set to 'Y' set the value of create_update_flag to CREATE.

Line 886: PO_DEBUG.put_line(l_progress||' : Closed cursor : get_new_lines_to_be_processed');

882: IF p_agreement_lines_selection='NEW' THEN
883: CLOSE get_new_lines_to_be_processed;
884: IF g_po_pdoi_write_to_file ='Y' THEN
885: l_progress :='009';
886: PO_DEBUG.put_line(l_progress||' : Closed cursor : get_new_lines_to_be_processed');
887: END IF;
888: ELSE
889: CLOSE get_all_document_lines;
890: IF g_po_pdoi_write_to_file ='Y' THEN

Line 892: PO_DEBUG.put_line(l_progress||' : Closed cursor : get_all_document_lines');

888: ELSE
889: CLOSE get_all_document_lines;
890: IF g_po_pdoi_write_to_file ='Y' THEN
891: l_progress :='010';
892: PO_DEBUG.put_line(l_progress||' : Closed cursor : get_all_document_lines');
893: END IF;
894: END IF;
895:
896: EXCEPTION

Line 1084: PO_DEBUG.put_line(l_progress||'Calling procedure create_update_sourcing_rules ');

1080: BEGIN
1081:
1082: IF g_po_pdoi_write_to_file ='Y' THEN
1083: l_progress :='000';
1084: PO_DEBUG.put_line(l_progress||'Calling procedure create_update_sourcing_rules ');
1085: END IF;
1086: --Setting the assignment type depending on the value of sourcing_level
1087: IF nvl(p_sourcing_level,'ITEM')='ITEM' THEN
1088: l_assignment_type_id:=3;

Line 1122: PO_DEBUG.put_line('Sourcing Rules creation API returned successfully');

1118: x_header_processable_flag := 'Y';
1119:
1120: IF (g_po_pdoi_write_to_file = 'Y') THEN
1121: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1122: PO_DEBUG.put_line('Sourcing Rules creation API returned successfully');
1123: ELSE
1124: PO_DEBUG.put_line('Sourcing Rules creation API returned failure');
1125: END IF;
1126: END IF;

Line 1124: PO_DEBUG.put_line('Sourcing Rules creation API returned failure');

1120: IF (g_po_pdoi_write_to_file = 'Y') THEN
1121: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1122: PO_DEBUG.put_line('Sourcing Rules creation API returned successfully');
1123: ELSE
1124: PO_DEBUG.put_line('Sourcing Rules creation API returned failure');
1125: END IF;
1126: END IF;
1127:
1128: -- SQL What: Querying for the value of Global Agreement Flag to

Line 1144: PO_DEBUG.put_line(l_progress||' : Global Agreement Flag : '||l_ga_flag);

1140: END IF;
1141:
1142: IF g_po_pdoi_write_to_file ='Y' THEN
1143: l_progress :='001';
1144: PO_DEBUG.put_line(l_progress||' : Global Agreement Flag : '||l_ga_flag);
1145: END IF;
1146:
1147: IF (p_vendor_site_id IS NOT NULL)THEN
1148: l_vendor_site_id:=p_vendor_site_id;

Line 1151: PO_DEBUG.put_line(l_progress||' : Value of p_vendor_site_id : '||to_char(p_vendor_site_id));

1147: IF (p_vendor_site_id IS NOT NULL)THEN
1148: l_vendor_site_id:=p_vendor_site_id;
1149: IF g_po_pdoi_write_to_file ='Y' THEN
1150: l_progress :='002';
1151: PO_DEBUG.put_line(l_progress||' : Value of p_vendor_site_id : '||to_char(p_vendor_site_id));
1152: END IF;
1153: END IF;
1154:
1155: IF (nvl(l_ga_flag,'N') = 'Y' AND ( p_vendor_site_id IS NULL)) THEN

Line 1207: PO_DEBUG.put_line('Sourcing Rules/ASL creation failed');

1203: WHEN OTHERS THEN
1204: x_header_processable_flag := 'N';
1205: FND_FILE.put_line(FND_FILE.LOG,'Error occured in '||' : '||g_pkg_name||l_procedure_name||SQLERRM||' : '||SQLCODE);
1206: IF (g_po_pdoi_write_to_file = 'Y') THEN
1207: PO_DEBUG.put_line('Sourcing Rules/ASL creation failed');
1208: END IF;
1209: po_message_s.SQL_ERROR(
1210: p_package => g_pkg_name
1211: , p_routine => l_procedure_name