Canada
pawan.deep55@gmail.com

Tag: x++

D365 Finance & Operations

D365FO Classic build pipeline getting failed Process ‘msbuild.exe’ exited with code ‘1’

Azure-hosted class build pipelines fail on Build Solution step with an error message that Process ‘msbuild.exe’ exited with code ‘1’ – error MSB1009: Project file does not exist. If facing this concern, edit the pipeline and change the build solution path from absolute to the relative path using wild characters. Follow below screenshot to resolve …

Email x++

How to email report with the body in D365FO

Microsoft D365 Finance & operations come with the ability to send reports via email and schedule in recurring batches. Print Destination settings give us the flexibility to configure the dynamic value for report email, including Subject, To, CC, attachment file format. Still, it lacks the functionality to include the body along with that email. Follow …

SQL access on D365 FO

SQL access on production in D365FO

With the introduction of D365 Finance & operations cloud environment over AX 2012, Microsoft took over the control of the production window server OS environment leading to requesting deployment via LCS as compared to manual deployment before and also SQL Server Management Studio(SSMS) is now not available for SQL manipulation. Of course one of the …

Tricks D365 Finance & operations

Open form via its AOT name in D365 Finance & operations

For developers, it can come handy if they can directly open the form via its AOT name in D365 finance & operations rather than opening via its menu item. To do so, you can simply search in the search bar by typing form:<form AOT name> For example, users management form AOT name is sysusermanagement. When …

401 unauthorised error

How to do string left or right padding in X++

This article will explain how you can do string padding with zeros or space with the specified length either left padded or right padded in X++. Often we have a requirement that the desired string should be of specific length (say 10) and if it is not of that length, it should be prefixed with …

str2enum SalesStatus

Convert string into enum str2enum in x++

This post will explain how you can assign and convert string input either read from excel etc into enum type variable. For this example, we’ll be going to use SalesStatus Enum used in Sales order to define its current state. Enum has 2 key properties Name – enum element name Label – it is used …

How to debug the Sandbox/Test environment in D365FO

How to debug the Sandbox/Test environment in D365FO

Often developers come across some issue which requires debugging but debugging production database is no easy task as it requires a refresh of DB from production to sandbox environment from LCS, then requires export of DB from the sandbox via LCS and then the restoration of DB in the development environment which is a manual …

Error

Something went wrong while generating the report. Please try again SSRS Report

If you ever come across Something went wrong while generating the report. Please try again error in SSRS reporting in D365 finance & operations AX. Follow the below guide to debug the Root cause. You may try to debug at various points but not everyone knows one key class of SSRS reporting where you can …

The path C: \AOSService\ PackagesLocalDirectory is already mapped in workspace

Trying to set up VM with dynamics 365 Finance & operations and facing workspace mapping issue with Visual Studio Team Services. Follow the instructions.This can happen either when you do wrong mapping at first glance or want to use the new account associated with VSTS thereby removing the previous login. In either scenario, you may …

401 unauthorised error

How to handle 401 unauthorized error in x++

What is 401 unauthorized error message The 401 Unauthorized error is an HTTP status code that means the page you were trying to access cannot be loaded until you first log in with a valid user ID and password.