725: RETURN;
726: END IF;
727:
728: IF x_max_cap_uom IS NOT NULL THEN
729: /* Get the standard factor and uom type from the capacity uom */
730: OPEN cur_get_std_factor (x_max_cap_uom);
731:
732: FETCH cur_get_std_factor
733: INTO x_um_type, x_std_factor;
737: x_std_capacity := x_max_cap * x_std_factor;
738:
739: IF NVL (g_debug, -1) = gme_debug.g_log_statement THEN
740: gme_debug.put_line('x_um_type: '||x_um_type);
741: gme_debug.put_line('Standard Factor: '||x_std_factor);
742: gme_debug.put_line('Standard Capacity: '||x_std_capacity);
743: END IF;
744:
745: --Bug2617151
738:
739: IF NVL (g_debug, -1) = gme_debug.g_log_statement THEN
740: gme_debug.put_line('x_um_type: '||x_um_type);
741: gme_debug.put_line('Standard Factor: '||x_std_factor);
742: gme_debug.put_line('Standard Capacity: '||x_std_capacity);
743: END IF;
744:
745: --Bug2617151
746: OPEN cur_get_tolerance;