You need to sign in to do that
Don't have an account?
jameskCA
Way to check for blank on both number and string?
I have a lot of fields to check for blank values on an object, both numbers and strings. Would it be best to use the isBlank and convert number fields to strings and use the isBlank method? Or, just create a new method that would check null, 0, or '' ?
If I created a new method with the above checks, would that work for both string and decimal? Thanks in advance.
If I created a new method with the above checks, would that work for both string and decimal? Thanks in advance.
Helper class to check null value for the different type of variable Sample use of helper class in your trigger/apex code