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;   ...

Uninstall/Delete Model- D365 FO


Uninstall/Delete Model- D365 FO
Steps to uninstall/Delete a model which was deployed through LCS,
1.       Stop World wide publishing service , Microsoft Dynamics Batch and Microsoft DIXF services.
2.      Remove all the dependencies from the model which is going to be deleted.
3.      Delete the model folder from AOS Service-> Packages Local Directory
4.      Full build the models followed by full Sync.
5.      Now if you check in Application explorer,  the new model will not be visible .
This steps does not need to generate package to incorporate the model delete changes across other environments.

Comments

Popular posts from this blog

Passing Args from one Form to another Form in dynamics AX

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

Create and Post Inventory Adjustment Journal in AX / D365 FO via X++