I'm having problems with my apex code inserting. I don't know whats going on
here is my code:
// object instance with memory allocation.
Work_Order__c wo = new Work_Order__c();
wo.Est_Hours__c = 89;
wo.Instructions__c = 'this is a test';
insert wo;
and I have looked at the system.debug log and this is what I'm getting in the log:
23:54:38.198 (198681448)|USER_DEBUG|[14]|DEBUG|===> insert ===> Work_Order__c:{Instructions__c=this is a test, Est_Hours__c=89, Id=a0j1a000000cbuFAAQ}
but how come its not inserting a new row in the Work_Order__C
object?