I am trying to set a custom field of an custom object from apex
object.put('field__c','value');
object.field__c = 'value';
Both of these lines do not set the value. However is I log the result of put it does show the old value of 'field__c'. Any suggestions as to where to look for a solution ?
__c