web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,100

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,100 on at
    RE: Shortcut dimension 3 code field

    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
    on at
    RE: Shortcut dimension 3 code field

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,179

#2
OussamaSabbouh Profile Picture

OussamaSabbouh 1,999

#3
YUN ZHU Profile Picture

YUN ZHU 1,892 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans