web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Add product category look up to custom form using X++

(0) ShareShare
ReportReport
Posted on by 756

Hi,

      I am trying to add product category look up to custom form using X++ in D365, and I follow this link for AX 2012 

Atul's blog on Dynamics 365 for Finance and Operations: Add Sales Category/Procurement Category field on customized form in AX 2012 (axatulblogs.blogspot.com)

and, also I follow this video on YouTube for the same topic 

(113) Product Category Hierarchy Lookup Dynamics 365 for finance and operations, Simple Customization - YouTube

however, I receive the same error 

pastedimage1678283346604v1.png

any solution please.

Many Thanks,

H

I have the same question (0)
  • Hisham Alsayed Profile Picture
    756 on at
    RE: Add product category look up to custom form using X++

    Here the error:

    A Sales category hierarchy must be set up for the system before you can select a category.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Add product category look up to custom form using X++

    Hi Hisham, Do you have Sales category hierarchy setup in this environment

    Also, check this thread 

    community.dynamics.com/.../add-product-category-hierarchy-to-form

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 304

#2
Siv Sagar Profile Picture

Siv Sagar 202 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans