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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

How to perform existing code twice?

(0) ShareShare
ReportReport
Posted on by 450

When selecting "create warehouse shipment" i want to make so that the code is performed twice. Inside of that code i made adjustments that will have a difference between the 2 warehouse shipments but i need to make sure it creates 2 of them.

In what way can i do this?

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    You have to apply that logic by grouping or applying the filter on those lines and passing it to the warehouse shipment process.

    For ex: you might want to create the shipment based on the location code group, you pass that filter to the process to create a shipment for that location code and then loop it and send another request to create another shipment based on other location code.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,713 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,032 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 914 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans