Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Create group enabled NumberSequence

Posted on by 2,983

I'm trying to create a new numbersequence for the customer module, so I modified the NumberSeqModuleCustomer.loadModule() Method and add:

datatype.parmDatatypeId(extendedTypeNum(MyNewID));
datatype.parmReferenceHelp(literalStr("@ABC94"));
datatype.parmWizardIsContinuous(true);
datatype.parmWizardIsManual(NoYes::No);
datatype.parmWizardIsChangeDownAllowed(NoYes::No);
datatype.parmWizardIsChangeUpAllowed(NoYes::No);
datatype.parmWizardHighest(999999);
datatype.parmIsGroupEnabled(NoYes::Yes);
datatype.parmSortField(52);

datatype.addParameterType(NumberSeqParameterType::DataArea, true, false);
this.create(datatype);

Now for this new number sequence to show up, I run this job:

NumberSeqModuleCustomer clase = new NumberSeqModuleCustomer();
;
clase.load();
NumberSeqApplicationModule::loadall();


So far so good, the numbersequence shows up in my customer module settings page. The problem is that altough I defined parmIsGroupEnabled(NoYes::Yes), when I go to the NumberSequenceGroup form, I don't have my new number sequence.

How do I enable my new number sequence in the NumberSequenceGroup form?

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans