You need to sign in to do that
Don't have an account?
Issue with code deployment due to an error
Hi,
I'm receiving the following error for code that has existed in our org for several years - I've only changed the reference from Estimated_Volume__c to Estimated_Annual_Volume__c.
Method does not exist or incorrect signature: EncodingUtil.urlEncode(Decimal, String)
Original lines:
if(rec.Estimated_Volume__c != null){
url += '&' + '00N600000029OCc=' + EncodingUtil.urlEncode(rec.Estimated_Volume__c,'UTF-8');
Revised lines:
if(rec.Estimated_Annual_Volume__c != null){
url += '&' + '00N600000029OCc=' + EncodingUtil.urlEncode(rec.Estimated_Annual_Volume__c,'UTF-8');
Any help would be greatly appreciated!
Thanks!
Yes the field exists in my org.
Try to save and deploy your code in earlier apex api version, i mean previous api version.May be apex api version got updated here.