Friday, April 13, 2012

Difference Between MsgGet, MessageBox, & MsgGetText PeopleCode Functions


Wondering why there are 3 different functions or ways to get text
from a message catalog? Check the comparison below and decide which one
best fits your needs.
MsgGet(message_set, message_num, default_msg_txt [, paramlist])
The MsgGet function
retrieves a message from the PeopleCode Message Catalog and substitutes
in the values of the parameters into the text message.
Example: &MsgText = MsgGet(40000, 2, "Message not found");
MessageBox
retrieves messages from the Message Catalog but provides the
flexibility to change the severity of a message through the Message
Catalog, without modifying PeopleCode.
MessageBox(style, title, message_set, message_num, default_txt [, paramlist])
Example: MessageBox(0, "", 40000, 1, "Message not found", BUS_EXPENSE_PER.EMPLID, BUS_EXPENSE_PER.EXPENSE_PERIOD_DT);
MsgGetText is very similar to MsgGet except the message set and message number will not appear after the text of the message.
MsgGetText(message_set, message_num, default_msg_txt [, paramlist])
Example: &MsgText = MsgGetText(40000, 2, "Message not found");




4 comments:

  1. Alveo
    Hello to every one, because I am in fact eager of reading this website's post to be
    updated on a regular basis. It consists of good stuff.

    ReplyDelete
  2. You really make it seem so easy together with your presentation however I to find this topic to be really one thing which I feel I would by no means understand.
    It seems too complicated aand very wide for me. I am having a look forward to your next put up, I'll try to get the hang of it!


    Also visit myy blog post; her comment is here

    ReplyDelete
  3. Dacă el obiceiul să explice dacă mă întrebi pe mine , sau este un prim - data ,
    cum pot transmite ? Găsiți ceva ce iti place sa faci si fa-o la
    cele mai bune de capacitatea dumneavoastră .
    Pot să povestesc când nivelul meu de zahăr sunt minunate pentru că eu
    apreciez de a folosi ...

    Here is my page ... lubrifianti sex shop

    ReplyDelete
  4. Hi there just wanted to give you a quick heads up and let
    you know a few of the pictures aren't loading properly. I'm not sure why
    but I think its a linking issue. I've tried it in two different
    web browsers and both show the same outcome.

    Feeel free to visit my web blog: http://cleancarpetspecialists.com/; ,

    ReplyDelete

Phaniraavi@gmail.com

PeopleSoft Real Time Training

PeopleSoft Real Time Training

PeopleSoft RealTime Training

PeopleSoft RealTime Training