Quantcast
Viewing all articles
Browse latest Browse all 2270

Set Contact from Custom Object to null with CPM (6 Comments)

Topic by Jairo Cordero

Content

Hello gurus,
I have a requirement to prevent a contact from having more than one associated active record from a catalog (custom object).
I try to resolve with CPM, but when I try to set Contact to null does not work:

This is the line:

$Tarjeta->Contact = RNCPHP\Contact::fetch(null);

I try:

$Tarjeta->Contact = RNCPHP\Contact::fetch();

$Tarjeta->Contact = RNCPHP\Contact::fetch("");

$Tarjeta->Contact = RNCPHP\Contact::fetch('');

 

 

Version

Oracle Service Cloud May 2017

Code Block


Viewing all articles
Browse latest Browse all 2270

Trending Articles