How to Setup & Configure Microsoft Dynamics 365 Commerce Local Development Environment

 Microsoft Dynamics 365 Commerce Development Setup & Configuration

 

What is Dynamics 365 Retail C-POS(Cloud Point of Sale)  & M-POS(Modern Point of Sale)

Dynamics 365 Retail Server is a component of the Dynamics 365 suite that enables seamless integration and management of retail operations. It acts as a communication hub between the Dynamics 365 F&O (Finance and Operations) backend and various retail channels. C-POS (Cloud Point of Sale) is a cloud-based retail application that runs on web browsers and allows sales transactions and customer interactions at physical stores. M-POS (Modern Point of Sale) is a Windows-based application designed for in-store sales and provides advanced features for handling complex retail scenarios. Both C-POS and M-POS are client applications that interact with the Dynamics 365 Retail Server to ensure consistent and efficient retail operations across different touchpoints.

Prerequisites for setting up the local development environment

So let’s try step by step procedure to set up a local development environment for point of Sale (POS) in Microsoft Dynamics 365 Commerce you can also check it on Microsoft Official Documentation.

1. Install .NET Core SDK 3.1 for Windows x64 from Download .NET Core 3.1.

2. Install NuGet.exe from Available NuGet Distribution Versions

 3. After the NUGET installation, Copy the file and Create New Folder in K Drive with the Name “Nuget” and paste it. then copy the file Path and write click on PC select Properties→Advance system Setting →environment variable → Path→ Edit → select New and Paste it here.

4. Install Visual Studio Tool from Download Visual Studio Tools.

  • After Visual Studio tools are installed, open a Command Prompt window, and run the command where msbuild.
  • After run the above command, make sure that the PATH environment variable points to the folder that contains "msbuild" at the beginning of the path. The path should contain a version of msbuild.exe that is at least version 19. To determine the version number, run the command msbuild /version.

5.  Install Microsoft.NET.Sdk by using the previously downloaded Visual Studio tools. Go to Individual components, enter .NET SDK, select the checkbox for the .NET SDK, and then select Install.

6.  Install the 64-bit version of Node.js from Download and Install Node. Make sure that the PATH environment variable point to the location. If you're prompted, select the Automatically install the necessary tools checkbox.

7.  Press any key, Power shell window will appear and it will download the required packages         by default.

8.   After the above step, now let's Set up the Environment Path..

9.  Install the 64-bit version of Visual Studio Code for Windows from Download Visual Studio    Code

10.  Install the C# for Visual Studio Code (powered by OmniSharp) extension for Visual Studio         Code by following the instructions in Extension Marketplace.

11.   Clone or download GitHUb Repository from the given link Scale Unit GitHub repository (repo)make sure to compare version of the repo and D365(F&O) for avoiding version compatibility.  

12.  After installation VS code Click on Open Folder and select src file from recently downloaded GitHub Repository.

Now we need some Functional Configuration

For Functional Side Configuration  in D365(F&O)  follow the below screenshots.

After setup the Template follow these steps.

To create new Credential to get User ID and  set password follow these step.


Set a new Password here for login to Retail Commerce client browser.

Let’s Run the Batch Job

After this let’s verify the Batch Job run successfully, check the status of job to applied.

After confirmed the Staff batch job status to Applied we need to register store or modify existing one.

For registration or customization store follow the following steps.


After the registration or modification store, click on the link which is visible in the above screenshot and you will be moved on client browser.


So that’s it, this is the whole step by step process to setup & configuration Dynamics 365 Retail Commerce with Dynamics 365 (Finance & Operation).

 

 

Comments

Popular posts from this blog

How to Extract and generate a CSV File and Retrieve a List of Project Addresses in AX 2012 Using SQL and X++

How to create C# Library and Use with in Dynamics 365 For Finance and Operation

Extracting Project Addresses to Excel in Dynamics AX 2012