AX 2012 R2 CU6 Calendar Cleanup

  • AX 2012 R2 CU6 Calendar Cleanup

    Posted by Amy Axness on May 9, 2017 at 3:17 pm
    • Amy Axness

      Member

      May 9, 2017 at 3:17 PM

      We are having some issues with scheduling orders where 2013 dates are showing up.Ā  In test, I have run the Calendar Cleanup (under Organization Administration -> Periodic -> Calendar cleanup) and it might help with our issue.Ā  I can’t find much when I searchĀ regarding what is actually being cleaned up during this process.
      1) Does anyone know what tables are affected?
      2) Is it truly just the calendars being deleted, or is it deleting transactional data?
      3) Is it okay to do a calendar cleanup through yesterday, or will that affect something else?
      Thanks!

      ——————————
      Amy Axness
      Controller
      J&D Manufacturing
      Eau Claire WI
      ——————————

    • Archive User

      Member

      May 10, 2017 at 9:09 AM

      I took a quick peek at the class (WorkCalendarDelete) and it is deleting information from the WorkCalendarDate Table [AX 2012].

      This is the query it runs –Ā 

      delete_from workCalendarDate
      where workCalendarDate.CalendarId == workCalendarTable.CalendarId &&
      workCalendarDate.TransDateĀ  <Ā  toDate;

      ——————————
      Josh Lee
      Stoneridge Software Inc.
      ND
      ——————————
      ——————————————-

    • Amy Axness

      Member

      May 10, 2017 at 1:09 PM

      Thanks Josh!Ā  That was exactly what we were looking for.

      ——————————
      Amy Axness
      Controller
      J&D Manufacturing
      Eau Claire WI
      ——————————
      ——————————————-

    Amy Axness replied 8 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘AX 2012 R2 CU6 Calendar Cleanup’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!