cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with MDR on Ticket BO (Service Request) - Fields are Read Only

sinaei
Contributor
0 Kudos

Dear All,

I want to do a Mass Data Run for my tickets in C4C to update a custom field that has been created in Service Request Business Object

The problem is that, all fields are readonly! Is it possible??

Can anyone help me about this? Is there any alternative?

Thanks
Sepide

Accepted Solutions (0)

Answers (1)

Answers (1)

dhruv_mehta
Active Contributor

No its not readonly , it just cant be.. As I see the code you are trying to change the content of Result of a query.

Which cant be done 🙂 , You need t to Retrive the BO.

like var <<ServiceRequestBOVariable>> = ServiceRequest.retrive( <<UUID , which you retrived from query );

then

<<ServiceRequestBOVariable>>.zfields

This should work.


Regards, Dhruvin

sinaei
Contributor
0 Kudos

Hello Dhruvin Mehta,

Many thanks for your help, I tried to do it with Retrieve but also in this way they are readonly 😞

Am I doing wrong?

Could you please help me about this?

Thanks

Sepide

dhruv_mehta
Active Contributor

can u try BO.Field.content?

sinaei
Contributor
0 Kudos

Hello Dhruvin,

Thanks for your help, I found the cause of issue. It was because of DeploymentUnit.
Our DeploymentUnit is "Foundation" and ServiceRequest is in "CRM".

Thanks and have a nice day

Sepide

dhruv_mehta
Active Contributor

Aah okay, good to know 🙂 Thanks for sharing the rootcause..