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 :
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,160 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,967 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

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

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans