You need to sign in to do that
Don't have an account?
JohnDurai
Getting Null value in Formula field Test class
Hi - I have one formula field (PackageDefCode) in Asset object which is getting the value from lookup object (this is the formula Rate_Code__r.Package_Definition_Code__c)
In my test class, I am trying to populate the valud for PackageDefCode in Asset object by inserting lookup record with value but in Asset recrod value shows NULL in test class. is ther any soluiton ?
In my test class, I am trying to populate the valud for PackageDefCode in Asset object by inserting lookup record with value but in Asset recrod value shows NULL in test class. is ther any soluiton ?
No need to keep the test data for formula field.
insert the test data for Rate_Code__c object in the test class
If this helps please mark it as best answer.
Thanks!!