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 :
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,245 Super User 2025 Season 2 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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans