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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

create item according to number sequance of itemgroup in D365 Fo

(0) ShareShare
ReportReport
Posted on by 30

hello everyone ,

i need to create new item which depend on creating itemgroup  Number seq ,

for example , i have Itemgroup (PP,CC,...etc) when open new released product form , 

i have to choose first the itemgroup , then make clicked button to generate new item sequenced according to itemgroup ,

let me suppose that  i choose (PP ) so after click "on my customized button"  it created item with name (PP_0001) next time will be (PP_0002 )..etc ,

#D365 #x++

could anyone help ? Regards. 

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    First question is: why do you want to duplicate the item group id in the item id?

    Anyway, you can definetely develop a customization where you can set up different number sequences for each item group. But it's not available out of the box.

    The standard system has a quite recent functionality where you can have different customer account number sequences for different customizations. You can check it and use it as inspiration.

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at
  • huijij Profile Picture
    19,811 on at

    HI,

    You can extend the create number sequence method in x++ and add some logic in your table ,

    When the condition is (PP,CC,...etc), the value of numbersequence is the specified list such as (PP_0002 )..etc.

  • AR-01121610-0 Profile Picture
    4,971 Moderator on at

    Hy Mostafa,

    from a business perspective you should clarify what is the business value of this and how much is the real $-value for such a customization.

    There are as much options to differnciate items, item group is almost available at all processes and reports. 

    If you need it displayed or for navigation It would be also o non customization option to create additional product category hierarchy (same as itemgroups) and assign the items (which is also duplicated data).

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans