cancel
Showing results for 
Search instead for 
Did you mean: 

How to uncheck Send Notification check box by custom script in supplier's contact Account management tab?

Former Member
0 Kudos

Hi Experts,

We have a requirement to uncheck the Send Notification check box by custom script in supplier's contact account mangement tab while page loading while creating new contact for the supplier. I have attached screen shot for reference.

I have searched several API Java classe for get and set methods for this Send notification field but no luck.

If anyone have an idea about get and set methods for this field please share.

 

Help would be appreciated and points awarded!

Thanks,

Lava.

Accepted Solutions (1)

Accepted Solutions (1)

former_member207877
Active Participant
0 Kudos

Hi Lava,

Inorder to uncheck the Send Notification checkbox while loading the page you have to write the script targeting the class Contact(600) and target as Loaded.

Include below lines in your custom script (contact onload Script)

doc.getFieldMetadata("SEND_NOTIFICATION").set(doc,FALSE);

You can create it in On create Script also.

Hope it helps.

Thanks,

Raj.

Former Member
0 Kudos

Hi Rajshekhar,

Thanks for your reply.

I have wrriten the script targeting the class Contact(600) and target as Loaded. i have included mentioned line but no luck.

When i have tried with target as Validate it is throwing an error.

Error: A reflection error occurred accessing the object.

Do we need to include any extra code in script? if yes can you please share with us.

Thanks in advance!

Regards,

Lava.


Answers (0)