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 :
Finance | Project Operations, Human Resources, ...
Answered

Inserting Leave Requests using SSIS

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to create leave requests using SSIS.

For each Leave Request, I insert the first day on LeaveRequestV2 table and then add the remaining days on EssLeaveRequestDetail table.

However, I'm getting an error when trying to add the days on the EssLeaveRequestDetail table. In this table, the second day of each request is never inserted.

For example, for a leave request with days 21/10/2020, 22/10/2020 and 23/10/2020:

  • 21/10/2020 -> is inserted on LeaveRequestV2 table 
  • 22/10/2020 -> is not inserted on EssLeaveRequestDetail table
  • 23/10/2020 -> is inserted on EssLeaveRequestDetail table

I'm getting the error: 

Write failed for table row of type 'EssLeaveRequestDetailEntity'. Infolog: Info: Cannot create a record in Leave and absence request detail (LeaveRequestDetail).\nThe record already exists.."
Here are the fields for each record on EssLeaveRequestDetail table:
pastedimage1600677740950v1.png
Anyone knows what is the problem here and how can I fix this?
Best regards,
Ana Alves.
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,625 Super User 2026 Season 1 on at

    Hi Ana,

    Have you tried the same using the Excel add-in or Data Import project? What is the behavior in that case?

  • Verified answer
    Community Member Profile Picture
    on at

    Hi André,

    Everything works when I use the excel.

    On SSIS, I found out that the problem was related to the dates that were being imported. I checked this option (on SSIS - Kingsway Soft Connector) and it works now:

    pastedimage1600724790684v1.png

    Best regards,

    Ana Alves.

  • André Arnaud de Calavon Profile Picture
    304,625 Super User 2026 Season 1 on at

    Hi Ana,

    I never used KingwaySoft myself. Glad that there is a parameter which solves this. I have marked your reply to get the status of this this question to 'Answered'.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 609 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 561

#3
CP04-islander Profile Picture

CP04-islander 383

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans