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 :
Microsoft Dynamics AX (Archived)

The value 'xx' in field 'Leave type' is not found in the related table 'Leave types'

(0) ShareShare
ReportReport
Posted on by

Hi All,

I'm facing crazy issue. When I'm trying to select from lookup Leave type from HcmLeaveTypes table. System popup message:

0361.Capture.JPG

The main point this record exist by that RecId. I tried to create a job with simple:

select LeaveType where leaveType.RecId == 5637146076;

But it is also not finding. Sometimes it's working, sometimes it's not. Sometimes helps to clear cache. Sometimes not.

I don't know where could be an issue... But it is cache issue.

Client and Server versions are the same.

*This post is locked for comments

I have the same question (0)
  • Abbas Ithayathullah Profile Picture
    175 on at
    RE: The value 'xx' in field 'Leave type' is not found in the related table 'Leave types'

    Hi Mantas,

    Could you share the lookup method code from the form or table?

    It will help us to resolve this issue.

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: The value 'xx' in field 'Leave type' is not found in the related table 'Leave types'

    Hi Mantas,

    Are you able to reproduce this in another (standard)environment? If so, there might be a bug. Then you can search on LCS issue search for a possible known issue. Otherwise it might be caused by a customization or incorrect database synchronization.

  • Mantas Vysniauskas Profile Picture
    on at
    RE: The value 'xx' in field 'Leave type' is not found in the related table 'Leave types'

    This issue is not only on lookup. The system is not finding record even from simple job

  • Mantas Vysniauskas Profile Picture
    on at
    RE: The value 'xx' in field 'Leave type' is not found in the related table 'Leave types'

    For now it is just for TEST environment. It's looks like a record lock. But not sure.

  • Abbas Ithayathullah Profile Picture
    175 on at
    RE: The value 'xx' in field 'Leave type' is not found in the related table 'Leave types'

    Hi,

    Recently if you updated any CU, please do application compilation using AXBuild and then Try to synchronize the DB and do full CIL may work.

    Br Abbas

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans