You need to sign in to do that
Don't have an account?
jOseMC
Expression cannot be assigned &&
Hey guys, I need to do the following, check if the banco__c fields
and digito_da_conta return null and if they do I have a method that updates this field directly from another object
and digito_da_conta return null and if they do I have a method that updates this field directly from another object
if(opp.Conta__c = null && opp.Banco__c = null && opp.Agencia__c = null ){ CheckBankDataOfTheOpportunity(ssi,opp); }
private void CheckBankDataOfTheOpportunity(SelfSignIn__c ssi, Opportunity opp){ opp.Agencia__c = ssi.Agencia__c; opp.Banco__c = ssi.Banco__c; opp.Conta__c = ssi.Conta__c; }
Please change the first code to this single = sign is for the assignment and not for control logic, instead should use ==
I hope this will resolve the issue.
Thanks
All Answers
Can you provide the trigger code, which you have written?
What is the relationship between SelfSignIn__c & opportunity?
Thanks!!
Please change the first code to this single = sign is for the assignment and not for control logic, instead should use ==
I hope this will resolve the issue.
Thanks