Skip to main content

Posts

Adding D365 F&O Extension in Visual Studio for development

 Hi Devs! This is a very common scenario when we comes across reinstallation of VS and Now the D365 extension has been vanished so for that below are list of steps needs to be done to enable extension for development. Prerequisites: Visual Studio should be installed before performing below steps.   Step # 1: Login to LCS (Microsoft Dynamics lifecycle services). In the main page after login there is a option of Shared asset library.   Step # 2: In the list of sub menus , Select Software deployment package and search for latest Service update Download it. Step # 3 : Once you have downloaded it. Unzip the folder and search  for  Microsoft.Dynamics.Framework.Tools.Installer in ServiceUpdate\DevToolsService\Scripts Example: Step # 4 : Follow the wizard and install .vsix file for 2019/2017 or any version to enable D365 extension for F&O. Note: You should have VS installed before  performing  above  steps.

Package Deployment in D365 F&O using CMD

  In this blog, I will show how we can deploy package in Dynamics 365 Operations. Prerequisites: LCS login VM Instance The process can be divided in below steps, Step # 1:  Download package and Unzip the package(Don't forget to unblock it before extracting, Right click and check unblock). Step # 2: Rename the VM name from the file in  DefaultTopologyData.xml (VM name could be found on My PC properties). Step # 3: We need to execute below series of command.  Note :  1) The folder in which the package is placed, it should be non user folder and there should be no space within title of the folder (All folders that are in file path) Example : C/User/Download (Will result in error, User folder error) C/Program files/Package (Will result in error, space within path). Series of CMD commands: You should rename the RunbookFile  1) Check the available list of Runbook C:\DP2>AXUpdateInstaller.exe list 2)  C:\DP2>AXUpdateInstaller.exe generate -runbookid="AF...

Find workflow approver user using x++ D365 AX 2012

 Hi Devs! Workflows are very common in Dynamics world. Many clients asks to document details related to workflows and here is one requirement below. Requirement: * Find list of users that approved workflow  Solution: I have written a query that will fetch all users that have approved that workflow and I displayed it on a report's field. For concatenating user you can user : (LedgerJournalTmp table is for Report)   

Form Template in D365 F&O with Examples

 Hi devs! Here are some of the form template with their  menu path. Hope you guys finds these helpful! ListPage : Accounts receivable > Common > Customers > All Customers DetailsFormMaster : Accounts receivable > Common > Customers > All Customers > Edit DetailsFormTransaction : Sales and marketing > Common > Sales Orders > All sales orders > Edit SimpleListDetails :  General ledger > Setup > Currency > Currencies SimpleList  :  Master planning > Inquiries > Processes > Planned orders log TableOfContents :  Accounts payable > Setup > Accounts payable parameters Dialog :  Product information management > Products > Products > New product

Updating warehouse address on Sales order in AX 2012 using x++

Hi Dev!  Requirement: Update sales order address with the default warehouse configured.  So, Here is the sample code to update sales order it could be use in many cases such as creating return orders and updating its address to default warehouse.