I have the requirement to find the difference between two record values of a record type like we do in case of cdts using cdtdifference(). I have the previous value of record type and then new value, I need to populate Audit table using these difference values.
Any function like cdtdifference() or any workaround to do this?
Discussion posts and replies are publicly visible
varunbawa said:I have the requirement to find the difference between two record values of a record type
what do you miss at cdtdifference that you need a workaround?
cdtdifference works for me but I have to cast the record in cdt first then it's working. Is there any direct way of comparison or function like cdt difference.
Because, the only reason is the application is completey record based, they are moving away from cdts slowly in the app enhancements, so need a direct way of comparison.