590: l_total_start := dbms_utility.get_time;
591:
592: g_module_name := 'Referral Compensation: Order Completion CC';
593:
594: dbms_application_info.set_module(
595: module_name => g_module_name,
596: action_name => 'STARTUP'
597: );
598:
619: FOR x IN c_incomplete_orders LOOP
620: l_incomplete_order := FALSE;
621: i := 0;
622:
623: dbms_application_info.set_module(
624: module_name => g_module_name,
625: action_name => 'Checking Referral #' || l_referral_counter
626: );
627: