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)

Changing a number sequence to shared?

(0) ShareShare
ReportReport
Posted on by

Hi all,

I had created a new number sequence in the Warehouse management module. I created it as a per legal entity number sequence by adding this line,

dataType.addParameterType(NumberSeqParameterType::DataArea, true, false);

Now I want to make this number sequence a shared one. I removed the above line and ran the following job to load the number sequence 

new WhsNumberSeqModuleWHS().load();

In the NumberSequenceDataType table, I still see the scope of my datatype as 1 which means it is still per legal entity instead of share.

Is there anyway I can change it to share without deleting data from the tables?

*This post is locked for comments

I have the same question (0)
  • Fredrik Sætre Profile Picture
    12,644 on at

    Shooting blindly here, but are you just changing the number sequence from a single company to a shared sequence? Why not just change it pr. company in the number sequence setup? I would believe you have a parameter for setting up the number sequence somewhere...

    1. Create a new shared number sequence

    2. Go in to each company and change the parameters for the assigned number sequence you want to change...

    Nothing is deleted... Just gets a new value next time a record is created from the new shared sequence...

    However... Are you thinking about changing a context of table from pr legal entity to a global table... You will be faced with some issues. Ia that what you're trying to achieve?

  • Community Member Profile Picture
    on at

    Hi Fredrik,

    A new shared number sequence cannot be created like that and assigned. A shared number sequence will not appear in the parameter form's number sequence tab. We have to assign it from the reference tab in the number sequence form itself.

  • Suggested answer
    Nishant2408 Profile Picture
    705 on at

    Hi Zubair,

    After removing the DataArea code from the respective Number Sequence Class, please delete the records created for your new number sequence in the following tables.

    1) NumberSequenceDataType

    2) NumberSequenceReference

    Then run the job to load your new number sequence.

    Hope this will work!

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans