function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
iBr0theriBr0ther 

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.

  

AxxxVAxxxV

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

 

http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=22446

 

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.

iBr0theriBr0ther

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.

 

 

Thx