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

How to create new number sequence for new company? - Ax 2012

(0) ShareShare
ReportReport
Posted on by 178

Hi Experts,

I have question regarding on number sequence.

5148.Capture.JPG

In the image above shows the number sequence in four(4) different companies

We create that  sequence a couple of months ago using this tutorial NumberSquence.

Now this month we add new company as shown the highlighted in the image above.

I thought it will create new one if i run the again the Jobs, but its not.

Can you help us on how will i do this?

Thank you in advance. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    Did you try to run generate wizard again ? But for 1 number sequence would be easier just manually add it. Also your number sequence looks strange you have only 3 numbers, so you limited your self to 999 records.

  • Anton Venter Profile Picture
    20,680 Super User 2026 Season 1 on at

    Which jobs? Can you post them on the forum? Maybe they are company specific.

  • JEMT Profile Picture
    178 on at

    Hi ievgen,

    Tnx for the reply.

    Yes i try to run the generate wizards and it not showing there.

    Its just a reason code and we minimize that, therefore we set only 999

  • JEMT Profile Picture
    178 on at
    Here is my CLASS.

    class NumberSeqModuleDRRep extends NumberSeqApplicationModule { } protected void loadModule() { NumberSeqDatatype datatype = NumberSeqDatatype::construct(); // Setup Salesorder numbers datatype.parmDatatypeId(extendedTypeNum(DRRepNumSeq)); datatype.parmReferenceLabel(literalStr("DRRep")); datatype.parmReferenceHelp(literalStr("Unique code for DR Reprint Setup")); datatype.parmWizardIsContinuous(true); datatype.parmWizardIsManual(NoYes::No); datatype.parmWizardIsChangeDownAllowed(NoYes::No); datatype.parmWizardIsChangeUpAllowed(NoYes::No); datatype.parmWizardHighest(999); datatype.parmSortField(1); datatype.addParameterType(NumberSeqParameterType::DataArea, true, false); this.create(datatype); } public NumberSeqModule numberSeqModule() { return NumberSeqModule::Reason; }

    and this is the jobs. 

    static void DRReasonNumSequence(Args _args)
    {
        NumberSeqModuleDRRep numSeqMod = new NumberSeqModuleDRRep();
        numSeqMod.load();
    }
  • Mea_ Profile Picture
    60,286 on at

    Did you run wizard/job in new company?

  • JEMT Profile Picture
    178 on at

    Yes.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans