Master-Detail: Field is not writable error on Apex

I came upon this error when I assigning the custom object to the master standard object. Invoice__c inv = new Invoice__c(); inv.Account__c = accountId; insert inv; Then I get this error. Field is not writable : Invoice__c.Account__c The fix was actually easy. I just rewrote it to assign the master id on instantiating the child […]

Time of the Year

It’s that time of the year again where you look back and reflect on what you have accomplished and things you were not able to achieved. Achieved Goals for 2014: This year I started out with a goal to start investing for the future. I got into insurance, stocks, mutual funds and having 6 months emergency […]