I have following code which I am trying to execute in Console but failing with error below.
CODE:
Implementation__C I = New Implementation__C();
I =[select Account__c,ID, Name from Implementation__C where ID = 'Record ID'];
I.Account__c = 'Account record ID';
update I;
ERROR:
Line: 4, Column: 1
System.DmlException: Update failed. First exception on row 0 with id a0j0V00000NaBYgQAN; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: []