Dears,
Please note that I need to add the item name next to the item code(item relation) in the grid of the accounts receivables price/discount agreement journal lines form in AX 2012 R3
anyone can help?
Regards
ER
*This post is locked for comments
Dears,
I used this code and linked it to the form as per the below screenshot but the return is not working properly. can anyone help?
Display Name GetItemMethod()
{
EcoResProduct Product;
EcoResProductTranslation ProductN;
Select Name from ProductN
where Product.recid==ProductN.product;
return ProductN.Name;
}
Hello ER,
The modification (display method) that Rohin and Suresh mentioned will help you identifying the name but won't allow you to sort or filter.
If this is enough for you then go ahead and ask a developer to implement this in a demo/test environment so that you can have a look at it.
Best regards,
Ludwig
Hi Elie,
Please write a display method for Itemname, refer Salesline Table > Methods > Itemname(). The same way try writing the display method to get the item name in your required form.
Hi Eile,
adding display method for ItemName will do your job but remember it won't allow you to make filter on ItemName. You'll get plenty of examples for how to add display methods in D365FO on internet with quick search.
Thank you Ludwig for your reply. the user memorized the item name instead of the item code, also the search name field is used for another purpose. is there any link that may help in doing this customization?
Regards,
ER
Hello ER,
This cannot be achieved by a personalization but requires a customization.
Before making this personalization, I would question the requirement / added value of such a customization because you can see the search name of the item in the item relation drop down.
Best regards,
Ludwig
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156