DBA Data[Home] [Help]

APPS.POS_PRODUCT_SERVICE_UTL_PKG dependencies on FND_MESSAGE

Line 132: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_NO_DEFINE');

128:
129: -- product segment definition can not be null
130: IF g_product_segment_definition IS NULL THEN
131: --x_error_message := 'product segment definition is null';
132: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_NO_DEFINE');
133: RETURN;
134: END IF;
135:
136: -- product segment definition should be not have any characters other than digits

Line 144: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_ILLEGAL_CHAR');

140: FOR l_index IN 1..l_length LOOP
141: l_char := Substr(g_product_segment_definition,l_index,1);
142: IF l_char NOT IN ('1','2','3','4','5','6','7','8','9','0','.') THEN
143: --x_error_message := 'product segment definition has a character that is not digits or the . delimeter';
144: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_ILLEGAL_CHAR');
145: RETURN;
146: END IF;
147: IF l_char = '.' THEN
148: l_number_of_dots := l_number_of_dots + 1;

Line 178: x_error_message:= fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_SEG_NUM');

174: l_number := To_number(l_number_string);
175:
176: IF l_number > g_max_number_of_segments OR l_number < 0 THEN
177: --x_error_message := 'product segment definition has ' || l_number || ', but SEGMENT' || l_number || ' is not used in the flexfield structure for' || 'the default purchasing category set';
178: x_error_message:= fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_SEG_NUM');
179: RETURN;
180: END IF;
181:
182: IF l_segments_in_structure(l_number) IS NULL THEN

Line 184: x_error_message:= fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_SEG_NUM');

180: END IF;
181:
182: IF l_segments_in_structure(l_number) IS NULL THEN
183: --x_error_message := 'product segment definition has ' || l_number || ', but SEGMENT' || l_number || ' is not used in the flexfield structure for' || ' the default purchasing category set';
184: x_error_message:= fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_SEG_NUM');
185: RETURN;
186: END IF;
187:
188: IF l_segments_appeared(l_number) IS NULL THEN

Line 192: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_DUP_SEGMENT');

188: IF l_segments_appeared(l_number) IS NULL THEN
189: l_segments_appeared(l_number) := 'Y';
190: ELSE
191: --x_error_message := 'same segment can not be used twice in product segment definition';
192: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_DUP_SEGMENT');
193: RETURN;
194: END IF;
195:
196: l_product_segment.column_name :=

Line 218: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_TYPE');

214: -- does not support id type value sets (column allow_id_valuesets in table
215: -- fnd_id_flex for id_flex_code MCAT is N).
216: --
217: -- x_error_message := 'product segment definition error: validation type ' || l_valueset.validation_type || ' not supported';
218: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_TYPE');
219: RETURN;
220: END IF;
221:
222: IF l_valueset.table_info.meaning_column_name LIKE '%:%' THEN

Line 224: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_BIND_VAR_1');

220: END IF;
221:
222: IF l_valueset.table_info.meaning_column_name LIKE '%:%' THEN
223: --x_error_message := 'product segment definition error: bind variables in meaning columns are not supported';
224: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_BIND_VAR_1');
225: RETURN;
226: END IF;
227:
228: IF l_valueset.table_info.where_clause LIKE '%:%' THEN

Line 230: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_BIND_VAR_2');

226: END IF;
227:
228: IF l_valueset.table_info.where_clause LIKE '%:%' THEN
229: --x_error_message := 'product segment definition error: bind variables in where clause are not supported';
230: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_BIND_VAR_2');
231: RETURN;
232: END IF;
233:
234: l_product_segment.validation_type := l_valueset.validation_type;

Line 244: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_BAD_DEP_VS');

240:
241: IF l_valueset.validation_type IN ('D') THEN
242: -- the first segment cannot have a dependent value set
243: IF g_product_segment_count = 0 THEN
244: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_BAD_DEP_VS');
245: RETURN;
246: END IF;
247:
248: -- find out the index to the parent segment record

Line 342: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_DEF_PUR_CAT');

338:
339: IF g_default_po_category_set_id IS NULL THEN
340: x_status := g_no;
341: --x_error_message := 'default purchasing category set id is null';
342: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_DEF_PUR_CAT');
343: RETURN;
344: END IF;
345:
346: -- get product and service segments definition

Line 386: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_DEF_PUR_CAT');

382:
383: IF g_default_po_category_set_id IS NULL THEN
384: x_status := g_no;
385: --x_error_message := 'default purchasing category set id is null';
386: x_error_message := fnd_message.get_string('POS', 'POS_PS_SETUP_DEF_PUR_CAT');
387: RETURN;
388: END IF;
389:
390: g_product_segment_definition := p_product_segment_definition;