593: IF g_debug = 1 THEN
594: print_debug('BUG10325405 in assign operations plan after setting the sub_requests value to N', l_api_name);
595: END IF;
596:
597: IF (inv_cache.set_org_rec(p_organization_id) ) THEN
598: l_op_plan_id := NVL(inv_cache.org_rec.default_pick_op_plan_id,1);
599: ELSE
600: IF g_debug = 1 THEN
601: print_debug ( 'Error setting cache for organization', l_api_name );
594: print_debug('BUG10325405 in assign operations plan after setting the sub_requests value to N', l_api_name);
595: END IF;
596:
597: IF (inv_cache.set_org_rec(p_organization_id) ) THEN
598: l_op_plan_id := NVL(inv_cache.org_rec.default_pick_op_plan_id,1);
599: ELSE
600: IF g_debug = 1 THEN
601: print_debug ( 'Error setting cache for organization', l_api_name );
602: END IF;
765: IF g_debug = 1 THEN
766: print_debug('BUG10325405 in assign task type after setting the sub_requests value to N', l_api_name);
767: END IF;
768:
769: IF (inv_cache.set_org_rec(p_organization_id) ) THEN
770: l_ttype_id := inv_cache.org_rec.default_pick_task_type_id;
771: ELSE
772: IF g_debug = 1 THEN
773: print_debug ( 'Error setting cache for organization', l_api_name );
766: print_debug('BUG10325405 in assign task type after setting the sub_requests value to N', l_api_name);
767: END IF;
768:
769: IF (inv_cache.set_org_rec(p_organization_id) ) THEN
770: l_ttype_id := inv_cache.org_rec.default_pick_task_type_id;
771: ELSE
772: IF g_debug = 1 THEN
773: print_debug ( 'Error setting cache for organization', l_api_name );
774: END IF;