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)

Display Product Name in a Item Id Lookup

(0) ShareShare
ReportReport
Posted on by 197

Hi Everyone,

 I have requirement to display the Product Name in Item Id lookup. I have tired by adding EcoResProductTranslation datasource field is showing as Item Type instead of Product Name and also used defaultProductName(),ProductName()

Can anyone please tell me to display the Product Name

Regards,

Swetha

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    You need to add datasource EcoResProductTranslation to your query(if you already have EcoResProduct) and use field DisplayProductNumber of table EcoResProduct through following relations.

    Relations:

    InventTable.Product == EcoResProduct.RecId

    EcoResProductTranslation.Product == EcoResProduct.RecId

    If language is not EN-US, then you have to combine LanguageTable to EcoResProductTranslation through relation EcoResProductTranslation.LanguageId == LanguageTable.LanguageId and use field Name of table EcoResProductTranslation.

    X++ Code: EcoResProduct::find(this.DistinctProductVariant).productName(_languageId);

    Hope this helps you.

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans