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.

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: How to perform existing code twice?

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 491 Super User 2025 Season 1

#2
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 358

#3
Mansi Soni Profile Picture

Mansi Soni 327

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans