Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Do the scripts entered in the Server Scripts screen reflect new records only? Or do they cover exist — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Do the scripts entered in the Server Scripts screen reflect new records only? Or do they cover exist

Accepted answer
7
Views
10
Comments
edited Jun 23, 2019 1:04PM in B2B Service 10 comments

Summary

Entering a script in the Server Scripts screen functionality issue

Content

Hello all,

I am currently in the Application Composer > Contacts > Server Scripts and thanks to an answer provided in my past question I have the below script for making the Email field mandatory in the Contacts screen:

def email = nvl(Email,null)

if(email.first() == null)

{

return false

}

return true

Using existing contacts that were defined prior to the script, I removed the email value in the Email field and when saving the record the system saved successfully. So my question is, does the script entered in the Server Scripts entered only cover the newly created records? Or is there a way to include existing records that were defined before entering the script.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!