Microsoft_MVP_banner

Read excel through X++ in D365FO

Sample code to read an excel file, all it need file stream as a parameter. public boolean importFromExcelfiles(System.IO.Stream _stream) {    OfficeOpenXml.ExcelWorksheet        worksheet;    OfficeOpenXml.ExcelRange            cells;    OfficeOpenXml.ExcelPackage          package = new

Read More »

AX 2012 : Remove an XML node through X++

Following code snippet may help you to remove an XML node from an XML message string. private str removeXMLTag(str xml) {     XmlDocument         doc = new XmlDocument();     XmlElement          nodeScript;    

Read More »

AX 2012: Reading XML Nodes through X++

XML to read X++ Code XmlDocument     doc; XmlNodeList     xmlScriptList; XmlNodeList     xmlResponseList; XmlNodeList     xmlTemplateList; XmlElement      nodeScript; XmlElement      nodeResponse; XmlElement      nodeTemplate; XMLParseError   xmlError; str xmlMsg; int i, j;     ;     // Create

Read More »

FaisalFareed@2025. All rights reserved

Design by T3chDesigns