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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Number sequence reference clean up

(4) ShareShare
ReportReport
Posted on by 372
Hello all,
I created a number sequence associated with an EDT (extended data type).
Then after some time i had to change the EDT name.
Then I found that a new number sequence reference is created.
So now i have two number sequences references in the module parameters.
Can you tell me how to remove the old one pls?
Please note that i run the reset functionality here but it had no effect:
I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,667 Super User 2026 Season 1 on at
    Hi,
     
    There is no functional support to delete the reference. You can create an X++ script that will delete the old reference.
  • Cyrille Nembot Profile Picture
    149 on at
    There are few options to remedy to your issue:
     
    1. Access Number Sequence Setup:

      • Navigate to Organization administration > Number sequences > Number sequences

      • Or go to Organization administration > Number sequences > Number sequence references

    2. Find the Old Reference:

      • Look for references to your old EDT name in the list

      • You can filter by module or search for the old EDT name

    3. Delete the Old Reference:

      • Select the old reference record

      • Click Delete (you may need administrator privileges)

    4. Clean Up Parameters:

      • Go to the module parameters where these appear

      • Remove the old reference from the parameter form

    Now if you find that you are still struggling and any good with powershell, you can use powershell:

     

    $oldReference = Get-D365NumberSequenceReference -Name "OLD_EDT_NAME"
    Remove-D365NumberSequenceReference -NumberSequenceReference $oldReference
  • Martin Dráb Profile Picture
    239,022 Most Valuable Professional on at
    @MS-29011540-0 You've verified both replies as verified answers, but they contradict each other. Can you please check that and mark the correct answer only?
    Also, a lot of information in the AI-generated answer posted by Cyrille Nembot is wrong. For example, no Powershell cmdlet Remove-D365NumberSequenceReference exist; it was just AI hallucinating. This clearly can't be a solution. If you still believe that the reply contains something that is a solution, please tell us what it is. Merely marking the whole reply as a solution clearly isn't correct.
  • MS-29011540-0 Profile Picture
    372 on at

    @Martin Dráb 
    Sure, :))
    I knew @Cyrille Nembot's answer wasn't correct, but i thought he might tried it before and it worked with him :)
  • Martin Dráb Profile Picture
    239,022 Most Valuable Professional on at
    Well, a verified answer means that you confirm that it did resolve the question or problem that this thread is about. If you don't know whether it works or not, simply don't mark it as a verified answer. Not mentioning the time when you know that the answer is wrong.
     
    Especially these AI-generated answers aren't to be trusted; there are users (or bots) who paste anything that AI responds, without any attempt to check the correctness.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 613

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 292 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans