115: IF l_inv_debug_level IN(101, 102) THEN
116: INVPUTLI.info('Inside INVPUPI2.validate_flags');
117: END IF;
118:
119: -- Retrieving fnd_profile values outside the loop for perf reasons.
120: fnd_profile.get('TIME_UOM_CLASS', time_uom_class);
121: ctp_prof_val := nvl(fnd_profile.value('INV_CTP'), 3);
122:
123: FOR cr IN cc LOOP
116: INVPUTLI.info('Inside INVPUPI2.validate_flags');
117: END IF;
118:
119: -- Retrieving fnd_profile values outside the loop for perf reasons.
120: fnd_profile.get('TIME_UOM_CLASS', time_uom_class);
121: ctp_prof_val := nvl(fnd_profile.value('INV_CTP'), 3);
122:
123: FOR cr IN cc LOOP
124: -- Validate YES/NO flags
117: END IF;
118:
119: -- Retrieving fnd_profile values outside the loop for perf reasons.
120: fnd_profile.get('TIME_UOM_CLASS', time_uom_class);
121: ctp_prof_val := nvl(fnd_profile.value('INV_CTP'), 3);
122:
123: FOR cr IN cc LOOP
124: -- Validate YES/NO flags
125: status := 0;