Canada
pawan.deep55@gmail.com

Blog

D365 Finance & Operations

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 …

Payment Schedule

How to set up Terms of payment & Payment schedule in D365 Finance & operations

Set up terms of payment for installments with unproportionate no of days/months divided into unproportionate percentage of the invoice amount Your organization may have agreed on the payment terms with Vendor or Customer to pre-defined payment schedules. It is very easy to create proportionate installments with a proportionate number of days/months. But sometimes customers or …

Workflow Setup

How to setup workflow in D365 AX Finance & operations

Workflow has become necessities in an organization where any action of one user is needed to be approved by his senior or responsible role member. For eg – Creating new Fixed assets or posting invoices may need approval before posting.Trying to set up a workflow in D365 Finance & operations AX for any module, You …

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.

Find onhand Qty D365 ax

Find On-hand Quantity of item

X++ Below function returns onhand qty of item. You can further filter on hand qty of the item for a location by passing invent location id as its optional parameter