Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Error Posting Data to Business Central API: 'Number does not exist on MAV.PurchaseOrder

(1) ShareShare
ReportReport
Posted on by 21

I am integrating an external system that  create purchase orders and receipts in Business Central. i need to provide API details . While I can retrieve data using exposed web services, I encounter an error when posting data: "Number does not exist on type 'MAV.PurchaseOrder'".

So I am using the standard Business Central API: https://api.businesscentral.dynamics.com/v2.0/tenant{id}/Dev-Sandbox/api/v2.0/companies(company){id}/purchaseOrders.

  • GET request: Returns the error mentioned below
  • POST request: Successfully creates purchase orders.

Any ideas on how to resolve this issue?

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 6,868 Moderator on at
    Error Posting Data to Business Central API: 'Number does not exist on MAV.PurchaseOrder
    Check vendor posting group. It seems there is no value in group.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,182 Super User 2024 Season 2 on at
    Error Posting Data to Business Central API: 'Number does not exist on MAV.PurchaseOrder
    From the error message, please check the Vendor Posting Group.
     
    Thanks.
    ZHU

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,897 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,573 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans