Skip to Content
0
Aug 09, 2017 at 02:05 PM

Change Status of Ticket in C4C using SDK.

1173 Views

Dear Experts,

We would like to change the status of Ticket to "In Progress" when the Survey feedback answer is "Yes"

I write my code in

"Business Object: Questionnaire"

"Node: ValuationCollection"

"Event: BeforeSave"

With Code "this.ServiceRequest.RejectSolution();" , I get an error "Access of member 'RejectSolution' in a cross-deployment unit is not possible"

I cannot Add Deployment Unit for the Extended Business Object.

Also for I want to use "this.ServiceRequest.SendBackForRevision();" in the same event.

Error : Approval functions can only be called within script files of approval actions.

If Someone knows the ways to solve this, please share

Thank you

Kind regards

Prat