
Hello,
I'm doing an integration using the Dynamics 365 Business Central API v2.0 and wanted to know how can I set the Package Tracking No. under sales order using the API 2.0?
I have checked the API documentation and was not able to find any way to set it.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/endpoints-apis-for-dynamics
Any help will be highly appreciated.
Thank you.
Hello,
I think this will not be easy. Item tracking is done on a related table, so you would have to somehow repeat the logic there, and how would the API call know what Tracking / Lot No. is available. Or is it the API that decides the tracking No. In any case, I would try to automate it in .al code first, to check what logic is needed. And then see if there is a way to call that from API. You would need some development, I think, so also worth seeing if others here on the forum have done something similar before.
You can suggest new API functionality on github.com/.../ALAppExtensions. or Application Ideas on https://aka.ms/BCIdeas , and MS will consider making it available in the future. Until then, I think it will take "a bit" of development to achieve this.
Sorry for not being better help here, I hope others may add their thoughts.