Database Reference
In-Depth Information
3.
If the function takes parameters, the
Parameters
field displays a template
indicating what those parameters are. If so, replace the placeholders (text
surrounded by angle brackets) with actual values. If the
Parameters
ield
remains blank after you select a function, you need not supply parameters.
However, you can enter
QUERY_ONLY="YES"
to make the destination
form open in query-only mode.
4.
Ensure that the
Active
checkbox is selected.
Creating messages
You can write messages that appear when a user performs an action corresponding
to the event you have chosen for a rule element—for example, opening a form,
navigating to a field, or saving a record. Click on the
Messages
tab in the
Business
Rule Details
form.
In order to create a message:
1.
In the
Sequence
field, enter a number that reflects the order in which you
want this message to appear in relation to other messages you may create in
other rows.
2.
In the
Description
field, briefly explain the purpose of the message.
3.
In the
Message Type
listbox, select one of the following:
°
Note
: The message appears, but the user is able to continue working
°
Error
: The message appears, and the user is prevented from saving
a record
4.
As a result, select this type for messages associated with rule elements that
use the When Validate Record event.
5.
Write the message in the
Message
textbox. A message can contain
not only text, but also field names. Use the following syntax:
#:BLOCK.
FIELD_NAME#
. At run time, the field names are replaced by values
associated with the currently selected record.
6.
A message can be made to appear only when certain data conditions are met,
for example, a promotional message may appear when a user enters a certain
item on an order. In order to make this happen:
ii.
Create the message for a rule element based on the
When New
Item
event.
ii.
Create an element subscriber with a
Data filter
type so that the
message appears only when the correct data is entered.
Search WWH ::
Custom Search