You need to sign in to do that
Don't have an account?

class or batch job
I want a cyclic evaluation of my custom object order to the price, tax, etc.
For this I need to query some 10000 records and calculate.
Which way is better? Creating a class or batch job?
Is there a bestpractice?
For this I need to query some 10000 records and calculate.
Which way is better? Creating a class or batch job?
Is there a bestpractice?
If you are just querying and not making an y delete/insert/update on 10000 records in one go then you can go for apex class, no batch required.
Please read following thread for a better understanding:
http://salesforce.stackexchange.com/questions/920/why-use-batch-apex
I want out of 10000 records add up some fields and create a total invoice per account.
Is it a problem if there are 100000 and more records?