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 NAV (Archived)

Unable to show the option fields name description in line details page.

(0) ShareShare
ReportReport
Posted on by 1,893

Dear Experts,
I have make a page the name is "Sales Line Details". I have shown some required fields form sales line and sales headers. In sales header have a optin fields the name is "MKU Order Type".in database saving 0,1,2,3 like this. How can I show the name in this page "Sales Line Details"
i have tried from my side....make a boolean fields in global vairables. And added the code like. When I run the page, in mku order type fields value showing integer no. 0,1,2 etc.
How can i show the name there.

OnAfterGetRecord()
//MKY Begin
IF recSalesHrd.GET("Document Type","Document No.") THEN BEGIN
dtOrderDate := recSalesHrd."Order Date";
dtPostingDate := recSalesHrd."Posting Date";
txtCustomerName := recSalesHrd."Sell-to Customer Name";
CurrencyFactor:=recSalesHrd."Currency Factor";
MKUOrderType:=recSalesHrd."MKU Order Type";

IF "Currency Code"<>'' THEN
lineamountlcy:="Line Amount"/CurrencyFactor;

END;
//MKY End

0474.test01.png

3021.test02.png

5556.test03.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    what options do you have under MKUOrderType variable?

  • Verified answer
    Rafael B. Profile Picture
    715 on at

    Hi @MKY,

    As a quick way, I would advise you to add option string (copied from sales header) to appropriate field os SalesLine Detail page.

  • manish.yadav Profile Picture
    1,893 on at

    Thank you, it is very helpful. Now, my query is resolved.

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans