AX 2012 R3 Clean up

  • AX 2012 R3 Clean up

    Posted by DSC Communities on February 10, 2020 at 3:26 pm
    • Bill Fuller

      Member

      February 10, 2020 at 3:26 PM

      looking for some info on TMSTransaction table clean up options. , this is one of our larger tables,Ā  struggling to find some info on how toĀ 
      clean it up , thanks,

      ——————————
      Bill Fuller
      Mgr. System Administration Team

      Allegion Information Technology
      11819 North Pennsylvania St
      Carmel, IN 46032
      ——————————

    • Michael Sigler

      Member

      February 11, 2020 at 9:23 AM

      Hi Bill,

      Have you tried the ‘Transaction purge’ option under Transportation management – Periodic tasks?Ā  That should allow you to specify how many days of information you would like to keep while removing the rest.Ā  Naturally, i would recommend validating this in a Dev / Test environment.

      ——————————
      Michael Sigler
      Rangeline Solutions
      ——————————
      ——————————————-

    • Bill Fuller

      Member

      February 11, 2020 at 3:13 PM

      Thanks Michael Ā  , Found it . ! Ā  will give this a try and do some testingĀ  ..

      ——————————
      Bill Fuller
      Mgr. System Administration Team

      Allegion Information Technology
      11819 North Pennsylvania St
      Carmel, IN 46032
      ——————————
      ——————————————-

    • Dave Phillips

      Member

      February 11, 2020 at 9:32 AM

      Hi Bill –

      TMSTransaction table contains transportation transactions for historical purposes.

      We do have an option to delete the records on this table. See, Transportation management > Periodic > Transaction purge. The periodic routine will delete all the records if you are running with parameter Days = 0. Days is the number of days of transaction data to keep.

      As with any of these cleanups, best to test first and understand everything the process is doing. SQL Profiler filtering by Deletes is great way to evaluate.

      I ran a quick test and only one statement was the result.

      DELETE FROM TMSTRANSACTION WHERE (((PARTITION=@P1) AND (DATAAREAID=@P2)) AND (MODIFIEDDATETIME<@P3))

      Thanks…..Dave

      ——————————
      Dave Phillips
      Sr Support Escalation Engineer
      Microsoft
      Fargo ND
      ——————————
      ——————————————-

    • Bill Fuller

      Member

      February 11, 2020 at 3:12 PM

      Thank you , Dave Ā  Ā  Appreciate the help, will give this a try and do some testing ..

      ——————————
      Bill Fuller
      Mgr. System Administration Team

      Allegion Information Technology
      11819 North Pennsylvania St
      Carmel, IN 46032
      ——————————
      ——————————————-

    DSC Communities replied 5 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘AX 2012 R3 Clean up’ 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!