How to Import Records from Excel Using X++ Code in D365FO

  How to Import Records from Excel Using X++ Code in D365FO   Include the below namespace in X++ code it will requires to import Excel. Using System.IO; Using OfficeOpenXml; Using OfficeOpenXml.ExcelPackage; Using OfficeOpenXml.ExcelRange;   In addition to the basic reference, include (Directory and DirectoryUpgrade Packages) X++ Code: Using System.IO; Using OfficeOpenXml; Using OfficeOpenXml.ExcelPackage; Using OfficeOpenXml.ExcelRange; class ReadExcel {   public static void main(Args _args)    {     Int id;     Str Name;      System.IO.Stream stream;       ExcelSpreadsheetName sheet;              FileUploadBuild fileUpload,fileUploadBuild;       DialogGroup dialogUploadGroup;       FormBuildControl formBuildControl;       Dialog dialog=new Dialog("Excel Import using dialog");       dialogUploadGroup=dialog.addGroup("@SYS54759");       formBuildControl=dialog.formBuildDesign().control(dialogUploadGroup.name());    

Document Routing Agent D365FO


Document Routing Agent D365FO




What is Document Routing Agent?


It is an application that enables network printing in Dynamics 365 for Finance and Operations. 

It helps in managing the spooling of documents to network printer devices

Steps to install the Document Routing Agent


Requirement to install Routing Agent are below
·                     Windows server 2012
·                     Window 8


Go to D365 FO  

Organization administration > Setup > Network printers

On the Options tab, in the Application group, click Download document routing agent installer.



Please follow the below screenshot 


After download,  double click to install it.



Close all browser instances that are running the Dynamics 365 Finance and Operations application. 

It helps us to resets the local Azure authentication tokens.


On your desktop, run the Document Routing Agent.

On the toolbar, click Settings.


Add the following settings Like above screenshot:


·Application ID – The ID that is unique to the application and should be entered automatically.
·Finance and Operations URL – The base URL of the Finance and Operations application.
·Azure AD tenant – The domain name of the Azure AD.

After click on SignIn your account for D365 for Authorization.  


Register network printers in Finance and Operations.

1.                     On the toolbar, click Printers.
2.                   Select the printers to make available in the D365 FO applications.



Go to D365 FO  

Organization administration > Setup > Network printers

On the Options tab


Edit the Printer from the list page and make it active


Comments

Popular posts from this blog

D365 FO: REFRESH CALLER FORM DATA SOURCE FROM A CLASS X++

Customize SSRS report using extension in D365FO

CREATE AND POSTING PURCHASE ORDER THROUGH X++ DYNAMICS AX