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)

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

I have the same question (0)
  • 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
    301,020 Super User 2025 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,438 User Group Leader 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

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans