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

Create record on multi tables on data entity through odata with postman

(0) ShareShare
ReportReport
Posted on by 21
Hello folks

I am using Postman to create records in D365 via Odata
is it possible to create a record on two different tables at the same time through one odata call

PS
its not working that way (post method)
 
  {
//Table#1 fields

            /Worker/: 22565420973,
            /Encashment/: /No/,
            /FromDate/: /2024-03-10T12:00:00Z/,
            /Currency/: /USD/,
     
     //Table#2 fields
 
            /PayLeaveWithSalary/: /No/,
            /VisaRequired/: /Yes/,
            /LeaveId/: /MariageLeave/,
            /ToDate/: /2024-03-11T12:00:00Z/
  }
I handled number sequence on methods but it still inserts record on the first table only.
any suggestions on how to achieve that?
  • Verified answer
    Martin Dráb Profile Picture
    240,862 Most Valuable Professional on at
    Do you mean that you have a custom data entity with two joined data sources? If so, it's possible. Unfortunately we can't identify the bug in your entity without any information about it.
     
    Review the join condition, make sure that the other datasource isn't read-only etc. Check if you're getting correct data in staging. Then you can debug your entity. If the key of the other entity is the number you generate from a number sequence, this is likely a place to pay extra attention to.

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 August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 528 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 424 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 374

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans