Skip to main content

Notifications

Announcements

No record found.

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.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Will the deletion of expired sales trade agreements cause issues with reporting or otherwise?

    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

  • Trippico Profile Picture
    5 on at
    RE: Will the deletion of expired sales trade agreements cause issues with reporting or otherwise?

    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,

  • Trippico Profile Picture
    5 on at
    RE: Will the deletion of expired sales trade agreements cause issues with reporting or otherwise?

    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.

  • B.W Profile Picture
    505 on at
    RE: Will the deletion of expired sales trade agreements cause issues with reporting or otherwise?

    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.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Will the deletion of expired sales trade agreements cause issues with reporting or otherwise?

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,145 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans