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

ShortcutDimCode3 gets erased:

(0) ShareShare
ReportReport
Posted on by 2,122

Hi All,

When I transfer entries from the bank reconciliation to the general journal page, the page gets ShortCutDimCode3 [Employee code] as expected, but when I try to update any of the fields of any particular line on the general journal page, ShortCutDimCode3 field value gets erased. 

With the below code's help, I have transferred the data to the general journal line.
pastedimage1673519219242v1.png
Anyone has a solution to save a ShortCutDimCode3 field value?
Thank you.
  • HVGEEL Profile Picture
    310 on at

    Hi,

    what is the behaviour you are expecting from the validation of ShortCutDim 3?

    If you would like to preserve whatever you are carrying over from another journal, it seems legit to leave the field untouched by code.

    Furthermore, there are some other validates in your code (Account Type and Nr) they might just overwrite whatever is in ShortCut3.

  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    hello try putting validateshortcutdim3 in the onafterinsetgenjnllineinsert

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Have you tried to debug the complete process. You might have some other code that is executed at a later stage that clear some dimension values.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 711 Super User 2026 Season 2

#2
Teagen Boll Profile Picture

Teagen Boll 377 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 367 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans