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 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
    61,184 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans