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

posting assembly order ... from API?

(0) ShareShare
ReportReport
Posted on by 350

we use assembly orders for our production (but might be willing to switch to the production module)



is there a way, to post assembled items from assembly orders, via API? (one for one, including a serial number)

I want to avoid having to use the browser user interface for this, and rather call an API when a unit is ready.

Example:

We have a sub-assembly on our workshop, where an item is assembled and given a serial number (SNALL).
The last step in the assembly process is an automated test.
The testing machine is a custom built software and UI, that we have already given our assembly order number from Business central, and that generates the serial number for the assembled item.

If the test is successful, the testing software should automatically call Business Central, insert the item tracking and and post one item from the given assembly order.

i would be happy if someone could point me to documentation on how to approach this.

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: posting assembly order ... from API?

    A recommendation on approach can be seen here: www.kauffmann.nl/.../

    This way you can devise the logic as you need. I used a slightly different approach for another scenario which could work for you when you add all the other required code: joshanglesea.wordpress.com/.../

    There are standard functions you can call in the BC base app for posting and adding serial numbers. I would get familiar with the codeunits that undertake this process so you can define what parameters are needed to complete the actions you need.

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 311 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 242

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 201 Most Valuable Professional

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans