+ Start a Discussion

Batch Apex Issue

Hi all,


I'm currently stuck with batch Apex. My soql in batch apex doesn't return the formula fields value (rumber formula field.) It always return 0 for each number formula field. But the other fields except formula field are returned the value correctly.



Does any one have problem like me?


Any help is greatly appreciated.



I am having the same exact issue. Was going to post a question here, but found a similar thread:




This appears to be a known issue at this point, so I am logging ht e case with SFDC to help reinforce the need for the resolution.


Thanks you for your info.


However, I've tried many solutions but can not be resolved.

Finally, I decided to move the formula logic to the apex class after querying.