Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

create salesorderdetail using plugin crm 365

Posted on by 62

hello everyone

I want to insert a new record in salesorderdetail table using plugin 

I am copying from quotedatail to salesorderdetail and when it achieves to 'service.create()' I have this error:

salesorderdetail with id ... does not exists.

can anyone help me please???

  • Maryam_m Profile Picture
    Maryam_m 62 on at
    RE: create salesorderdetail using plugin crm 365

    Well I solved this problem  it was about a lookup field that referenced to salesorderdetail and my code was assigning that by an id of a product record

    so I was checking the types of the fields and I discovered this.

  • Suggested answer
    RayBennett Profile Picture
    RayBennett on at
    RE: create salesorderdetail using plugin crm 365

    Hi, this forum is for Dynamics 365 Intelligent Order Management, so I am assuming that is what you are using. If that is the case, you should be using the Child Flow to create a Sales Order learn.microsoft.com/.../developer-flows

    Thanks

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,302 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans