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 :
Small and medium business | Business Central, N...
Suggested Answer

Shortcut dimension 3 code field

(0) ShareShare
ReportReport
Posted on by 2,116

Hi All,

I have set up the 'shortcut dimension 3' as an Employee in the General ledger Setup. I am facing something weird.

when I tried to add the field using the AL code it will populate only the field as text. but the same field I tried to add using Design or personalize will populate as expected with the drop-down of employee master. you can see the below screen prints for the same:

pastedimage1672898387557v1.png

pastedimage1672898553796v2.png

>> below is from with the help of Design:

pastedimage1672898746667v3.png

I need to do using AL code, can anyone give me the solution? what I have missing here?

Thank you.

I have the same question (0)
  • Suggested answer
    Inkey Solutions Profile Picture
    2,116 on at

    Hi All,

    I have solved this problem by copying field from General Journal page.

    But One More Query is: why are the highlighted lines we should keep at the last statement in the code? please see the below screen print.

    pastedimage1672983357786v3.png

    When I set this lines at the last statement then it will work as expected otherwise not.

    But what is the reason? 

    Thank you.

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    www.dynamicsuser.net/.../14

    I will open this up to the community in case they have something to add.

    Thanks.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,957 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 956 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 645 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans