Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

LCS Code Upgrade - no DeleteAction after conversion

Posted on by 1,535

After 'Code upgrade' model from AX 2012 to D365 I have problems with tables. After upgrade, some tables has delete action, but some tables doesn't have any delete action. What can I do with that?

Upgrade from: AX 2012
Upgrade to: Dynamics 365 F&O 10.0
Analysis category: Model

 

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: LCS Code Upgrade - no DeleteAction after conversion

    Nothing. 

    DeleteActions are the legacy way and OnDelete property in relation is the new way to accomplish the same outcome. 

    This new way is simpler, allowing to define all important settings in one place. It also means that you don't need to modify/extend a standard table just because your table has a relation to it. 

  • Ireneusz Smaczny Profile Picture
    Ireneusz Smaczny 1,535 on at
    RE: LCS Code Upgrade - no DeleteAction after conversion

    Yes, now I found, that relations on D365 on tables have new property "Od Delete". THX!!!!
    What is the difference between <table parent>\DeleteAction and <table child>\Relations\<table parent>\property "On Delete"?

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RE: LCS Code Upgrade - no DeleteAction after conversion

    Couldn't they be moved to table relations (On Delete property)?

  • vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: LCS Code Upgrade - no DeleteAction after conversion

    Hi IKSIKS,

    What do you want to do here? Add delete actions for remaining tables?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans