5012:
5013: if PSB_WS_POS3.g_note_parameter_name is not null then
5014: begin
5015:
5016: FND_MESSAGE.SET_NAME('PSB', 'PSB_PARAMETER_NOTE_CREATION');
5017: FND_MESSAGE.SET_TOKEN('NAME', PSB_WS_POS3.g_note_parameter_name);
5018: FND_MESSAGE.SET_TOKEN('DATE', sysdate);
5019: l_note := FND_MESSAGE.GET;
5020:
5013: if PSB_WS_POS3.g_note_parameter_name is not null then
5014: begin
5015:
5016: FND_MESSAGE.SET_NAME('PSB', 'PSB_PARAMETER_NOTE_CREATION');
5017: FND_MESSAGE.SET_TOKEN('NAME', PSB_WS_POS3.g_note_parameter_name);
5018: FND_MESSAGE.SET_TOKEN('DATE', sysdate);
5019: l_note := FND_MESSAGE.GET;
5020:
5021: -- Bug#4571412.
5014: begin
5015:
5016: FND_MESSAGE.SET_NAME('PSB', 'PSB_PARAMETER_NOTE_CREATION');
5017: FND_MESSAGE.SET_TOKEN('NAME', PSB_WS_POS3.g_note_parameter_name);
5018: FND_MESSAGE.SET_TOKEN('DATE', sysdate);
5019: l_note := FND_MESSAGE.GET;
5020:
5021: -- Bug#4571412.
5022: -- Added parameters to make the call in sync
5015:
5016: FND_MESSAGE.SET_NAME('PSB', 'PSB_PARAMETER_NOTE_CREATION');
5017: FND_MESSAGE.SET_TOKEN('NAME', PSB_WS_POS3.g_note_parameter_name);
5018: FND_MESSAGE.SET_TOKEN('DATE', sysdate);
5019: l_note := FND_MESSAGE.GET;
5020:
5021: -- Bug#4571412.
5022: -- Added parameters to make the call in sync
5023: -- with its definition.
5328: /* ----------------------------------------------------------------------- */
5329:
5330: -- Define a Message Token with a Value and set the Message Name
5331:
5332: -- Calls FND_MESSAGE server package to set the Message Stack. This message is
5333: -- retrieved by the calling program.
5334:
5335: PROCEDURE add_message(appname IN VARCHAR2,
5336: msgname IN VARCHAR2) IS
5341:
5342: if ((appname is not null) and
5343: (msgname is not null)) then
5344:
5345: FND_MESSAGE.SET_NAME(appname, msgname);
5346:
5347: if no_msg_tokens is not null then
5348: for i in 1..no_msg_tokens loop
5349: FND_MESSAGE.SET_TOKEN(msg_tok_names(i), msg_tok_val(i));
5345: FND_MESSAGE.SET_NAME(appname, msgname);
5346:
5347: if no_msg_tokens is not null then
5348: for i in 1..no_msg_tokens loop
5349: FND_MESSAGE.SET_TOKEN(msg_tok_names(i), msg_tok_val(i));
5350: end loop;
5351: end if;
5352:
5353: FND_MSG_PUB.Add;