Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Error on create Leave Request - Object reference not set to an instance of an object.

Posted on by 30

Hi,

When I make an leave request, the message: "Object reference not set to an instance of an object.".

All mandatory fields are filled.

Does anyone have an approach to what data is missing? or how can I find out?

Best Regards

Andre

  • Suggested answer
    bogzero Profile Picture
    bogzero 30 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    OK, thank you very much

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    Hi Bogzero,

    In that case, it should be something in this customization and is not related to the standard Human Resources features. You can try to find the culprit. If you need additional help, you can potentially create a question in the Power Apps forum: powerusers.microsoft.com/.../PowerAppsForum1

  • bogzero Profile Picture
    bogzero 30 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    I think it is. I am just beginning to develop in dynamics 365.

    The first customizations was made by an another company.

    screen_5F00_010.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    Hi Bogzero.

    In my environment and according to the documentation, the process for request time off in standard HR is different: docs.microsoft.com/.../hr-employee-self-service-request-time-off

    Can you check if you are having a partner/ISV solution or customization here?

  • bogzero Profile Picture
    bogzero 30 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    Hi André,

    i dont know. Im new in the dynamics world. I go to leave requests and create a new one.

    How can i disable the form?

    screen_5F00_007.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    Hi Andre,

    The form looks like a model driven power app. Aren't you using the 'Request time off' features from Human Resources itself?

  • bogzero Profile Picture
    bogzero 30 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    Hi André,

    the user ist linked to an employee. Here is a screenhot of a request

    screen_5F00_006.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Error on create Leave Request - Object reference not set to an instance of an object.

    Hi André,

    Can you indicate if the user creating the request is also linked to an active worker? Can you share a screenshot of the request with the error?

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans