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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Number Sequence not working

(0) ShareShare
ReportReport
Posted on by 30

I have created number sequence in axapta 2012,But it is not working.And there is no error in code or any anywhere.So please tell me why not working.

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Stefan Hofmaninger Profile Picture
    520 on at
    RE: Number Sequence not working

    Hi Amolak,

    have you assigned your new number sequence to the module in which you want to use it? Normally you have to do this in the setup of the module.

    Regards

    Stefan

  • André Arnaud de Calavon Profile Picture
    299,407 Super User 2025 Season 2 on at
    RE: Number Sequence not working

    Hi Amolak,

    Please specify where you did use this number sequence. It is used on standard AX features or on a customization? Was it set to use continuous number sequences? Is the number sequence manual?

    If something is not working, please tell the current behavior. Aren't you getting a new number or is the number not released when you have setup to have this number sequence continuous?

  • Suggested answer
    Luan Nguyen Profile Picture
    689 on at
    RE: Number Sequence not working

    After you create NS, can you plz test it first ?

    static void number(Args _args)
    {
        NumberSeq  numberSeq;
        YourETD num;
        ;
        numberSeq = NumberSeq::newGetNum(ModuleParameters::numRefYourETD());
        num = numberSeq.num();
        info(num);
    }

    Thanks,

    Max

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Number Sequence not working

    To create new number sequence you have to follow a procedure, by mistake if you skip any of the step or method your number sequence won't work. So Please make sure you haven't done any mistake either at configuration level or coding level. There are several blogs available which you can follow. I'm sharing a link of one of them.

    gautamax.blogspot.in/.../how-to-create-number-sequence-in-ax.html

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Number Sequence not working

    Hi AMOLAK,

    Write code in form level data source which u want the number squence
      MAK_WorkerTrasfer.TransferEmployeeCode = NumberSeq::newGetNum(HRMParameters::numRefYMEPermentEDT(),true).num();
    try this it may work. 
    Thanks,
  • AMOLAK Profile Picture
    30 on at
    RE: Number Sequence not working

    I have used NumberSeqModuleHRM Class And used HRMParameter table.Number Sequence created for Human Resource module.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Number Sequence not working

    Hi Amolak,

    Please follow my blog, it may use full for you.

    http://axsuresh.blogspot.in/2016/03/number-sequence-creation-in-2012.html

    Thanks,

  • André Arnaud de Calavon Profile Picture
    299,407 Super User 2025 Season 2 on at
    RE: Number Sequence not working

    Hi Amolak,

    You haven't answered all my questions. For now I cannot give any new suggestion.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans