Warning: Illegal string offset 'ssb_og_tags' in /var/www/www.xgeek.net/html/wp-content/plugins/simple-social-buttons/simple-social-buttons.php on line 1466

主-详细字段更新错误’ Field is not writeable’的解决方案

在Salesforce Apex代码中对主-详细字段进行更新时,会发生“Error: Field is not writeable”的执行错误,如何才能规避这个错误呢?

或许我们只能用Clone的方式对数据进行重新生成来解决,如下所示 :

参考:Apex System SObject Clone

Enjoy It!

Post Tagged with , , ,