DBA Data[Home] [Help]

APPS.POS_PRODUCT_SERVICE_UTL_PKG dependencies on FND_MESSAGE

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

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

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

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

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

175: l_number := To_number(l_number_string);
176:
177: IF l_number > g_max_number_of_segments OR l_number < 0 THEN
178: --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';
179: x_error_message:= fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_SEG_NUM');
180: RETURN;
181: END IF;
182:
183: IF l_segments_in_structure(l_number) IS NULL THEN

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

181: END IF;
182:
183: IF l_segments_in_structure(l_number) IS NULL THEN
184: --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';
185: x_error_message:= fnd_message.get_string('POS', 'POS_PS_SETUP_WRONG_SEG_NUM');
186: RETURN;
187: END IF;
188:
189: IF l_segments_appeared(l_number) IS NULL THEN

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

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

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

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

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

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

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

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

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

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

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

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

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

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