
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.
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.