Skip to main content
Business Central forum
Suggested answer

API to post purchase order receipt and warehouse shipment

editSubscribe (0) ShareShare
Posted on by 74

Hi all,

We are building a scanner app to allow us to scan purchase orders and perform work in Business Central.  All of our sales orders have special order POs attached to them.  The objective is to scan a PO number to have the PO received and fulfill the connected sales order.  The scanner app would print a label with some of the sales order details.  The time from scan to print needs to be fast, I don't want employees waiting for Business Central to post documents.  My thoughts are to use a custom Business Central API with Azure Service Bus.  Here is the concept walkthrough

  1. The user scans the purchase order in the app.  The app makes an API call using the PO number.
  2. The API returns the connected sales order data required for printing. (the app sends to print services).
  3. The API inserts a message into the message queue with the purchase order for processing.
  4. A service will process the message to post a purchase order receipt.  
  5. Another message is inserted to a queue to create the warehouse shipment 
  6. A service will process the message to create the warehouse shipment for the sales order.

I am leaning towards the service bus because we will be able to utilize service bus features for retry or dead lettering.  I have seen postings not be 100% reliable.

Does this seem like a good approach?

  • API to post purchase order receipt and warehouse shipment
    Thanks for the post!
  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,180 Super User on at
    RE: API to post purchase order receipt and warehouse shipment


    sounds like a good approach to me


Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans