DBA Data[Home] [Help]

APPS.ECX_CONDITIONS dependencies on ECX_UTILS

Line 234: raise ecx_utils.program_exit;

230: ecx_debug.setErrorInfo(1, 30, 'ECX_UNSUPPORTED_STRING_CONDITION');
231: if(l_statementEnabled) then
232: ecx_debug.log(l_statement, 'ECX', 'ECX_UNSUPPORTED_STRING_CONDITION',i_method_name);
233: end if;
234: raise ecx_utils.program_exit;
235: end if;
236:
237: /** Number Comparisons **/
238: elsif ( vartype = 2 and valtype = 2)

Line 249: raise ecx_utils.program_exit;

245: ecx_debug.setErrorInfo(1, 30, 'ECX_CANNOT_CONVERT_TO_NUMBER');
246: if(l_unexpectedEnabled) then
247: ecx_debug.log(l_unexpected, 'ECX', 'ECX_CANNOT_CONVERT_TO_NUMBER', i_method_name);
248: end if;
249: raise ecx_utils.program_exit;
250: end;
251:
252: -- Equal
253: if type = '0'

Line 379: raise ecx_utils.program_exit;

375: ecx_debug.setErrorInfo (1, 30, 'ECX_UNSUPPORTED_NUMBER_CONDITION');
376: if(l_statementEnabled) then
377: ecx_debug.log(l_statement,'ECX', 'ECX_UNSUPPORTED_NUMBER_CONDITION', i_method_name);
378: end if;
379: raise ecx_utils.program_exit;
380: end if;
381:
382: /** Date Comparisons **/
383: elsif ( vartype = 12 and valtype = 12 )

Line 394: raise ecx_utils.program_exit;

390: ecx_debug.setErrorInfo(1, 30, 'ECX_CANNOT_CONVERT_TO_DATE');
391: if(l_unexpectedEnabled) then
392: ecx_debug.log(l_unexpected, 'ECX', 'ECX_CANNOT_CONVERT_TO_DATE', i_method_name);
393: end if;
394: raise ecx_utils.program_exit;
395: end;
396:
397: -- Equal
398: if type = '0'

Line 532: raise ecx_utils.program_exit;

528: ecx_debug.setErrorInfo(1, 30, 'ECX_UNSUPPORTED_DATE_CONDITION');
529: if(l_statementEnabled) then
530: ecx_debug.log(l_statement, 'ECX', 'ECX_UNSUPPORTED_DATE_CONDITION', i_method_name);
531: end if;
532: raise ecx_utils.program_exit;
533: end if;
534:
535: end if; --- end for the datatype comparisons
536:

Line 549: when ecx_utils.program_exit then

545: if (l_procedureEnabled) then
546: ecx_debug.pop(i_method_name);
547: end if;
548: exception
549: when ecx_utils.program_exit then
550: if (l_procedureEnabled) then
551: ecx_debug.pop(i_method_name);
552: end if;
553: raise ecx_utils.program_exit;

Line 553: raise ecx_utils.program_exit;

549: when ecx_utils.program_exit then
550: if (l_procedureEnabled) then
551: ecx_debug.pop(i_method_name);
552: end if;
553: raise ecx_utils.program_exit;
554: when others then
555: ecx_debug.setErrorInfo(2, 30, SQLERRM);
556: if (l_procedureEnabled) then
557: ecx_debug.pop(i_method_name);

Line 559: raise ecx_utils.program_exit;

555: ecx_debug.setErrorInfo(2, 30, SQLERRM);
556: if (l_procedureEnabled) then
557: ecx_debug.pop(i_method_name);
558: end if;
559: raise ecx_utils.program_exit;
560: end check_type_condition;
561:
562: function check_condition
563: (

Line 681: when ecx_utils.program_exit then

677: return i_condition1;
678: end if;
679:
680: exception
681: when ecx_utils.program_exit then
682: if (l_procedureEnabled) then
683: ecx_debug.pop(i_method_name);
684: end if;
685: raise ecx_utils.program_exit;

Line 685: raise ecx_utils.program_exit;

681: when ecx_utils.program_exit then
682: if (l_procedureEnabled) then
683: ecx_debug.pop(i_method_name);
684: end if;
685: raise ecx_utils.program_exit;
686: when others then
687: ecx_debug.setErrorInfo(2, 30, SQLERRM);
688: if(l_unexpectedEnabled) then
689: ecx_debug.log(l_unexpected, 'ECX', SQLERRM,i_method_name);

Line 694: raise ecx_utils.program_exit;

690: end if;
691: if (l_procedureEnabled) then
692: ecx_debug.pop(i_method_name);
693: end if;
694: raise ecx_utils.program_exit;
695: if (l_procedureEnabled) then
696: ecx_debug.pop(i_method_name);
697: end if;
698: end check_condition;

Line 731: raise ecx_utils.program_exit;

727: if (l_procedureEnabled) then
728: ecx_debug.pop(i_method_name);
729: end if;
730:
731: raise ecx_utils.program_exit;
732: end if;
733:
734: if type not in ('+','-','/','*')
735: then

Line 740: raise ecx_utils.program_exit;

736: ecx_debug.setErrorInfo(1, 30, 'ECX_UNSUPPORTED_MATH_FUNC');
737: if (l_procedureEnabled) then
738: ecx_debug.pop(i_method_name);
739: end if;
740: raise ecx_utils.program_exit;
741: end if;
742:
743: if type = '+'
744: then

Line 793: raise ecx_utils.program_exit;

789: end if;
790: if (l_procedureEnabled) then
791: ecx_debug.pop(i_method_name);
792: end if;
793: raise ecx_utils.program_exit;
794: when others then
795: ecx_debug.setErrorInfo(2, 30, SQLERRM);
796: if (l_procedureEnabled) then
797: ecx_debug.pop(i_method_name);

Line 799: raise ecx_utils.program_exit;

795: ecx_debug.setErrorInfo(2, 30, SQLERRM);
796: if (l_procedureEnabled) then
797: ecx_debug.pop(i_method_name);
798: end if;
799: raise ecx_utils.program_exit;
800: end math_functions;
801:
802: procedure getLengthForString
803: (

Line 836: raise ecx_utils.program_exit;

832: end if;
833: if (l_procedureEnabled) then
834: ecx_debug.pop(i_method_name);
835: end if;
836: raise ecx_utils.program_exit;
837: end getLengthForString;
838:
839: procedure getPositionInString
840: (

Line 872: raise ecx_utils.program_exit;

868: ecx_debug.setErrorInfo(2, 30, substr(SQLERRM, 1, 200));
869: if (l_procedureEnabled) then
870: ecx_debug.pop(i_method_name);
871: end if;
872: raise ecx_utils.program_exit;
873: end getPositionInString;
874:
875: procedure getSubString
876: (

Line 906: raise ecx_utils.program_exit;

902: ecx_debug.setErrorInfo(2, 30, substr(SQLERRM,1,200));
903: if (l_procedureEnabled) then
904: ecx_debug.pop(i_method_name);
905: end if;
906: raise ecx_utils.program_exit;
907: end getSubString;
908:
909: procedure test
910: is

Line 919: ecx_utils.i_errbuf :=null;

915: i_date2 varchar2(200) := '20010102';
916:
917: i_dtd_path varchar2(200);
918: begin
919: ecx_utils.i_errbuf :=null;
920: ecx_utils.i_ret_code :=null;
921:
922: ecx_utils.getLogDirectory;
923:

Line 920: ecx_utils.i_ret_code :=null;

916:
917: i_dtd_path varchar2(200);
918: begin
919: ecx_utils.i_errbuf :=null;
920: ecx_utils.i_ret_code :=null;
921:
922: ecx_utils.getLogDirectory;
923:
924: ecx_debug.enable_debug_new(3,ecx_utils.g_logdir,'test_conditions.txt', 'test_conditions.txt');

Line 922: ecx_utils.getLogDirectory;

918: begin
919: ecx_utils.i_errbuf :=null;
920: ecx_utils.i_ret_code :=null;
921:
922: ecx_utils.getLogDirectory;
923:
924: ecx_debug.enable_debug_new(3,ecx_utils.g_logdir,'test_conditions.txt', 'test_conditions.txt');
925:
926: if(l_statementEnabled) then

Line 924: ecx_debug.enable_debug_new(3,ecx_utils.g_logdir,'test_conditions.txt', 'test_conditions.txt');

920: ecx_utils.i_ret_code :=null;
921:
922: ecx_utils.getLogDirectory;
923:
924: ecx_debug.enable_debug_new(3,ecx_utils.g_logdir,'test_conditions.txt', 'test_conditions.txt');
925:
926: if(l_statementEnabled) then
927: ecx_debug.log(l_statement,'testing conditions ',i_method_name);
928: ecx_debug.log(l_statement,'String conditions ',i_method_name);

Line 1093: ecx_debug.log(l_unexpected,'i_errbuf',ecx_utils.i_errbuf,i_method_name);

1089: ecx_debug.disable_debug;
1090: exception
1091: when others then
1092: if(l_unexpectedEnabled) then
1093: ecx_debug.log(l_unexpected,'i_errbuf',ecx_utils.i_errbuf,i_method_name);
1094: ecx_debug.log(l_unexpected,'i_retcode',ecx_utils.i_ret_code,i_method_name);
1095: end if;
1096: ecx_debug.print_log;
1097: ecx_debug.disable_debug;

Line 1094: ecx_debug.log(l_unexpected,'i_retcode',ecx_utils.i_ret_code,i_method_name);

1090: exception
1091: when others then
1092: if(l_unexpectedEnabled) then
1093: ecx_debug.log(l_unexpected,'i_errbuf',ecx_utils.i_errbuf,i_method_name);
1094: ecx_debug.log(l_unexpected,'i_retcode',ecx_utils.i_ret_code,i_method_name);
1095: end if;
1096: ecx_debug.print_log;
1097: ecx_debug.disable_debug;
1098: end test;