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 :
Microsoft Dynamics AX (Archived)

Get Next Number Sequence in Form

(0) ShareShare
ReportReport
Posted on by

I followed this tutorial particularly on NumberSeqFormHandler, unfortunately, everytime I open my form, or save the current record, it does not get the next sequence number; it is always set to XXXX-0001. How to get the next sequence number? Is it possible to get the next sequence number using NumberSeqFormHandler? Thank you in advance.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Yes, using NumberSeqFormHandler is the right approach. Unfortunately I don't know what's wrong with your implementation.

  • Sreedhar V Profile Picture
    20 on at

    Yes, NumberSeqFormHandler is perfect approach. But you also have to write some form level methods and Form DataSource Methods.

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    In the tutorial you mentioned, please check the steps of numberseqFormHandler implementation on close method of form and datasource methods create, write, validatewrite & delete(i.e from steps 20 to 24) as I feel some setup is missing here that is causing the issue.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans