110:
111: -- dbms_output.put_line('validating segments . . .operation - ' || p_operation );
112: -- dbms_output.put_line(' concat. value ' || p_catalog_group_name);
113:
114: is_valid := FND_FLEX_KEYVAL.Validate_Segs
115: ( operation => p_operation
116: , appl_short_name => 'INV'
117: , key_flex_code => 'MICG'
118: , structure_number => 101
164: j := to_number(substr(seg.column_name,8));
165: EGO_Item_Catalog_Pub.G_KF_SEGMENT_VALUES(j) := l_segment_values(i);
166: end loop;
167:
168: -- dbms_output.put_line('returning ccid . . . ' || FND_FLEX_KEYVAL.Combination_ID);
169: */
170:
171: return FND_FLEX_KEYVAL.Combination_ID;
172:
167:
168: -- dbms_output.put_line('returning ccid . . . ' || FND_FLEX_KEYVAL.Combination_ID);
169: */
170:
171: return FND_FLEX_KEYVAL.Combination_ID;
172:
173: ELSIF (is_valid AND p_operation = 'CHECK_SEGMENTS')
174: THEN
175:
200: BEGIN
201:
202: -- dbms_output.put_line('validating ID: ' || p_catalog_group_id);
203:
204: if FND_Flex_KeyVal.validate_ccid(appl_short_name => 'INV',
205: key_flex_code => 'MICG',
206: structure_number => 101,
207: combination_id => p_catalog_group_id
208: )
206: structure_number => 101,
207: combination_id => p_catalog_group_id
208: )
209: THEN
210: -- dbms_output.put_line('returning name ' || FND_FLEX_KEYVAL.concatenated_values);
211: return FND_FLEX_KEYVAL.concatenated_values;
212: ELSE
213: return null;
214: END IF;
207: combination_id => p_catalog_group_id
208: )
209: THEN
210: -- dbms_output.put_line('returning name ' || FND_FLEX_KEYVAL.concatenated_values);
211: return FND_FLEX_KEYVAL.concatenated_values;
212: ELSE
213: return null;
214: END IF;
215: