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

Community site session details

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

Release Order after Sales Order API Post with multiple Lines.

(0) ShareShare
ReportReport
Posted on by 11
I am facing issues finding a right way to release an order with multiple lines, after it is created via an API post method. In this specific case, once an order is released a Picklist is created for all items in the Sales Order. 
 
Triggers tried:
Sales Order Entity.OnInsertRecord - no lines are created
 
Sales Order Line Entity.OnInsertRecord - only for first line a picklist is created.
 
Is there a trigger/event I can hook to after all lines have been imported?
 
Appreciate your insight. 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    90,070 Super User 2025 Season 2 on at
    Release Order after Sales Order API Post with multiple Lines.
    Hi, it seems like you are using Page's trigger.
    You can try the trigger on the table, this should be no problem
     
    Hope this helps.
    Thanks.
    ZHU

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,678 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,635

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,210

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans