
Another most awaiting Extensibility feature (Chain of Command) is going to come with one of the next platform updates. This enables you to call/use protected members and methods without making
The current user or worker could be retrieved through following code since AX 2012 DirPersonUser::currentWorker() However, In Dynamics 365 for operation this has refactored to; HcmWorkerLookup::currentWorker()
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;
Following code can be used to read files from the specified path. With this example, I am reading a CSV files from a directory. Class declaration class readFilesFromDirectory extends RunBase
Code snippet to create a sales order from an XML file. private void createSOFromFile() { AxdSalesOrder salesOrder; AifEntityKey key; Filename fileName; RecId salesTableRecId; SalesTable
XML to read X++ Code For above XML structure, I will read all nodes exist within each InstructorAPIModel node. The getElementsByTagName() method of XmlDocument class can be used which returns
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
Came across a requirement to attach documents and create notes for a sales order after reading files from directories. Documents can be attached to a sales order manually from the
This post outlines the steps; how to add financial dimensions (segmented control) in a grid in D365O. Let’s assume we are adding new table and form for below explanation; New
Data entity is a new concept comes with D365O release where each entity related data can be accessed from a single view. A data entity is an abstraction from the
Do you have a topic you'd like me to cover or questions you'd like answered? Submit your requests, and you might see your answers featured in an upcoming blog post! You can send me an email at the address below. I look forward to hearing from you and exploring the topics that matter most to you!
Join our subscribers list to get the latest news,
update specials offers and delivered directly in your inbox.