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
Sudha#aSudha#a 

any one help me in batch apex

Setup a new fields “Today’s MRR” and “CMMR” on the Account object. These fields should be based on a roll-up of the same fields at the Billing Account level.
 
4. Create an Apex job that:
4.1 Loops through all Billing Accounts and rolls-up Today’s MRR to the Billing Account Level.
4.2 Loops through all Accounts and rolls-up Today’s MRR and CMMT to the Account Level.
 
This job should run once a day during non-business hours.
 
The new fields should take currencies into account and report the numbers in USD. For example, if the Subscription was booked in EUR, the calculation should convert the amounts to the base currency which is USD
James LoghryJames Loghry
Hi Sekhar,

It sounds like you're asking us to do your own work for you. That is not what these boards are for. If you're interested in learning more about batch, asynchronous and scheduled processing though, I suggest that you check out the Asynchronous Apex module on Trailhead: https://developer.salesforce.com/trailhead/module/asynchronous_apex

Regards,
James Loghry
Demand Chain Systems, Inc. (DCS)
http://www.demandchainsystems.com
Sudha#aSudha#a
hi  James
 thanks for u r suggection.my work is completed.....