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

How would I update the bin on a purchase order line in Business Central from an API?

(0) ShareShare
ReportReport
Posted on by 12
It was suggested here that the Business Central APIs do not expose the bins on Purchase Order Lines, but that I could make a custom API to store and get bins. However, I still need to be able to update the bin on a purchase order during the receiving process somehow. Is this even currently possible?



Alternatively, we decided an inventory/bin transfer for the item might also work, which I've found some solutions such as creating a codeunit or something else custom. I was just wondering if there was a built-in away to do this programmatically/via an API call. If not, what is the simplest way to implement that?
 
Lastly, and slightly unrelated, but I can use the /receiveAndInvoice API call, which seems to work. However, we want to know if there is a way to only receive via an API call. I haven't been able to find anything on this other than the possibility of creating a custom API to only receive. However, I have no idea where to start on any of the custom stuff in AL. I'm willing to learn, but don't know what will work, what the best solution, or what needs to be called to perform just a receive operation (or the rest of the functionality that apparently has to be custom). There's not much information out there and Copilot doesn't seem to know what calls exist and which don't. Any help would be greatly appreciated.
 
Thank you!
I have the same question (0)

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 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans