Skip to main content

Notifications

Announcements

No record found.

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

Auto create customer/item via API

Posted on by 2
I'm soon going to develop some code to send Sales invoices over to my BC account.
Before I start testing for existing customers and items, is there a setting somewhere to allow BC to auto create non existing customers and items in a sales invoice?
Categories:
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    Auto create customer/item via API
    Hi,
     
    There is a way to auto create item in Sales document but via API it will not be possible as there is popup for that feature in client.
     
    You can create custom API Endpoint and write your logic to check item / customer exist or not. If does not exist, you can create new item / customer using custom API.
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Auto create customer/item via API
    Unfortunately, Sales Invoice is not available.
    For items, you can use Catalog Items on Sales Quote and Sales Order.
     
    For Customers, you can create Sales Quotes from Contacts without creating a Customer.
    Or
     
    Hope this helps.
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans