web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Impact of deleting Sales Parm data using Sales update history cleanup

(0) ShareShare
ReportReport
Posted on by 683

We need to purge data from SalesParmLine table due to its large size. There are about more than 12 million rows in SalesParmLine table. We will be using the Sales update history cleanup batch job for purging. I have reviewed the code in the job which is deleting data from following tables till the cleanup date:

SalesParmTable

SalesParmUpdate

SalesParmSubTable

SalesParmLine

SalesParmSubLine 

Now just need to confirm two things here:

1. What will be the impact of it on the references the sys layer classes are using to create invoices? 

2. Does it have any impact on the reports that are using SalesParmLine table (I am aware of Customized reports but need to confirm about default reports)?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Brandon Wiese Profile Picture
    17,790 on at

    Those tables are used in the SalesEditLines form to create Sales confirmation, packing slip, and invoice journals.  Once those journals are created, the SalesParm tables are no longer needed, except for whatever research value they may provide later.

  • Mariano Gracia Profile Picture
    on at

    I have a batch process that purges data from SalesParmTable and PurchParmTable every week and I have never had any problem. Regarding your first question, the standard process deletes the register with status executed (or executed and error), so it won't have any impact.

  • zeeshan.shaikh Profile Picture
    683 on at

    Thanks Brandon and Mariano, does it create any problem if we cancel or correct the Packing slip if not invoiced yet ?

  • Dick Wenning Profile Picture
    8,705 Moderator on at

    yes you can but..

    there are bugs in the cleanup in some ax versions.

    how are return item generated? that also reuse the salesParm stuf.

    in general sales orders that are 100% invoiced and will not get return items, those can be deleted

    also read this blog

    shekhardiptiman.wordpress.com/.../dynamics-ax-%E2%80%93-periodic-maintenance-and-performance-analysis

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
Nagendra Varma K Profile Picture

Nagendra Varma K 4

#2
Harisgillani Profile Picture

Harisgillani 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans