Dynamics 365 Business Central: Empty Posted Sales Invoice with only one comment “Document created to avoid gap in No. Series”? Why?

I was asked a very interesting question last week that I would like to share with you in this post. Why are there empty Posted Sales Invoices with only one comment “Document created to avoid gap in No. Series” in Business Central?

Source : Dynamics 365 Lab
Read more…

Dynamics 365 Business Central: How to retain/keep the sales quote after converting to an order or invoice (Customization)

Last week I saw an interesting question on the D365 forum, the user wants to retain the sales quote after it has been converted to a sales order.

As you might know, you create a sales quote to record your offer to a customer or a prospect to sell certain products on certain delivery and payment terms.

Source : Dynamics 365 Lab
Read more…

Sales APIs returns error in a read-only request

Apparently, the PowerBI connector is adding the header Data-Access-Intent: ReadOnly to requests when loading data from Business Central. While this is a good practice in general for GET requests, you may run into an error message with the sales APIs. This applies to salesQuotes, salesOrders and salesInvoices.

Source : Kauffmann @ Dynamics 365 Business Central
Read more…

How to attach from a zip file to a Sales Order in Business Central

Hello, I want to share a little code that allows you to import multiple files in a .zip and attach them to a “Sales Order“.

This process could easily be adjusted to any Business Central list that can upload attachments. (In case the list page doesn’t have them, you would have to first create a little customization before using this code).

If we go to the page code “page 1174 “Document Attachment Factbox” we can check which master tables we could attach files to.

Source : Ivan Singleton
Read more…