DBA Data[Home] [Help]

APPS.CN_COLLECTION_AR_GEN dependencies on CN_DEBUG

Line 62: cn_debug.print_msg('insert_trx>>', 1);

58: cn_utils.appendcr(code);
59: cn_utils.appendcr(code, '--******** INSERT CN_TRX ********-- ');
60: cn_utils.unset_org_id();
61:
62: cn_debug.print_msg('insert_trx>>', 1);
63: fnd_file.put_line(fnd_file.Log, 'insert_trx>>');
64:
65: SELECT module_type --AE 11-16-95
66: INTO x_module_type

Line 72: cn_debug.print_msg('insert_trx: x_module_id = ' || x_module_id, 1);

68: WHERE module_id = x_module_id
69: --Added for MOAC by Ashley
70: AND org_id = x_org_id;
71:
72: cn_debug.print_msg('insert_trx: x_module_id = ' || x_module_id, 1);
73:
74: -- Generate the insert statement
75: cn_debug.print_msg('insert_trx: Generating INSERT statement. ', 1);
76: fnd_file.put_line(fnd_file.Log, 'insert_trx: Generating INSERT statement. ');

Line 75: cn_debug.print_msg('insert_trx: Generating INSERT statement. ', 1);

71:
72: cn_debug.print_msg('insert_trx: x_module_id = ' || x_module_id, 1);
73:
74: -- Generate the insert statement
75: cn_debug.print_msg('insert_trx: Generating INSERT statement. ', 1);
76: fnd_file.put_line(fnd_file.Log, 'insert_trx: Generating INSERT statement. ');
77:
78: cn_utils.set_org_id(p_org_id => l_org_id);
79: cn_utils.appindcr(code, 'cn_message_pkg.debug('''|| procedure_name || ': Inserting into CN_TRX.'');');

Line 342: cn_debug.print_msg('insert_trx: Generated INSERT statement.', 1);

338: END IF; -- (x_event_id = cn_global.pmt_event_id)
339: --++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
340:
341: cn_utils.unset_org_id();
342: cn_debug.print_msg('insert_trx: Generated INSERT statement.', 1);
343: fnd_file.put_line(fnd_file.Log, 'insert_trx: Generated INSERT statement.');
344:
345: cn_utils.set_org_id(p_org_id => l_org_id);
346: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserted '' || trx_count || '' records into cn_trx.'');');

Line 367: cn_debug.print_msg('insert_trx<<', 1);

363: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log,''' || procedure_name || ': Updated collected_flag in cn_not_trx.'');');
364: cn_utils.appendcr(code);
365: cn_utils.unset_org_id();
366:
367: cn_debug.print_msg('insert_trx<<', 1);
368: fnd_file.put_line(fnd_file.Log, 'insert_trx<<');
369:
370: EXCEPTION
371: WHEN NO_DATA_FOUND THEN

Line 372: cn_debug.print_msg('insert_trx: in exception handler for NO_DATA_FOUND', 1);

368: fnd_file.put_line(fnd_file.Log, 'insert_trx<<');
369:
370: EXCEPTION
371: WHEN NO_DATA_FOUND THEN
372: cn_debug.print_msg('insert_trx: in exception handler for NO_DATA_FOUND', 1);
373: fnd_file.put_line(fnd_file.Log, 'insert_trx: in exception handler for NO_DATA_FOUND');
374: RETURN;
375: END insert_trx;
376:

Line 419: cn_debug.print_msg('update_trx>>', 1);

415: cn_utils.appendcr(code);
416: cn_utils.appendcr(code, '--******** UPDATE CN_TRX ********-- ');
417: cn_utils.unset_org_id();
418:
419: cn_debug.print_msg('update_trx>>', 1);
420: fnd_file.put_line(fnd_file.Log, 'update_trx>>');
421: -- Initialize value of table_map_id
422: -- Note: This assumes that there is exactly one header table in the
423: -- repository

Line 425: cn_debug.print_msg('update_trx: x_module_id = ' || x_module_id, 1);

421: -- Initialize value of table_map_id
422: -- Note: This assumes that there is exactly one header table in the
423: -- repository
424:
425: cn_debug.print_msg('update_trx: x_module_id = ' || x_module_id, 1);
426:
427:
428: -- Generate the update statement
429: cn_debug.print_msg('update_trx: Generating UPDATE statement. ', 1);

Line 429: cn_debug.print_msg('update_trx: Generating UPDATE statement. ', 1);

425: cn_debug.print_msg('update_trx: x_module_id = ' || x_module_id, 1);
426:
427:
428: -- Generate the update statement
429: cn_debug.print_msg('update_trx: Generating UPDATE statement. ', 1);
430: fnd_file.put_line(fnd_file.Log, 'update_trx: Generating UPDATE statement. ');
431:
432: cn_utils.set_org_id(p_org_id => l_org_id);
433: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updating CN_TRX .'');');

Line 536: cn_debug.print_msg('update_trx: Generated UPDATE statement.', 1);

532: -- Generate code to update the trx_update_count variable
533: cn_utils.appendcr(code);
534: cn_utils.appindcr(code, 'trx_update_count := SQL%ROWCOUNT;');
535: cn_utils.unset_org_id();
536: cn_debug.print_msg('update_trx: Generated UPDATE statement.', 1);
537: fnd_file.put_line(fnd_file.Log, 'update_trx: Generated UPDATE statement.');
538: cn_utils.set_org_id(p_org_id => l_org_id);
539: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated '' || trx_update_count || '' cn_trx.'');');
540: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log,''' || procedure_name || ': Updated '' || trx_update_count || '' cn_trx.'');');

Line 543: cn_debug.print_msg('update_trx<<', 1);

539: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated '' || trx_update_count || '' cn_trx.'');');
540: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log,''' || procedure_name || ': Updated '' || trx_update_count || '' cn_trx.'');');
541: cn_utils.appendcr(code);
542: cn_utils.unset_org_id();
543: cn_debug.print_msg('update_trx<<', 1);
544: fnd_file.put_line(fnd_file.Log, 'update_trx<<');
545: EXCEPTION
546: WHEN NO_DATA_FOUND THEN
547: cn_debug.print_msg('update_trx: in exception handler for NO_DATA_FOUND', 1);

Line 547: cn_debug.print_msg('update_trx: in exception handler for NO_DATA_FOUND', 1);

543: cn_debug.print_msg('update_trx<<', 1);
544: fnd_file.put_line(fnd_file.Log, 'update_trx<<');
545: EXCEPTION
546: WHEN NO_DATA_FOUND THEN
547: cn_debug.print_msg('update_trx: in exception handler for NO_DATA_FOUND', 1);
548: fnd_file.put_line(fnd_file.Log, 'update_trx: in exception handler for NO_DATA_FOUND');
549: RETURN;
550: END update_trx;
551:

Line 591: cn_debug.print_msg('insert_lines>>', 1);

587: cn_utils.set_org_id(p_org_id => l_org_id);
588: cn_utils.appendcr(code);
589: cn_utils.appendcr(code, '--******** INSERT CN_TRX_LINES *********-- ');
590:
591: cn_debug.print_msg('insert_lines>>', 1);
592: fnd_file.put_line(fnd_file.Log, 'insert_lines>>');
593: cn_debug.print_msg('insert_lines: x_module_id = ' || x_module_id, 1);
594:
595: -- Generate the INSERT statement

Line 593: cn_debug.print_msg('insert_lines: x_module_id = ' || x_module_id, 1);

589: cn_utils.appendcr(code, '--******** INSERT CN_TRX_LINES *********-- ');
590:
591: cn_debug.print_msg('insert_lines>>', 1);
592: fnd_file.put_line(fnd_file.Log, 'insert_lines>>');
593: cn_debug.print_msg('insert_lines: x_module_id = ' || x_module_id, 1);
594:
595: -- Generate the INSERT statement
596: cn_debug.print_msg('insert_lines: Generating INSERT statement.', 1);
597: fnd_file.put_line(fnd_file.Log, 'insert_lines: Generating INSERT statement.');

Line 596: cn_debug.print_msg('insert_lines: Generating INSERT statement.', 1);

592: fnd_file.put_line(fnd_file.Log, 'insert_lines>>');
593: cn_debug.print_msg('insert_lines: x_module_id = ' || x_module_id, 1);
594:
595: -- Generate the INSERT statement
596: cn_debug.print_msg('insert_lines: Generating INSERT statement.', 1);
597: fnd_file.put_line(fnd_file.Log, 'insert_lines: Generating INSERT statement.');
598:
599: cn_utils.set_org_id(p_org_id => l_org_id);
600:

Line 663: cn_debug.print_msg('insert_lines: Generated INSERT statement.', 1);

659:
660: -- Generate code to update the trx_line_count variable
661: cn_utils.appendcr(code);
662: cn_utils.appindcr(code, 'trx_line_count := SQL%ROWCOUNT;');
663: cn_debug.print_msg('insert_lines: Generated INSERT statement.', 1);
664: fnd_file.put_line(fnd_file.Log, 'insert_lines: Generated INSERT statement.');
665: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserted '' || trx_line_count || '' records into cn_trx_lines.'');');
666: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log,''' || procedure_name || ': Inserted '' || trx_line_count || '' records into cn_trx_lines.'');');
667: cn_utils.appendcr(code);

Line 669: cn_debug.print_msg('insert_lines<<', 1);

665: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserted '' || trx_line_count || '' records into cn_trx_lines.'');');
666: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log,''' || procedure_name || ': Inserted '' || trx_line_count || '' records into cn_trx_lines.'');');
667: cn_utils.appendcr(code);
668:
669: cn_debug.print_msg('insert_lines<<', 1);
670: fnd_file.put_line(fnd_file.Log, 'insert_lines<<');
671: EXCEPTION
672: WHEN NO_DATA_FOUND THEN
673: cn_debug.print_msg('insert_lines: in exception handler for NO_DATA_FOUND', 1);

Line 673: cn_debug.print_msg('insert_lines: in exception handler for NO_DATA_FOUND', 1);

669: cn_debug.print_msg('insert_lines<<', 1);
670: fnd_file.put_line(fnd_file.Log, 'insert_lines<<');
671: EXCEPTION
672: WHEN NO_DATA_FOUND THEN
673: cn_debug.print_msg('insert_lines: in exception handler for NO_DATA_FOUND', 1);
674: fnd_file.put_line(fnd_file.Log, 'insert_lines: in exception handler for NO_DATA_FOUND');
675: RETURN;
676: END insert_lines;
677:

Line 701: cn_debug.print_msg('update_lines>>', 1);

697: cn_utils.set_org_id(p_org_id => l_org_id);
698: cn_utils.appendcr(code);
699: cn_utils.appendcr(code, '--******** UPDATE CN_TRX_LINES ********-- ');
700:
701: cn_debug.print_msg('update_lines>>', 1);
702: fnd_file.put_line(fnd_file.Log, 'update_lines>>');
703: cn_debug.print_msg('update_lines: x_module_id = ' || x_module_id, 1);
704:
705:

Line 703: cn_debug.print_msg('update_lines: x_module_id = ' || x_module_id, 1);

699: cn_utils.appendcr(code, '--******** UPDATE CN_TRX_LINES ********-- ');
700:
701: cn_debug.print_msg('update_lines>>', 1);
702: fnd_file.put_line(fnd_file.Log, 'update_lines>>');
703: cn_debug.print_msg('update_lines: x_module_id = ' || x_module_id, 1);
704:
705:
706: -- Generate the UPDATE statement
707: cn_debug.print_msg('update_lines: Generating UPDATE statement.', 1);

Line 707: cn_debug.print_msg('update_lines: Generating UPDATE statement.', 1);

703: cn_debug.print_msg('update_lines: x_module_id = ' || x_module_id, 1);
704:
705:
706: -- Generate the UPDATE statement
707: cn_debug.print_msg('update_lines: Generating UPDATE statement.', 1);
708: fnd_file.put_line(fnd_file.Log, 'update_lines: Generating UPDATE statement.');
709:
710: cn_utils.set_org_id(p_org_id => l_org_id);
711: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updating CN_TRX_LINES .'');');

Line 743: cn_debug.print_msg('update_lines: Generated UPDATE statement.', 1);

739:
740: -- Generate code to update the trx_line_update_count variable
741: cn_utils.appendcr(code);
742: cn_utils.appindcr(code, 'trx_line_update_count := SQL%ROWCOUNT;');
743: cn_debug.print_msg('update_lines: Generated UPDATE statement.', 1);
744: fnd_file.put_line(fnd_file.Log, 'update_lines: Generated UPDATE statement.');
745: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated '' || trx_line_update_count || '' cn_trx_lines.'');');
746: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Updated '' || trx_line_update_count || '' cn_trx_lines.'');');
747: cn_utils.appendcr(code);

Line 749: cn_debug.print_msg('update_lines<<', 1);

745: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated '' || trx_line_update_count || '' cn_trx_lines.'');');
746: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Updated '' || trx_line_update_count || '' cn_trx_lines.'');');
747: cn_utils.appendcr(code);
748:
749: cn_debug.print_msg('update_lines<<', 1);
750: fnd_file.put_line(fnd_file.Log, 'update_lines<<');
751: EXCEPTION
752: WHEN NO_DATA_FOUND THEN
753: cn_debug.print_msg('update_lines: in exception handler for NO_DATA_FOUND', 1);

Line 753: cn_debug.print_msg('update_lines: in exception handler for NO_DATA_FOUND', 1);

749: cn_debug.print_msg('update_lines<<', 1);
750: fnd_file.put_line(fnd_file.Log, 'update_lines<<');
751: EXCEPTION
752: WHEN NO_DATA_FOUND THEN
753: cn_debug.print_msg('update_lines: in exception handler for NO_DATA_FOUND', 1);
754: fnd_file.put_line(fnd_file.Log, 'update_lines: in exception handler for NO_DATA_FOUND');
755: RETURN;
756: END update_lines;
757:

Line 800: cn_debug.print_msg('insert_sales_lines>>', 1);

796: cn_utils.set_org_id(p_org_id => l_org_id);
797: cn_utils.appendcr(code);
798: cn_utils.appendcr(code, '--******** INSERT CN_TRX_SALES_LINES ********-- ');
799:
800: cn_debug.print_msg('insert_sales_lines>>', 1);
801: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines>>');
802: -- Initialize value of table_map_id, etc.
803: -- Assumption: there is exactly 1 table at the sales credit level
804: -- in each repository.

Line 806: cn_debug.print_msg('insert_sales_lines: x_module_id = ' || x_module_id, 1);

802: -- Initialize value of table_map_id, etc.
803: -- Assumption: there is exactly 1 table at the sales credit level
804: -- in each repository.
805:
806: cn_debug.print_msg('insert_sales_lines: x_module_id = ' || x_module_id, 1);
807: cn_debug.print_msg('insert_sales_lines: Updating object dependencies and module object maps.', 1);
808: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: Updating object dependencies and module object maps.');
809:
810: -- Generate the insert clause

Line 807: cn_debug.print_msg('insert_sales_lines: Updating object dependencies and module object maps.', 1);

803: -- Assumption: there is exactly 1 table at the sales credit level
804: -- in each repository.
805:
806: cn_debug.print_msg('insert_sales_lines: x_module_id = ' || x_module_id, 1);
807: cn_debug.print_msg('insert_sales_lines: Updating object dependencies and module object maps.', 1);
808: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: Updating object dependencies and module object maps.');
809:
810: -- Generate the insert clause
811: cn_debug.print_msg('insert_sales_lines: Generating INSERT statement.', 1);

Line 811: cn_debug.print_msg('insert_sales_lines: Generating INSERT statement.', 1);

807: cn_debug.print_msg('insert_sales_lines: Updating object dependencies and module object maps.', 1);
808: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: Updating object dependencies and module object maps.');
809:
810: -- Generate the insert clause
811: cn_debug.print_msg('insert_sales_lines: Generating INSERT statement.', 1);
812: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: Generating INSERT statement.');
813:
814: cn_utils.set_org_id(p_org_id => l_org_id);
815: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserting into CN_TRX_SALES_LINES .'');');

Line 984: cn_debug.print_msg('insert_sales_lines: Generated INSERT statement.', 1);

980:
981: -- Update trx_sales_line_count variable
982: cn_utils.appendcr(code);
983: cn_utils.appindcr(code, 'trx_sales_line_count := SQL%ROWCOUNT;');
984: cn_debug.print_msg('insert_sales_lines: Generated INSERT statement.', 1);
985: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: Generated INSERT statement.');
986: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserted '' || trx_sales_line_count || '' records into cn_trx_sales_lines.'');');
987: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Inserted '' || trx_sales_line_count || '' records into cn_trx_sales_lines.'');');
988: cn_utils.appendcr(code);

Line 990: cn_debug.print_msg('insert_sales_lines<<', 1);

986: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserted '' || trx_sales_line_count || '' records into cn_trx_sales_lines.'');');
987: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Inserted '' || trx_sales_line_count || '' records into cn_trx_sales_lines.'');');
988: cn_utils.appendcr(code);
989:
990: cn_debug.print_msg('insert_sales_lines<<', 1);
991: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines<<');
992:
993: IF (x_event_id = cn_global.ram_event_id) THEN
994: cn_utils.appindcr(code, 'UPDATE cn_trx_lines');

Line 1010: cn_debug.print_msg('insert_sales_lines: in exception handler for NO_DATA_FOUND', 1);

1006: END IF; --IF (x_event_id = cn_global.ram_event_id)
1007:
1008: EXCEPTION
1009: WHEN NO_DATA_FOUND THEN
1010: cn_debug.print_msg('insert_sales_lines: in exception handler for NO_DATA_FOUND', 1);
1011: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: in exception handler for NO_DATA_FOUND');
1012: RETURN;
1013: END insert_sales_lines;
1014:

Line 1039: cn_debug.print_msg('update_sales_lines>>', 1);

1035: cn_utils.set_org_id(p_org_id => l_org_id);
1036: cn_utils.appendcr(code);
1037: cn_utils.appendcr(code, '--******** UPDATE CN_TRX_SALES_LINES ********-- ');
1038:
1039: cn_debug.print_msg('update_sales_lines>>', 1);
1040: fnd_file.put_line(fnd_file.Log, 'update_sales_lines>>');
1041: cn_debug.print_msg('update_sales_lines: x_module_id = ' || x_module_id, 1);
1042:
1043: cn_debug.print_msg('update_sales_lines: Generating UPDATE statement.', 1);

Line 1041: cn_debug.print_msg('update_sales_lines: x_module_id = ' || x_module_id, 1);

1037: cn_utils.appendcr(code, '--******** UPDATE CN_TRX_SALES_LINES ********-- ');
1038:
1039: cn_debug.print_msg('update_sales_lines>>', 1);
1040: fnd_file.put_line(fnd_file.Log, 'update_sales_lines>>');
1041: cn_debug.print_msg('update_sales_lines: x_module_id = ' || x_module_id, 1);
1042:
1043: cn_debug.print_msg('update_sales_lines: Generating UPDATE statement.', 1);
1044: fnd_file.put_line(fnd_file.Log, 'update_sales_lines: Generating UPDATE statement.');
1045:

Line 1043: cn_debug.print_msg('update_sales_lines: Generating UPDATE statement.', 1);

1039: cn_debug.print_msg('update_sales_lines>>', 1);
1040: fnd_file.put_line(fnd_file.Log, 'update_sales_lines>>');
1041: cn_debug.print_msg('update_sales_lines: x_module_id = ' || x_module_id, 1);
1042:
1043: cn_debug.print_msg('update_sales_lines: Generating UPDATE statement.', 1);
1044: fnd_file.put_line(fnd_file.Log, 'update_sales_lines: Generating UPDATE statement.');
1045:
1046: cn_utils.set_org_id(p_org_id => l_org_id);
1047: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updating CN_TRX_SALES_LINES .'');');

Line 1133: cn_debug.print_msg('update_sales_lines: Generated UPDATE statement.', 1);

1129:
1130: -- Update trx_sales_line_update_count variable
1131: cn_utils.appendcr(code);
1132: cn_utils.appindcr(code, 'trx_sales_line_update_count := SQL%ROWCOUNT;');
1133: cn_debug.print_msg('update_sales_lines: Generated UPDATE statement.', 1);
1134: fnd_file.put_line(fnd_file.Log, 'update_sales_lines: Generated UPDATE statement.');
1135: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated '' || trx_sales_line_update_count || '' records in cn_trx_sales_lines.'');');
1136: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Updated '' || trx_sales_line_update_count || '' records in cn_trx_sales_lines.'');');
1137: cn_utils.appendcr(code);

Line 1139: cn_debug.print_msg('update_sales_lines<<', 1);

1135: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated '' || trx_sales_line_update_count || '' records in cn_trx_sales_lines.'');');
1136: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Updated '' || trx_sales_line_update_count || '' records in cn_trx_sales_lines.'');');
1137: cn_utils.appendcr(code);
1138:
1139: cn_debug.print_msg('update_sales_lines<<', 1);
1140: fnd_file.put_line(fnd_file.Log, 'update_sales_lines<<');
1141: EXCEPTION
1142: WHEN NO_DATA_FOUND THEN
1143: cn_debug.print_msg('update_sales_lines: in exception handler for NO_DATA_FOUND', 1);

Line 1143: cn_debug.print_msg('update_sales_lines: in exception handler for NO_DATA_FOUND', 1);

1139: cn_debug.print_msg('update_sales_lines<<', 1);
1140: fnd_file.put_line(fnd_file.Log, 'update_sales_lines<<');
1141: EXCEPTION
1142: WHEN NO_DATA_FOUND THEN
1143: cn_debug.print_msg('update_sales_lines: in exception handler for NO_DATA_FOUND', 1);
1144: fnd_file.put_line(fnd_file.Log, 'update_sales_lines: in exception handler for NO_DATA_FOUND');
1145: RETURN;
1146: END update_sales_lines;
1147:

Line 1172: cn_debug.print_msg('update_invoice_total: Generating UPDATE statement.', 1);

1168:
1169: -- Generate the update statement for updating invoice_total.
1170: -- This could not be done when we updated cn_trx earlier since we had not
1171: -- collected lines then
1172: cn_debug.print_msg('update_invoice_total: Generating UPDATE statement.', 1);
1173: fnd_file.put_line(fnd_file.Log, 'update_invoice_total: Generating UPDATE statement.');
1174:
1175: cn_utils.set_org_id(p_org_id => l_org_id);
1176: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updating CN_TRX invoice_total.'');');

Line 1197: cn_debug.print_msg('update_invoice_total: Generated UPDATE statement.', 1);

1193: cn_utils.appendcr(code);
1194: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Updated cn_trx invoice_total.'');');
1195: cn_utils.appindcr(code, 'fnd_file.put_line(fnd_file.Log, ''' || procedure_name || ': Updated cn_trx invoice_total.'');');
1196: cn_utils.appendcr(code);
1197: cn_debug.print_msg('update_invoice_total: Generated UPDATE statement.', 1);
1198: fnd_file.put_line(fnd_file.Log, 'update_invoice_total: Generated UPDATE statement.');
1199:
1200: END update_invoice_total;
1201:

Line 1255: cn_debug.print_msg('insert_comm_lines_api>>', 1);

1251: cn_utils.set_org_id(p_org_id => l_org_id);
1252: cn_utils.appendcr(code);
1253: cn_utils.appendcr(code, '--******** INSERT CN_COMM_LINES_API ********-- ');
1254:
1255: cn_debug.print_msg('insert_comm_lines_api>>', 1);
1256: fnd_file.put_line(fnd_file.Log, 'insert_comm_lines_api>>');
1257:
1258: -- Generate the insert statement.
1259:

Line 1260: cn_debug.print_msg('insert_sales_lines: Generating INSERT statement.', 1);

1256: fnd_file.put_line(fnd_file.Log, 'insert_comm_lines_api>>');
1257:
1258: -- Generate the insert statement.
1259:
1260: cn_debug.print_msg('insert_sales_lines: Generating INSERT statement.', 1);
1261: fnd_file.put_line(fnd_file.Log, 'insert_sales_lines: Generating INSERT statement.');
1262:
1263: cn_utils.set_org_id(p_org_id => l_org_id);
1264: cn_utils.appindcr(code, 'cn_message_pkg.debug(''' || procedure_name || ': Inserting into CN_COMM_LINES_API .'');');

Line 1494: cn_debug.print_msg('insert_comm_lines: in exception handler for NO_DATA_FOUND', 1);

1490: END IF;
1491:
1492: EXCEPTION
1493: WHEN NO_DATA_FOUND THEN
1494: cn_debug.print_msg('insert_comm_lines: in exception handler for NO_DATA_FOUND', 1);
1495: fnd_file.put_line(fnd_file.Log, 'insert_comm_lines: in exception handler for NO_DATA_FOUND');
1496: RETURN;
1497: END insert_comm_lines;
1498: