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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Will the deletion of expired sales trade agreements cause issues with reporting or otherwise?

(0) ShareShare
ReportReport
Posted on by 5

My IT department is telling me not to delete any old/expired sales trade agreements because it will corrupt our system data.  The excuse is that the historical trade agreements are used for sales history and other areas within AX.  Is this true?

I ask because we have several tens of thousands of old pricing agreements that have since expired or were incorrectly posted to begin with and i'd like to delete them from the system but i don't want to harm anything by doing so.  Also because it seems ridiculous that anything would be linked to a historical trade agreement that can be overridden during price override or can be edited within the trade agreement functions at any time.  I'd appreciate some expert knowledge as I feel what i'm being told is incorrect.

Thanks.

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Trippico,

    Are you using those historical trade agreements for BI reports that are build on top of them?

    If this is the case then deleting / 'cleaning' things might be an issue.

    Data corruption should not be an issue unless some stuff has been modified.

    If you don't see any problem with having the old trade agreements in your system I would probably take the 'careful' way and not delete them to avoid any potential side effects.

    Best regards,

    Ludwig

  • B.W Profile Picture
    505 on at

    Sales lines are linked to the trade agreement the pricing was used  on, deleting them could cause issues in cases where a old transaction may for some reason need to be credited.

  • Trippico Profile Picture
    5 on at

    Hi Ludwig,

    We use BI for building sales reports like invoice history and open order reports.  I'm told to change the date from/to date on the trade agreement instead of deleting them.  

    What I don't understand is if the trade agreement is so important to other aspects of AX then why are you allowed to completely modify an existing trade agreement meaning it's customer, item, price, etc?

    thanks.

  • Trippico Profile Picture
    5 on at

    Hi B.A.,

    By 'sales lines' do you mean the invoice history line item details?  Why wouldn't this be linked to something that could potentially be modified.  I read another forum that said that if this was the case that...

    "Once a SO is invoiced, you can actually delete the SO (there is even a periodic cleanup functionality for that), and your financial figures and posting history will not be affected (unless you incorrectly changed and designed SSRS reports to use data from the tables involved, though it should have been replicated to the posting tables)."

    Can I assume this also applies to old sales trade agreements and that unless the SSRS reports are incorrectly designed I should be able to delete them without corrupting my data?

    Thanks,

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Trippico,

    I don't think that those old trade agreements are important to AX but to your BI reports.

    I don't have details how they are build but based on what you describe, I would suspect that your reports break if you delete the trade agreements.

    So, better don't touch them ;-)

    Best regards,

    Ludwig

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 681 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 598 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 579

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans