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

API to post purchase order receipt and warehouse shipment

(0) ShareShare
ReportReport
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?

  • Community member Profile Picture
    6 on at
    API to post purchase order receipt and warehouse shipment
    Thanks for the post!
  • Suggested answer
    DAnny3211 Profile Picture
    9,280 Moderator on at
    RE: API to post purchase order receipt and warehouse shipment

    Hi

    sounds like a good approach to me

    DAniele

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans