Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Update Sales Quote or Blanket Sales Order when linked Sales Order is created via the API

(1) ShareShare
ReportReport
Posted on by 140
Hello,
 
We are creating Sales Orders via the API from our website however we wish to link these orders to Sales Quotes or Blanket Sales Orders. 
 
For Sales Quotes we can include the SQ no in the header payload when creating the Sales Order however it doesn't then update the Sales Quote like it does if you convert the quote in the BC interface.
 
For Blanket Sales Orders, we can include the BSO no in the lines payload when creating the Sales Order, however this also doesn't update the BSO when items are shipped. See example below:
 
Any suggestions on how to do this please? 
 
 
  • Suggested answer
    Yi Yong Profile Picture
    Yi Yong 1,859 Super User 2025 Season 1 on at
    Update Sales Quote or Blanket Sales Order when linked Sales Order is created via the API
    Hello GazzR,
     
    The standard behaviour of a Sales Quote when converted to a Sales Order using 'Make Order' is that the Sales Quote will be deleted.
    You may want to look into the codeunit of this function and run it.
     
    The payload should include the 'Blanket Order Line No.' as well.
    Both 'Blanket Order No.' and 'Blanket Order Line No.' should be validated instead of assigned.
     

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,329 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans