Messagebox Syntax in PeopleCode

Messagebox Syntax in PeopleCode

Messagebox Syntax in PeopleCode of PeopleSoft for popup message has many styles of each requirement.

MessageBox Syntax

MessageBox(style, title, message_set, message_num, default_txt [, paramlist])

where param list is an arbitrary-length list of parameters of undetermined (Any) data type to be substituted in the resulting text string, in the form:

param1 [, param2]. . .

Description

Use the MessageBox function to display a message box window. This function combines dialog-display ability with the text-selection functionality of MsgGet, MsgGetText, or MsgGetExplainText. The style parameter selects the buttons to be included. title determines the title of the message.

For Example :

MessageBox(1, “”, 0, 0, “Messagebox use value of style box = 1”, “”, “”);

More Example Click Here

Reference: https://docs.oracle.com/cd/E13292_01/pt849pbr0/eng/psbooks/tpcl/chapter.htm?File=tpcl/htm/tpcl02.htm

Posted in Peoplecode, PeopleSoft.