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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

release number sequence

(0) ShareShare
ReportReport
Posted on by 942

Hello guys,

In AX2012 I could release number sequence like that

    NumberSeq::release(RAssetParameters::numSeq().NumberSequence, documentumOS_2);

When I try to use the sane code snippet in D365FO I get the following error

pastedimage1639923274785v2.png

and really when I open table NumberSequenceReference I see that this field has been depricated

pastedimage1639923491713v3.png

Could you pls tell me how to release number sequence in D365FO?

Many thanks.

I have the same question (0)
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Hi,

    Please check the following thread for more info on how to create number sequence in X++

    community.dynamics.com/.../number-sequence-in-x

    More info: daxbeginners.wordpress.com/.../

    Micorosoft docs: docs.microsoft.com/.../number-sequence-framework

  • dark_knight Profile Picture
    942 on at

    thanks but I know hot to create number sequence. I don't know hot to release it. IN AX 2012 I did like I described it above. IN d365fo I can't do it the same way. Also I checked all the links provided by you.

  • Verified answer
    Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    Use parmNumberSequenceCode() instead of NumberSequence:

    NumberSeq::release(RAssetParamneters::numberSeq().parmNumberSequenceCode(), documentumOS_2);

  • dark_knight Profile Picture
    942 on at

    Many thanks!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans