Skip to main content

public class SendMoney2 {          @auraEnabled          public static void SendDet(String acName,String acNo,String acIfsc,integer acAmt){                  Customer_Account__c acc=[select Account_Number__c,Name,IFSC__c,Balance__c from Customer_Account__c];                  if(acc.Account_Number__c == acNo && acc.Name==acName && acc.IFSC__c==acIfsc){                          acc.Balance__c =acc.Balance__c + acAmt;             update acc;         }             }      }

 

 in this code i am facing some issue like variable does not exist.Compiler showing no error but when compile time i got error.please help to me. #Trailhead Challenges #Lightning Web Components #Aura Components

0/9000