8 answers
Hi Nabeel,Please modify the lines I gave you with this code -
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks and Regards,Ajay Dubediwww.ajaydubedi.comif(acct.AmountX__c == Null) {
acct.AmountX__c = 0;
}
if(acct.AmountY__c == Null) {
acct.AmountY__c = 0;
}