Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Shortcut dimension 3 code field

Posted on by 1,652

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.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels 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.

  • Suggested answer
    Inkey Solutions Profile Picture
    Inkey Solutions 1,652 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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans