Parse nested Json from logic apps
Apr27

Parse nested Json from logic apps

In this post, I will give a brief walkthrough of handling the nested json data and extracting the contents from it. My sample file is as follows . { “id”: “0001”, “type”: “donut”, “name”: “Cake”, “ppu”: 0.55, “batters”: { “batter”: [ { “id”: “1001”, “type”: “Regular” }, {...

Read More
Entity Relationship Diagram in D365F&O
Apr24

Entity Relationship Diagram in D365F&O

Entity Relationship Diagram (ERD) is a structural diagram that is useful in database design. It shows how an entity is connected with one or more entities. To be precise, it helps us to understand the inheritance and the relationship between the tables. Previous version of Dynamics Ax(4.0) had this option which helped to generate the required output for the data model. In simple words,… Continue Reading AnithaEswaran’s...

Read More
General Journal posting for multiple companies – D365FO
Apr20

General Journal posting for multiple companies – D365FO

With the latest PU release 10.0.33, a new feature is introduced which enables the users the post the GL across the multiple companies Go to Feature Management and filter for ‘Journal’. Click ‘Enable now’ and the feature is ready for use . Go to General Ledger -> Journal Entries -> Global general journals The form has the option to select the legal entity for creating the… Continue Reading...

Read More
Excel add-ins – Config & set up  – D365 F&O
Apr03

Excel add-ins – Config & set up – D365 F&O

Microsoft Excel can change and quickly analyze data. The Excel Data Connector app interacts with Excel workbooks and OData services that are created for publicly exposed data entities. The Excel Data Connector add-in enables Excel to become a seamless part of the user experience. The Excel Data Connector add-in is built by using the Office Web add-ins framework. The add-in runs in a task pane…. Continue Reading...

Read More
How to bulk expire & delete non-primary addresses – DIXF – D365F&O
Mar23

How to bulk expire & delete non-primary addresses – DIXF – D365F&O

We had a situation in one of our projects where the customer postal addresses were imported twice by mistake. The import was close to 10000 records and manually correcting them was impossible. There were few options left with us to correct the data in the system Restore the data using ‘Restore point-in time ‘ (or) Delete the address data from all the related tables (or) Explore a… Continue Reading...

Read More
Shrink AxDB SQL transaction log
Mar09

Shrink AxDB SQL transaction log

Recently the database transaction log of my D365F&O development environments grew too large and the service was down. When the service goes down all of a sudden, I troubleshoot by restarting the Batch service in dev environment first. If it doesn’t restart, then it is an alarm to turn our focus on latest code changes, model or build issues etc. Event Viewer is my trustworthy friend is… Continue Reading...

Read More
SalesOrderHeaderD365SalesEntity – Preview 10.0.32 -Part 2
Mar08

SalesOrderHeaderD365SalesEntity – Preview 10.0.32 -Part 2

In continuation to my previous post , this content lists the new Data Entities published on latest preview version SalesOrderHeaderD365SalesEntity : Label : Dynamics 365 Sales order headers < p class=”has-black-color has-text-color”>This entity contains information about Dynamics D365 Sales order headers which is used in CDS integration. The entity is aimed at providing additional information for Sales Order Totals...

Read More

Quick look – Preview of 10.0.32 Dynamics F&O – Part 1

In order to get a feel of Preview version, it is available in Shared asset Library. If it is not found in the implementation project library, it can be imported from shared library . Click Import and then select the package to be imported to your LCS project. On clicking Pick,the deployable package will be added to the library. I applied this package to my… Continue Reading AnithaEswaran’s Article on their blog Quick look...

Read More
Choice of Options from logic apps to Microsoft Teams
Dec05

Choice of Options from logic apps to Microsoft Teams

With recent addition of connectors in Logic apps, users can choose to use these connectors for configuring poll , approval and many more process. I am skipping the part of creating logic apps and given below the first step of setting up Recurrence. For my instance, I am starting with recurrence. But logic apps can be triggered with any event as per the users business requirement. This… Continue Reading AnithaEswaran’s...

Read More
Refresh new objects in SQL server
Nov11

Refresh new objects in SQL server

Whenever we create a new object (table/View/Stored procedure etc) in SQL server , the change will not be immediately reflected in query window. Intelisense works for the existing artifacts , but the new ones will be effective when we restart the SSMS instance. For example, assume you are creating a new table. CREATE TABLE Persons ( PersonID int, LastName varchar(255), … Continue Reading AnithaEswaran’s Article on their...

Read More
Install XML formatter in notepad ++
Nov08

Install XML formatter in notepad ++

This is off-topic from my regular posts. Notepad++ is a handy tool which serves as source code editor. Being a developer, I use it for various purposes : Code reading, formatting xml, investigating DIXF issues, bulk modification of the records and so on. Please refer my earlier post on easy formatting. In order to view the xml data in proper format, notepad++ should have proper plugin… Continue Reading AnithaEswaran’s...

Read More
Delete Party records having no reference in GAB – D365FO
Nov07

Delete Party records having no reference in GAB – D365FO

Take a scenario where the user creates a customer / Vendor for testing purpose. If there are no transactions , the record can be deleted from the form. But the reference still exists in global address book. It is not advisable to delete the records from global address book as it might lead to data inconsistency. Turning on a set up in F&O cleans up the orphan party records immediately… Continue Reading AnithaEswaran’s...

Read More
Button search from Action Pane – D365 FO
Jul05

Button search from Action Pane – D365 FO

Finding a button in a form is difficult if it has complex design with Action pane having multiple tabs , various button groups in the tabs and so on. For instance, Sales order form. How to search the button ‘Cash flow forecasts’ in the ‘Action pane’ ? Have you noticed a search box in Action pane ? This is called ‘Action Pane Search’. It is handy in doing search in such complex… Continue...

Read More
Creating Extensions from related AOT object – D365FO
Jun24

Creating Extensions from related AOT object – D365FO

From PU50, it is now easy to create extension from related AOT object. Earlier, the approach was to create a class and then fill out details if it for table or class or data entity. Below pic shows creating form extension Below one shows Code extension for the form field. table extension Continue Reading AnithaEswaran’s Article on their blog Creating Extensions from related AOT object – D365FO From PU50, it is now easy to...

Read More
Date format issue in ‘Execute a SQL Query (V2)’ logic apps – D365FO integration
Jun22

Date format issue in ‘Execute a SQL Query (V2)’ logic apps – D365FO integration

I had already explained about using sql query execution in my earlier blog posts. Recently I had another issue when using date column in the select list . For instance, in the below screenshot one of the field in the select list had Date column. If you observe the output, result in the date columns will be in a different format. The execution was successful in logic apps, but… Continue Reading AnithaEswaran’s Article on...

Read More
Default location of VS Projects ,instead of repos folder : D365FO
Jun18

Default location of VS Projects ,instead of repos folder : D365FO

I noticed in all the FO VMs, the project location has been set to ‘repos’ folder. . Though this set up doesn`t pose any errors,it is always a best practice to save the projects in its location where the TFS is configured. The set up for default location of VS projects during creation is in Tools -> option . Click Ok and restart the VS and you will see the change upon creating a… Continue Reading...

Read More
Alphabetical ordering of Labels in D365FO
Jun18

Alphabetical ordering of Labels in D365FO

We usually append the new labels at the end of the label file. It is difficult to search the label in case if we need to check if the label exists already. From PU50, it is possible to arrange the labels in alphabetical order with a simple set up in Visual studio. Go to Tools Option and select the following option Continue Reading AnithaEswaran’s Article on their blog Alphabetical ordering of Labels in D365FO We usually append...

Read More
Display Navigation link in D365FO
Jun08

Display Navigation link in D365FO

With a simple set up, it is easy to display the navigation link or path of the form. This feature will be useful for developers when they discuss with client or functional team . Navigate to System Administration -> Set up -> Client Performance options. Select ‘Enable legacy navigation bar’ and click Ok. Refresh the browser . Continue Reading AnithaEswaran’s Article on their blog Display Navigation link in...

Read More
D365FO DIXF : No update if the record already exists
Jun02

D365FO DIXF : No update if the record already exists

DIXF framework updates the existing records based on the Primary key defined in the entity. But there are scenarios where we don`t need to trigger an update . For instance, if I am importing a vendor file with primary address details along with other fields, triggering the same file multiple times (when new records are added) would create duplicate addresses in the GAB. My client was not ok… Continue Reading...

Read More
The working folder [source path] is already in use by the workspace [workspace name];[owner] on computer [tfs server]
May27

The working folder [source path] is already in use by the workspace [workspace name];[owner] on computer [tfs server]

When a VM is already configured with tfs using one user id, until the workspace is deleted from Source control, another user will not able to configure it . In order to execute the below command to delete the workspace of another user, you should have proper privilege to Source control. tf workspace /delete /server:devopsAzureURL workspaceName;”User name” In the above statement,… Continue Reading...

Read More
The remote certificate is invalid according to the validation procedure
May26

The remote certificate is invalid according to the validation procedure

We faced the below issues in our dev environments and the team was unable to access the URL. As a workaround, in ‘Microsoft Edge’ we had an option of clicking ‘Advanced’ button which allowed us to redirect to the URL. This option was also not working for few users and they had to try accessing the URL in ‘incoginto’ mode. Scroll down for more details Also, the users were… Continue Reading...

Read More
Document Attachment as Notes in D365FO
Apr22

Document Attachment as Notes in D365FO

I`ve already posted on exporting and importing attachments in D365 FO. There are various types of attachment available in FO . For instance, as File, image, Notes, URL etc. If you are importing the attachment as Notes, it can be handled in a simple way with the OOB entity . There is no need to export or import the package mentioned in earlier post which is suitable for Files and image… Continue Reading AnithaEswaran’s...

Read More
Power Automate to trigger the post alert in LinkedIn
Mar10

Power Automate to trigger the post alert in LinkedIn

Everytime when I add a new post to my blog, I manually update my LinkedIn Account about it. With PowerAutomate, this job is automated with two simple steps, If you have a Office365 account, login and then search for either Flow or Automate in the Search bar. Click on Create New flow and Search for ‘WordPress’ Connector. Since I am using wordpress , this connector is configure… Continue Reading AnithaEswaran’s...

Read More
Access D365FO pages from Microsoft Teams
Mar10

Access D365FO pages from Microsoft Teams

It is now possible to access the FO pages from Microsoft teams. We can simultaneously chat and get the doubts cleared if any . Select the form which needs to be embedded in the teams. Copy the URL from address bar. If you need to limit the navigation, I`ve explained it here . Now , Go to teams and click on + icon as displayed below. Search for website Follow the… Continue Reading AnithaEswaran’s Article on their blog...

Read More
Limit the navigation in D365FO
Mar10

Limit the navigation in D365FO

How do we limit the navigation options to the users ? For instance, I am asked to share only the Vendor form to a particular user . If the complete URL is shared, then the user will be able to navigate to all the menus. In order to handle this, there is no additional development needed. Add another parameter in the URL to limit the navigation

Read More
Using Notepad++ for easy formatting
Feb15

Using Notepad++ for easy formatting

We often use Notepad++ for easy editing which allows us to open multiples file simultaneously. It also helps a developer to edit the code as it recognizes popular coding languages. As a developer, I found it useful not only for the purposes listed above but also in formatting the SQL query values as per the needed format. During Unit testing phase, developers often swap between FO and… Continue Reading AnithaEswaran’s...

Read More
D365FO Business Event with Https Endpoint
Feb11

D365FO Business Event with Https Endpoint

With the latest FO versions, Business event endpoints doesn`t support ‘Power Automate’ and ‘CDS’. One of my projects had the Business event integration with logic apps and we used ‘Power automate’ to create the endpoint. In this post, let me give a walk through of setting up ‘Https’ as endpoint in D365FO Business Events. To understand the set up of BE, please refer my post , post2...

Read More
Logic apps DIXF Export – Unique file name creation – D365FO
Feb02

Logic apps DIXF Export – Unique file name creation – D365FO

Triggering ‘Export to package’ API from logic apps creates the output as a data package. The data package has Data file, Manifest and Package Header . In order to pass the data file for third party processing , the compressed package has to be extracted. In such case, then the file name can cause an issue. As we are aware, name of the data file in the package is same as the entity name (which… Continue Reading...

Read More
OData Throttling D365FO : “The request could not be processed at this time due to system experiencing high resource utilization”
Jan19

OData Throttling D365FO : “The request could not be processed at this time due to system experiencing high resource utilization”

Recently during the import of data using OData , I had encountered this error which status ‘The request could not be processed at this time due to system experiencing high resource utilization”. I had not faced this issue in dev machines (tier-1), but this occurred in Tier-2 . Microsoft has already given a work around for this issue. But before jumping on to the solution , let me… Continue Reading...

Read More
Delete Duplicate or Top row from SQL server
Jan04

Delete Duplicate or Top row from SQL server

In order to delete a particular record from a table in SQL server, a normal delete statement would not be helpful For instance, take an example as shown in the below screenshot Due to manual error, there are duplicate records in the field ‘Country_region’. (Of course, this would not have occurred if index was defined. I am using this example for our demo so that we can apply my… Continue Reading AnithaEswaran’s...

Read More
Single-Line string to Multi-line – Postman
Jan02

Single-Line string to Multi-line – Postman

There are scenarios when a single string separated by commas(or any other character) to be imported as multi line string to the target application . One of my assignment had unformatted data and the requirement was to map them to the FO fields . One such field is Address Street and thus needed transformation before import. My next post will show how this transformation is handled using ADF …. Continue Reading...

Read More
Connect to Azure SQL from logic apps to execute D365FO Enqueue
Jan02

Connect to Azure SQL from logic apps to execute D365FO Enqueue

In one of my assignments, I am using Azure SQL database acting as staging where I am importing the data on to it for further transformations. In order to push the data to D365 FO using recurrence, I used logic apps to establish connection to the azure db . Given below the steps Create a logic apps and select ‘SQL Server’ connector. On clicking, there will be list of actions displayed… Continue Reading...

Read More
D365FO Business Events – Troubleshoot
Nov09

D365FO Business Events – Troubleshoot

I have already posted on Business events Configuration (link1) and consuming it from logic apps (link2) In this post, i will touchbase on troubleshooting Business Events in D365FO. We might face issues in executing Business events after data refresh or deployment to Tier 1/Tier 2 environments. Check if there are ‘Active Events’ for the Business Event you are looking for. This can be… Continue Reading...

Read More
Transformation using Filter – Azure Data Factory
Nov09

Transformation using Filter – Azure Data Factory

Filter Transformation in ADF Data flow filters the records or rows based on the specified condition. This is similar to WHERE clause in FO. For instance ,the user has to transform only the records which meets a particular criteria, then Filter Transformation does the job . In my post, I am taking the example of excluding the records in a dataset for which there is no Debit and Credit… Continue Reading AnithaEswaran’s...

Read More
Cannot create a record in Party postal address V2 (DirPartyLocationPostalAddressV2Entity). The ‘Expiration’ value needs to be greater than or equal to the ‘Effective’ value
Nov09

Cannot create a record in Party postal address V2 (DirPartyLocationPostalAddressV2Entity). The ‘Expiration’ value needs to be greater than or equal to the ‘Effective’ value

Creating and Updating a postal address in FO is complex. But when you get to know the fields to be used while importing, it will be easy for the user to deal with issues while importing addresses. D365FO has several data entities for loading postal addresses using PartyNumber in Global Address Book (GAB). Customer postal addresses entity allows to add multiple addresses for a customer…. Continue Reading...

Read More
An excel column containing strings was set as a numeric column by SSIS – DIXF import
Oct15

An excel column containing strings was set as a numeric column by SSIS – DIXF import

I am working on Data migration and though I felt monotonous initially, subsequently it helped me to gain knowledge on basic set ups of the modules across FO and most importantly on SQL and Excel areas. In this post, I am sharing my knowledge on importing certain alphanumeric data emphasizing its spelling accents. One such instance was Zipcode import. LEADING ZEROESFew of the zip codes… Continue Reading AnithaEswaran’s...

Read More
SQLPackage.exe for 10.0.21 -PU 45
Sep28

SQLPackage.exe for 10.0.21 -PU 45

SQLPackage.exe is a command line interface for integrating database deployment into your application pipeline. We mostly use it for executing the import and export commands while restoring the bacpac data from Tier-2 to Tier-1 environments. < p style=”font-size:14px”>Earlier versions of FO had this utility residing in SQLServer folder . Executing the commands from SQLPackage .Net Core folder is detailed here…...

Read More
Purge Lifecycle Services assets – New feature in LCS
Aug31

Purge Lifecycle Services assets – New feature in LCS

LCS has introduced a new feature to purge or dispose the assets which are more than a year old. Beginning Friday, September 17, 2021, Microsoft will begin to purge assets that are older than 365 days from the project Asset library. This is currently targeted for both Software Deployable Package and Database Backup asset types with a Modified date older than 365 days.  The Asset… Continue Reading AnithaEswaran’s...

Read More
Import Data using Azure Data Factory – D365FO DIXF(Recurrence)
Jul05

Import Data using Azure Data Factory – D365FO DIXF(Recurrence)

In one of my posts,I explained about importing data from D365FO from ADF using Odata approach. In this post, we will explore the other option of importing the data using DIXF . I created a new Export project in my environment to import the Customer Group and the source data format is set as CSV. Recurrence is enabled for this job and the activity Id will be used in ADF to call… Continue Reading AnithaEswaran’s Article on...

Read More
Troubleshooting Key vault script execution -Data Export Tool CE
Jun28

Troubleshooting Key vault script execution -Data Export Tool CE

In my previous post, I explained configuring Data Export tool in CE. The main focus was on the key vault generation which was created using the script. In this post, I will explain about troubleshooting the script for any errors. The script was executed in Powershell in Admin mode. On executing the script, if the error shows Connect-AzureRMAccount : The term ‘Connect-AzureRMAccount’… Continue Reading...

Read More
Data copy from D365 to Azure Db – Data Export Service Tool
Jun22

Data copy from D365 to Azure Db – Data Export Service Tool

This time I had a chance to work on Data Export Service tool in D365 CE to transfer the data from an entity to Azure Sql Db. Pre-requisite needed to create Data Export Profile in D365CE. Admin privileges in CE to Install the Data Export service App Azure Db Azure portal subscription to create Key Vault I am not covering the installation of Data Export service and Azure Db in this… Continue Reading AnithaEswaran’s Article...

Read More
Export data from all legal entities using DIXF – D365 FO
Jun11

Export data from all legal entities using DIXF – D365 FO

In D365FO, if an export project is created for an entity, it exports the data only from the legal entity for which the user has triggered an export. Setting the property ‘Enable cross-company’ in the base query of the entity doesn`t help here as I observed the same behaviour. The behaviour is decided by one of the property in Data Entity. Check the value of ‘Primary company context‘… Continue Reading...

Read More
“Error importing database : could not load the package ” Error in bacpac import
Jun09

“Error importing database : could not load the package ” Error in bacpac import

I installed a new VM for the latest PU42 and faced the below error when trying to restore the bacpac. I tried the first option on downloading the latest SQL Data tier Application Framework from the link Now , you will be able to see a DAC folder in either ‘Program Files’ or ‘Program Files (x86)Microsoft SQL Server150’ . Now use this path in import command. The command… Continue Reading...

Read More
Append Blob using Http Request trigger in Logic apps
Jun08

Append Blob using Http Request trigger in Logic apps

We use logic apps to execute some process as a recurrence or trigger APIs available in external applications. In this post, we are going to see , how to call logic apps from external application (I have used Postman here) . My example described below is simple. Pass a Customer group from Postman which triggers HttpRequest in Logic apps. Upon getting the value of the Customer group, write… Continue Reading AnithaEswaran’s...

Read More
Upsert the records using Copy Data tool – Data Factory
Jun02

Upsert the records using Copy Data tool – Data Factory

In one of my previous blog, I explained on copying the data from D365 to azure DB using ADF`s Copy Data tool. In that example, The tool copies/appends the data as such if there are no indices defined in the target table and throws error in presence of index. Most of our requirements would expect update if the record exists or insert if it doesnt. I am using the same tool but tweaked… Continue Reading AnithaEswaran’s...

Read More
CRUD OData Entities – Postman – D365FO
May28

CRUD OData Entities – Postman – D365FO

In this post, I will demonstrate CRUD operations for an OData entity in D365FO using postman. Refer to my earlier post to set up postman and now we will proceed to execute these operations using Customer Group Entity. Base syntax for referring this entity in Postman https://D365FOURL/data/CustomerGroups This is not the entity name in FO, but ‘Public Collection Name’ in the… Continue Reading...

Read More
Aggregate function in Azure Data factory
May28

Aggregate function in Azure Data factory

This post is about using Aggregate function in ADF. Most of us are aware about using Group by in Aggregate. But we will be facing the issue of displaying other fields which are not included in the Groupby clauses. Let us see how we can bring rest of the fields as well when using Aggregate function. I have a csv file in my storage account which has a list of Accounts and their… Continue Reading AnithaEswaran’s Article on...

Read More
Batch job not executing – Ax2012
May27

Batch job not executing – Ax2012

Batch jobs can create a problem when the database is restored or refreshed from one environment to other environment. Given below the trouble shooting steps and solution to handle this issue. Check if there are any batch jobs in ‘Executing’ state . If yes, cancel them. These jobs consume most of the threads in the system.Check if the AOS is configured as ‘Batch Server’ . This… Continue Reading AnithaEswaran’s Article on...

Read More
Connect D365 to Azure DB – Azure Data factory
May19

Connect D365 to Azure DB – Azure Data factory

In this post, I will explain about copying data from CRM to Azure DB . This is done by using COPY DATA TOOL available in Azure Data Factory. Click on ‘Add New Resource’ in ADF. Enter the Pipeline name and description Click on ‘Create New connection’ In the ‘Service and Apps’ tab, select ‘Dynamics 365’ Enter the connection details. In authentication type,… Continue Reading...

Read More
Create Azure Data Factory
May19

Create Azure Data Factory

Given below simple way with screenshots to create a new Azure Data Factory(ADF) from azure portal. Go to portal.azure.com. Select Data factory from Search bar. Follow the steps from the below screenshot Click on ‘Git Configuration’ On clicking Review+Create, the system does the basic validation and throws errors if any. But with the 2 step process, there are not much… Continue Reading AnithaEswaran’s Article on...

Read More