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 :
Microsoft Dynamics AX (Archived)

Get Item Name on SalesQuickQuot

(0) ShareShare
ReportReport
Posted on by 385

 Dear All

I want  to get Item Name on SalesQuickQuot Form,

SalesQuickQuot Form   Datasource have inventTable_DS and inventTable2_DS 

Name Alias field is exist in inventTable_DS , inventTable2_DS 

when I set Name Alias field from inventTable_DS then Search Name show  Unretrieved 

and when I set Name Alias field from inventTable2_DS then Search Name show  wrong searchName

and also I tried All ItemName Method butt Item Name did not show

 

*This post is locked for comments

  • Suggested answer
    Divya Lakshmi Profile Picture
    745 on at

    Hi,

     Kindly create a display method in form level itself and check.

  • Azam Profile Picture
    385 on at

    I have tried display method in form level butt did not show item name

  • André Arnaud de Calavon Profile Picture
    307,271 Super User 2026 Season 2 on at

    Hi Muhammad,

    Can you tell the steps you did to include the display method? Then we can suggest what you could have done wrong. A display method should work. Did you set the correct datasource on the control properties?

  • Azam Profile Picture
    385 on at

    Form>DataSoce(InventTable)>Method>NewMethod>DisplayMethod(ItemName)

    Display Name ItemName()
    {

    EcoResProductTranslation ecoResProductTranslation;
    select Name from ecoResProductTranslation

    where inventtable.Product==ecoResProductTranslation.Product;


    return ecoResProductTranslation.Name;
    }

    Design>Tab>ExistingItemTab>AddEditString>Property>DataSource=InventTable and DataMehod=ItemName

  • Divya Lakshmi Profile Picture
    745 on at

    Hi,

    Please share code and screenshot.

    Regards,

    Divya Lakshmi.J

  • Azam Profile Picture
    385 on at

    Display Name ItemName()
    {

    EcoResProductTranslation ecoResProductTranslation;
    select Name from ecoResProductTranslation

    where inventtable.Product==ecoResProductTranslation.Product;

    return ecoResProductTranslation.Name;

    }
    }4212.2.png4212.2.png2654.3.png

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 2 on at

    who asked you to create a new method for displaying  itemName?

    and see your method? where is LangaugeI...??? AX is multi-language system and EcoResProductTranslation has been designed to accommodate that.

    Fix your method or use existing method from InventTable

    if you want to do testing of your method just write below line and you will get data

    Return "Testing Name";

  • Suggested answer
    Divya Lakshmi Profile Picture
    745 on at

    Hi,

    Your Display is wrong. You have to pass LanguageId also to retrieve respective Itemname in AX2012...

    Pass suitable parameters and use base methods.U can use method from Inventtable.

    Regards,

    Divya Lakshmi.J

  • Azam Profile Picture
    385 on at

    I have Tried all inventTable method (ItemName, defaultProductName, name ) but Name did not show

  • Verified answer
    Divya Lakshmi Profile Picture
    745 on at

    Hi,

    Try this out!

    ItemName-code.PNG

    ItemName-code.PNGDesignLevel.PNG

    Verify if it works....

    Regards,

    Divya Lakshmi.J

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans