Server-Side Scripting Business Rules Flashcards

(15 cards)

1
Q

JavaScript that runs when:
-A record is displayed, inserted, updated, or deleted
-A table is queried

A

Business Rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Execute server-side
-Faster
-Does not monitor forms or lists

A

Business Rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Use the condition builder to determine when the business rule should run based on the field values in the selected Table.

A

Filter Conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Select the roles that users who are modifying records in the table must have for this business rule to run.

A

Role Conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Execute before a query is sent to the database

A

Before Query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Execute after the data is read from the database and before the form is presented to the user

A

Display

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Client Script that is always partnered with Display?

A

onLoad()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This is the global object to be populated by the Display Business Rule.

A

g_scratchpad

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Execute after form submission and before record is updated in the database

A

Before

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Execute after form submission and after the record update in the database
Waits for the operation to finish before it does other processes

A

After

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Execute after records are inserted/modified/queried

A

Async

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

T or F: Use Async Business Rules whenever possible

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Business Rule to pass data from the server-side to the client-side during a form load using the g_scratchpad method?

A

Display

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where should condition statements be written so unnecessary scripts do not run?

A

Condition Field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

T or F: Always use current.update() in your scripts.

A

False. Never use current.update()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly