Imoprting Excel File in D365 Finance and Operations using X++

Hi, May I ask how to Import Excel file in D365 Finance and Operation using X++, currently I am using a standard/builtin format in a resources at AOT.

Kindly see below screenshot of my template for your reference. Assume that there are datas inside those fields.

Hi,

You can use data entities in D365 Data management to import values in tables such as sales Quotation table (SalesQuotationTable) and Quotation lines (SalesQuotationLine). Microsoft D365 FinOps already comes with data entities for each key document (Sales order, quotations etc).

Just search for data management or navigate to System Administrator>>WorkSpaces>>Data Management. There you will find among other options the tile for Data entitites.

For how to steps to create a custom data entity or use an existing one, watch: How to create Data Entities in Microsoft dynamics 365 Finance & Operations | Nowledge | Microsoft - YouTube

Also go through Data entities overview - Finance & Operations | Dynamics 365 | Microsoft Docs

Hi Sam,

Considering the design of the excel, it is suggested to use custom code for importing excel file into D365D&O. This will provide with a better result than data entities. Else, you will have to modify the format similar to the format provided by data entities.

However, when using custom functionality to import, you should note that you will have to write your own code to perform validations, keep track of history & handle any errors.