Server-side Script Notes
Scripts which executes on the server side:
Business rules: It will execute when a record is being inserted or updated or deleted or
when a table has been queried.
before(): After user submits the form and before it takes any action (insertion or updation
or deletion or query) in the database.
1.
after(): After user submits the form and after it takes any action in the database.
async(): After user submits the form and after it takes any action in the database with a
time delay.
display(): After data read from the database and before it presented to the users.
BRUNE
>> Display business rules will execute when a form has been loading..
>> Business rules will only execute for the tables, we can't implement for the catalog
forms.
Requirement: We need to stop resolving the when there an active tasks associated to it.
INC@@100@1 -> Taskee1@001
-> Taskee1e@e2
-> Taskee1e9ee3
>> To create a business rule type business rules in the left navigation and click on
business rules under system definition.
Server side scripting:
Script includes:
syntaxes which we will use it on server side scripts:
TAG / 1:11:29