Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

New number sequence for parameters

(0) ShareShare
ReportReport
Posted on by 592
Hi guys,
 
For a new number sequence that will appear in some module parameters, may I know what is the /story/ behind which in Development VM we need to manually run job to Load it in order to make it appear, while in UAT or production it will be automatic ?
 
I know how create new number sequence, but why it has that difference approach is what I want to know for better understanding.
 
Thanks.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,111 Super User 2025 Season 1 on at
    New number sequence for parameters
    Hi Voltes,
     
    In this thread a runnable class is discussed which will create records in the NumberSequenceReference table. Then the number sequence is visible on the parameters form. This runnable class is not required at all. You can read my blog about a feature on the number sequence form which will call exactly the same logic: What to do when new number sequence references on parameter forms are missing? - Dynamicspedia
  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    New number sequence for parameters
    You can execute the runnable class in Development environment as well, only difference is that in Dev environment we can set runnable class as Start up object in project and execute it, which can not be done in Tier2 & above environments.
  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    New number sequence for parameters
    Yes, In Sandbox and Production environment, you have to execute runnable class from UI using that URL. The sytax is same, only name of runnable class should be changed. 
     
    Currently, we can not edit existing threads but as per community updates, editing posts/replies will be enabled in this new community site in future updates in site.
  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    New number sequence for parameters
    Thats a developer job to run the number sequence related class before Go live.
    Also, I guess there is no edit option available in the new site.
     
    Thanks,
    Girish S.
  • Voltes Profile Picture
    Voltes 592 on at
    New number sequence for parameters
    Or, I should run that Runnable class (of mine) in production at Go Live time, using the URL (with changes of the URL name, ofc) like given by Girish ?
     
    Btw, as this is new UI, may I know how to edit the existing thread :)
    Thanks
  • Voltes Profile Picture
    Voltes 592 on at
    New number sequence for parameters
    Meaning to say, because I create the Runnable class, later when I'm about to Go Live, I need to inform what is the runnable class to load my number sequence ?
  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    New number sequence for parameters
    In addition, check runnable class for number sequence in this article for more information.
     
  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    New number sequence for parameters
    Yes, it's a runnable class.
    To activate the number sequence its compulsory to run the runnable class. There is no other way.
    You can use sysClassRunner to run the same job in production and uat environment. One think you need is you must know the name of the runnable class.
     
    Thanks,
    Girish S.
  • Voltes Profile Picture
    Voltes 592 on at
    New number sequence for parameters
    Hi Mohit / Girish,
     
    Yes, I'm sorry I'm a bit confuse. Anyway I understand the steps needed to create new number sequence. Just like the blog shared to me. Same as in the blog, point 4 stated we need to run the Runnable Class, right ? So we do need to run this (Runnable class is a job, if I'm understand correctly)
     
    Like I'm doing now, I need to run this class (manually) in my Dev VM, but what I want to understand, if it is in Production how actually will make this activated / added since there will be no one run this manually, right ?
     
    thanks
  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    New number sequence for parameters
    Hi Voltes, Check this article
     
    https://allaboutdynamic.com/2019/01/09/d365-ax7add-a-new-number-sequence-in-standard-modules-or-parameters/

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans