I still don't know if queries in execute batch are made for each record or batch execution. For instance:
global void execute(Database.BatchableContext BC, List<xR1_order__c> scope){
SELECT....
SELECT...
SELECT...
for(xR1_order__c order:scope){
...
}
}
Let's assume that batch limit is 200 records. Will those queries be made 200 times even if they are not in the (for...scope) or just once for the 200 records?
Thanks so much