Scheduled reports - Every month instead of every 4 weeks

Hello,

My problem is simple : we want to schedule a report to be send every month and not every 4 weeks.

I am sure we are not the only one to face this issue but, today, I don't find an easy well to solve it.

Best wishes,

Fred

Parents
  • When you add 

    $app_list_strings['reportschedule_time_interval_dom']['2629800'] = "Every 1/12 year";

    to a custom/Extension/application/Ext/Language/en_us.xxxx.lang.php file you will get an interval equal to
    365,25 * 24 * 60 * 60 / 12 = 2629800 (sec)

    With that interval you divide the year in 12 parts of equal length.

    :-) :-) :-)

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Reply
  • When you add 

    $app_list_strings['reportschedule_time_interval_dom']['2629800'] = "Every 1/12 year";

    to a custom/Extension/application/Ext/Language/en_us.xxxx.lang.php file you will get an interval equal to
    365,25 * 24 * 60 * 60 / 12 = 2629800 (sec)

    With that interval you divide the year in 12 parts of equal length.

    :-) :-) :-)

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Children
  • Hello and ,

    thank you for your feedback but 1/12 of a year is differrent then the 1st (or the 15th of a month) and we would like to keep on working with core report scheduler.

    So I would rather find a way to override the getNextRunDate from modules\ReportSchedules\ReportSchedule.php in order to manage another type of "dropdown key" (instead of having only duration, maybe other textual key)

    Fred