DBA Data[Home] [Help]

APPS.FND_MSG_PUB dependencies on FND_MESSAGE

Line 310: G_msg_tbl(G_msg_count).encoded_message := FND_MESSAGE.GET_ENCODED;

306:
307: -- Write message.
308:
309: G_msg_tbl(G_msg_count).message_type := FND_MSG_PUB.G_ERROR_MSG;
310: G_msg_tbl(G_msg_count).encoded_message := FND_MESSAGE.GET_ENCODED;
311:
312: FOR I IN 1..G_max_cols LOOP
313: G_associated_column(I) := null;
314: END LOOP;

Line 418: FND_MESSAGE.SET_ENCODED ( G_msg_tbl( G_msg_index ).encoded_message );

414: p_data := G_msg_tbl( G_msg_index ).encoded_message;
415:
416: ELSE
417:
418: FND_MESSAGE.SET_ENCODED ( G_msg_tbl( G_msg_index ).encoded_message );
419: p_data := FND_MESSAGE.GET;
420:
421: END IF;
422:

Line 419: p_data := FND_MESSAGE.GET;

415:
416: ELSE
417:
418: FND_MESSAGE.SET_ENCODED ( G_msg_tbl( G_msg_index ).encoded_message );
419: p_data := FND_MESSAGE.GET;
420:
421: END IF;
422:
423: p_msg_index_out := G_msg_index ;

Line 563: FND_MESSAGE.SET_NAME('FND','FND_AS_UNEXPECTED_ERROR');

559: l_error_text := SUBSTRB (SQLERRM , 1 , 240);
560:
561: END IF;
562:
563: FND_MESSAGE.SET_NAME('FND','FND_AS_UNEXPECTED_ERROR');
564:
565: IF p_pkg_name is not null and p_pkg_name <> chr(0) THEN
566: FND_MESSAGE.SET_TOKEN('PKG_NAME',p_pkg_name);
567: END IF;

Line 566: FND_MESSAGE.SET_TOKEN('PKG_NAME',p_pkg_name);

562:
563: FND_MESSAGE.SET_NAME('FND','FND_AS_UNEXPECTED_ERROR');
564:
565: IF p_pkg_name is not null and p_pkg_name <> chr(0) THEN
566: FND_MESSAGE.SET_TOKEN('PKG_NAME',p_pkg_name);
567: END IF;
568:
569: IF p_procedure_name is not null and p_procedure_name <> chr(0) THEN
570: FND_MESSAGE.SET_TOKEN('PROCEDURE_NAME',p_procedure_name);

Line 570: FND_MESSAGE.SET_TOKEN('PROCEDURE_NAME',p_procedure_name);

566: FND_MESSAGE.SET_TOKEN('PKG_NAME',p_pkg_name);
567: END IF;
568:
569: IF p_procedure_name is not null and p_procedure_name <> chr(0) THEN
570: FND_MESSAGE.SET_TOKEN('PROCEDURE_NAME',p_procedure_name);
571: END IF;
572:
573: IF l_error_text is not null and l_error_text <> chr(0) THEN
574: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_error_text);

Line 574: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_error_text);

570: FND_MESSAGE.SET_TOKEN('PROCEDURE_NAME',p_procedure_name);
571: END IF;
572:
573: IF l_error_text is not null and l_error_text <> chr(0) THEN
574: FND_MESSAGE.SET_TOKEN('ERROR_TEXT',l_error_text);
575: END IF;
576:
577: END; -- Build_Exc_Msg
578:

Line 702: G_msg_tbl(G_msg_count).encoded_message := fnd_message.get_encoded;

698: if p_message_type <> FND_MSG_PUB.G_DEPENDENCY_MSG then
699:
700: G_msg_count := G_msg_count + 1;
701: G_msg_tbl(G_msg_count).message_type := p_message_type;
702: G_msg_tbl(G_msg_count).encoded_message := fnd_message.get_encoded;
703:
704: if p_message_type = FND_MSG_PUB.G_ERROR_MSG then
705: FOR J IN 1..G_max_cols LOOP
706: Set_Associated_Col(G_msg_count,J,g_associated_column(J));

Line 1018: fnd_message.parse_encoded

1014: if G_msg_tbl(I).message_type = FND_MSG_PUB.G_ERROR_MSG then
1015:
1016: -- get the message name from the encoded message
1017:
1018: fnd_message.parse_encoded
1019: (encoded_message => G_msg_tbl(I).encoded_message
1020: ,app_short_name => l_application
1021: ,message_name => l_message_name);
1022:

Line 1133: fnd_message.set_encoded(G_ser_msgapp||chr(0)||G_ser_msgname||chr(0)||G_ser_msgdata);

1129:
1130: -- now get token value
1131: -- first encode the search message so we can call get_token
1132:
1133: fnd_message.set_encoded(G_ser_msgapp||chr(0)||G_ser_msgname||chr(0)||G_ser_msgdata);
1134: l_search_token(l_count).value := fnd_message.get_token(l_search_token(l_count).name);
1135: fnd_message.clear;
1136:
1137: l_count := l_count + 1;

Line 1134: l_search_token(l_count).value := fnd_message.get_token(l_search_token(l_count).name);

1130: -- now get token value
1131: -- first encode the search message so we can call get_token
1132:
1133: fnd_message.set_encoded(G_ser_msgapp||chr(0)||G_ser_msgname||chr(0)||G_ser_msgdata);
1134: l_search_token(l_count).value := fnd_message.get_token(l_search_token(l_count).name);
1135: fnd_message.clear;
1136:
1137: l_count := l_count + 1;
1138:

Line 1135: fnd_message.clear;

1131: -- first encode the search message so we can call get_token
1132:
1133: fnd_message.set_encoded(G_ser_msgapp||chr(0)||G_ser_msgname||chr(0)||G_ser_msgdata);
1134: l_search_token(l_count).value := fnd_message.get_token(l_search_token(l_count).name);
1135: fnd_message.clear;
1136:
1137: l_count := l_count + 1;
1138:
1139: -- set start position to begining of next token

Line 1151: fnd_message.parse_encoded

1147: for I in 1..G_msg_tbl.count loop
1148:
1149: -- get message name and app from encoded message
1150:
1151: fnd_message.parse_encoded
1152: (encoded_message => G_msg_tbl(I).encoded_message
1153: ,app_short_name => l_application
1154: ,message_name => l_message_name);
1155:

Line 1171: fnd_message.set_encoded(G_msg_tbl(I).encoded_message);

1167: l_count := 1;
1168: l_length := length(G_msg_tbl(I).encoded_message);
1169:
1170: -- set the encoded message
1171: fnd_message.set_encoded(G_msg_tbl(I).encoded_message);
1172:
1173: while l_start_position < l_length loop
1174:
1175: -- get token name and value from encoded message

Line 1183: l_token(l_count).value := fnd_message.get_token(l_token(l_count).name);

1179: ,l_start_position
1180: ,l_end_position-l_start_position);
1181:
1182: -- now get token value
1183: l_token(l_count).value := fnd_message.get_token(l_token(l_count).name);
1184:
1185: l_count := l_count + 1;
1186:
1187: -- set start position to begining of next token

Line 1213: fnd_message.clear;

1209: end if;
1210:
1211: end if;
1212: -- clear the message before moving to the next
1213: fnd_message.clear;
1214:
1215: end loop;
1216:
1217: -- no match found, therefore, return false

Line 1282: -- fnd_message.set_message and optionally

1278: -- message to search for must first be set by
1279: -- calling Set_Search_Message and optionally
1280: -- Set_Search_Token. Details of the replacement
1281: -- message must first be set by calling
1282: -- fnd_message.set_message and optionally
1283: -- fnd_message.set_token. This function will return
1284: -- 'T' for TRUE or 'F' for FALSE to indicate if the
1285: -- specified message had actually been found and
1286: -- changed. Any associated_column and error type

Line 1283: -- fnd_message.set_token. This function will return

1279: -- calling Set_Search_Message and optionally
1280: -- Set_Search_Token. Details of the replacement
1281: -- message must first be set by calling
1282: -- fnd_message.set_message and optionally
1283: -- fnd_message.set_token. This function will return
1284: -- 'T' for TRUE or 'F' for FALSE to indicate if the
1285: -- specified message had actually been found and
1286: -- changed. Any associated_column and error type
1287: -- details will not be altered. If the message to

Line 1307: l_save_new_message := fnd_message.get_encoded;

1303: return 'F';
1304: end if;
1305:
1306: -- save new message to local variable, return if not set
1307: l_save_new_message := fnd_message.get_encoded;
1308: if l_save_new_message = '' then
1309: return 'F';
1310: end if;
1311:

Line 1323: fnd_message.clear;

1319: G_ser_msgapp := null;
1320:
1321: if l_message_number <> 0 then
1322: G_msg_tbl(l_message_number).encoded_message := l_save_new_message;
1323: fnd_message.clear;
1324: return 'T';
1325: else
1326: return 'F';
1327: end if;

Line 1369: FND_MESSAGE.SET_ENCODED ( G_msg_tbl( G_msg_index ).encoded_message );

1365: end loop;
1366:
1367: -- add the string as a token
1368:
1369: FND_MESSAGE.SET_ENCODED ( G_msg_tbl( G_msg_index ).encoded_message );
1370: FND_MESSAGE.SET_TOKEN ( G_associated_cols_token_name, l_col_string );
1371:
1372: -- add the message type as a token
1373:

Line 1370: FND_MESSAGE.SET_TOKEN ( G_associated_cols_token_name, l_col_string );

1366:
1367: -- add the string as a token
1368:
1369: FND_MESSAGE.SET_ENCODED ( G_msg_tbl( G_msg_index ).encoded_message );
1370: FND_MESSAGE.SET_TOKEN ( G_associated_cols_token_name, l_col_string );
1371:
1372: -- add the message type as a token
1373:
1374: FND_MESSAGE.SET_TOKEN ( G_message_type_token_name, G_msg_tbl( G_msg_index ).message_type );

Line 1374: FND_MESSAGE.SET_TOKEN ( G_message_type_token_name, G_msg_tbl( G_msg_index ).message_type );

1370: FND_MESSAGE.SET_TOKEN ( G_associated_cols_token_name, l_col_string );
1371:
1372: -- add the message type as a token
1373:
1374: FND_MESSAGE.SET_TOKEN ( G_message_type_token_name, G_msg_tbl( G_msg_index ).message_type );
1375:
1376:
1377: IF ( FND_API.To_Boolean( p_encoded ) ) THEN
1378:

Line 1379: return FND_MESSAGE.GET_ENCODED;

1375:
1376:
1377: IF ( FND_API.To_Boolean( p_encoded ) ) THEN
1378:
1379: return FND_MESSAGE.GET_ENCODED;
1380:
1381: ELSE
1382:
1383: return FND_MESSAGE.GET;

Line 1383: return FND_MESSAGE.GET;

1379: return FND_MESSAGE.GET_ENCODED;
1380:
1381: ELSE
1382:
1383: return FND_MESSAGE.GET;
1384:
1385: END IF;
1386:
1387: