Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

View details (jumpRef) error in General journal

(0) ShareShare
ReportReport

When using the "View details" option from a Segmented Entry control (e.g. Account field) in a posted General journal, the jumpRef method sometimes return an "Unable to return DimensionAttributeValue record for ..." error.

jumpRefError.png

The error can be reproduced using the following steps:

1) Post two customer transactions residing in different companies, from a General journal, like shown in the picture

2) Leave the posted GJ

3) Re-enter the posted GJ.

4) Use View details from the first transaction's Account field

5) Use View details from the second transaction's Account field

It seems, that the ledger dimension variable (lastUserInput) in the Segmented Entry control's backend is only updated the first time we activate "View details". The second time, the system attempts to jump to the right company, but the wrong account number, resulting in the error.

Below is the code, updating the "lastUserInput" variable, which is only called once.

lastUserInput_5F00_l833.png

*This post is locked for comments

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans