DBA Data[Home] [Help]

APPS.GR_FIELD_NAME_PROPERTIES_PUB dependencies on FND_MESSAGE

Line 166: FND_MESSAGE.SET_NAME('GR',

162: /* check mandatory inputs */
163:
164: IF p_action is NULL or p_action not in ('I','U','D') then
165: --GMD_API_PUB.Log_Message('GR_INVALID_ACTION');
166: FND_MESSAGE.SET_NAME('GR',
167: 'GR_INVALID_ACTION');
168: RAISE FND_API.G_EXC_ERROR;
169: END IF;
170:

Line 173: FND_MESSAGE.SET_NAME('GR',

169: END IF;
170:
171: IF p_object is NULL or p_object not in ('C','L','V') then
172: --GMD_API_PUB.Log_Message('GR_INVALID_OBJECT');
173: FND_MESSAGE.SET_NAME('GR',
174: 'GR_INVALID_OBJECT');
175: RAISE FND_API.G_EXC_ERROR;
176: END IF;
177:

Line 181: FND_MESSAGE.SET_NAME('GMA',

177:
178:
179: IF p_property_id is NULL then
180: -- GMD_API_PUB.Log_Message('SY_FIELDNAME');
181: FND_MESSAGE.SET_NAME('GMA',
182: 'SY_FIELDNAME');
183: RAISE FND_API.G_EXC_ERROR;
184: END IF;
185:

Line 190: FND_MESSAGE.SET_NAME('GR',

186: -- check Decimal precision is not > 6 if input -- 8208515
187: -- If an invalid value is passed in, an error message will be written to the log file.
188: IF p_precision is not NULL and p_precision > 6 then
189: GMD_API_PUB.Log_Message('GR_INVALID_PRECISION');
190: FND_MESSAGE.SET_NAME('GR',
191: 'GR_INVALID_PRECISION');
192: RAISE FND_API.G_EXC_ERROR;
193: END IF;
194:

Line 221: FND_MESSAGE.SET_NAME('GMA',

217: -- Property Type, Language, Source Language and Description values are required
218: -- and an error message will be written to the log file if any of the values are null.
219: IF p_property_type_indicator is NULL or p_source_language is NULL or p_language is NULL or p_description is null then
220: --GMD_API_PUB.Log_Message('SY_FIELDNAME');
221: FND_MESSAGE.SET_NAME('GMA',
222: 'SY_FIELDNAME');
223:
224: RAISE FND_API.G_EXC_ERROR;
225: END IF;

Line 230: FND_MESSAGE.SET_NAME('GMA',

226: -- Validate that Property Type is set to either Flag, Numeric, Alphanumeric, Date, Risk Phrase or Safety Phrase.
227: -- If an invalid value is passed in, an error message will be written to the log file.
228: IF p_property_type_indicator not in ('F','N','A','D','R','S') then
229: GMD_API_PUB.Log_Message('SY_INVALID_TYPE');
230: FND_MESSAGE.SET_NAME('GMA',
231: 'SY_INVALID_TYPE');
232:
233: RAISE FND_API.G_EXC_ERROR;
234: END IF;

Line 240: FND_MESSAGE.SET_NAME('GR',

236: -- Decimal precision is only valid for a type of numeric
237: -- If an invalid value is passed in, an error message will be written to the log file.
238: IF p_property_type_indicator <> 'N' and p_precision is not NULL then
239: GMD_API_PUB.Log_Message('GR_INVALID_PRECISION');
240: FND_MESSAGE.SET_NAME('GR',
241: 'GR_INVALID_PRECISION');
242: RAISE FND_API.G_EXC_ERROR;
243: END IF;
244:

Line 252: FND_MESSAGE.SET_NAME('GR',

248:
249: IF p_range_min is not null and p_range_max is not null then
250: IF (p_range_min > p_range_max ) or ( p_range_max < p_range_min ) then
251: GMD_API_PUB.Log_Message('GR_INVALID_RANGE');
252: FND_MESSAGE.SET_NAME('GR',
253: 'GR_INVALID_RANGE');
254: RAISE FND_API.G_EXC_ERROR;
255: END IF;
256: END IF; -- IF p_range_min is not null and p_range_max is not null then

Line 348: FND_MESSAGE.SET_NAME('GR',

344: dbms_output.put_line('return_status => ' || return_status); */
345:
346: IF return_status <> 'S' THEN
347: GMD_API_PUB.Log_Message('GR_LABEL_CLASS_ADD_LANG_ERROR');
348: FND_MESSAGE.SET_NAME('GR',
349: 'GR_LABEL_CLASS_ADD_LANG_ERROR');
350: FND_MSG_PUB.ADD;
351: RAISE LTadd_err;
352: END IF;

Line 842: FND_MESSAGE.SET_NAME('GR',

838: WHEN Row_Missing_Error THEN
839: --GMD_API_PUB.Log_Message('GR_RECORD_NOT_FOUND');
840: --ROLLBACK TO SAVEPOINT FIELD_NAME_PROPERTIES;
841: x_return_status := 'E';
842: FND_MESSAGE.SET_NAME('GR',
843: 'GR_RECORD_NOT_FOUND');
844: FND_MESSAGE.SET_TOKEN('CODE',
845: l_msg_token,
846: FALSE);

Line 844: FND_MESSAGE.SET_TOKEN('CODE',

840: --ROLLBACK TO SAVEPOINT FIELD_NAME_PROPERTIES;
841: x_return_status := 'E';
842: FND_MESSAGE.SET_NAME('GR',
843: 'GR_RECORD_NOT_FOUND');
844: FND_MESSAGE.SET_TOKEN('CODE',
845: l_msg_token,
846: FALSE);
847: FND_MSG_PUB.ADD;
848: FND_MSG_PUB.Count_AND_GET ( p_encoded => FND_API.G_FALSE

Line 855: FND_MESSAGE.SET_NAME('GR',

851:
852: WHEN LT_Exists_Error THEN
853: x_return_status := 'E';
854: oracle_error := APP_EXCEPTION.Get_Code;
855: FND_MESSAGE.SET_NAME('GR',
856: 'GR_RECORD_EXISTS');
857: FND_MESSAGE.SET_TOKEN('CODE',
858: l_msg_token,
859: FALSE);

Line 857: FND_MESSAGE.SET_TOKEN('CODE',

853: x_return_status := 'E';
854: oracle_error := APP_EXCEPTION.Get_Code;
855: FND_MESSAGE.SET_NAME('GR',
856: 'GR_RECORD_EXISTS');
857: FND_MESSAGE.SET_TOKEN('CODE',
858: l_msg_token,
859: FALSE);
860: FND_MSG_PUB.ADD;
861: FND_MSG_PUB.Count_AND_GET ( p_encoded => FND_API.G_FALSE

Line 873: x_msg_data := FND_MESSAGE.Get;

869: FND_MSG_PUB.Count_AND_GET ( p_encoded => FND_API.G_FALSE
870: , p_count => x_msg_count
871: , p_data => x_msg_data
872: );
873: x_msg_data := FND_MESSAGE.Get;
874:
875: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
876: --ROLLBACK TO SAVEPOINT FIELD_NAME_PROPERTIES;
877: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;