Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Unable to Save Record in Custom Object

$
0
0

Topic by Baljeet Singh

Content

Hi,

I am trying to save record in custom object i.e employee_involved. I am trying to save incident object in custom object field i.e Incident_ID but I am getting an error message like this

Not Allowed: Cannot perform requested function or action. | Line: 35

Here is the ConnectPHP code I am using

use RightNow\Connect\v1_3 as RNCPHP;                 

  $co_emp                                =   new RNCPHP\CO\employee_involved;
  $co_emp->Incident_ID             =    RNCPHP\Incident::fetch($i_id);    
  $co_emp->emp_name            = $name;
  $co_emp->badge_number         =   $badge_number;

  $co_emp->save();

I have already created Association relationship with Incident object. Please find attached the screenshot.

I have already posted the similar kind of issue while fetching record

http://communities.rightnow.com/posts/5572e571e1

Does anyone has an idea how I can fix this problem ?

Thanks in Advance !!

 

 

Version

Oracle Service Cloud February 2016

Image


Viewing all articles
Browse latest Browse all 2504

Trending Articles