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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Create delivery schedule lines for sales order through code in D365 for Finance and Operations

(0) ShareShare
ReportReport
Posted on by 239
We have requirement to generate multiple delivery schedule lines from current sales order line through code. The total quantity on sales order is 10 and we need to split based on some condition. (i.e. 3 lines with 3,3,4 qty)
 
Tried to use the standard code and passed required parameters but it is generating only single line. Below is the standard code which has been used.
 
SalesTableForm_DeliverySchedule::closeOkServer(originalLine, deliveryLinesList.pack(), DlvScheduleMarkupConversionMode::Copy);
 
originalLine > Original sales order line 
deliveryLineList.pack() > List which will contain all the 3 sales order lines with required data.
 
Please suggest.
I have the same question (0)

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans