web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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?
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,874 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans