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)

Option Labels

(0) ShareShare
ReportReport
Posted on by 55

Hello,

I'm an application developer from Singapore and I'm now working on some integration program that needs me to retrieve the option field labels from Navision. There's a field in main table but there are only integer values in it. I don't want to hard code the option labels.Can anyone help me with this?

 Regards,

Nay Min

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    does this help?

    http://www.mibuso.com/forum/viewtopic.php?f=23&t=8343

  • Nay Min Lwin Profile Picture
    55 on at

     Yes, it does help.

     So the option Labels are not stored in tables and there's no other way but to hard code it. If there's any way to retrieve it, please let me know too, thanks.

     Thanks a lot.

  • Community Member Profile Picture
    on at

    Hi Nay Min,

    The only way I know is through C/AL code so it looks like you will need to hard code this.  This is not so bad as the option string cannot be changed by an end-user and is normally done by developers.

  • Alex Chow Profile Picture
    4,481 on at

    An option field is fixed. Regardless of what's it's called, you would need to hardcode what the options values are in whatever language you use.

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