Monday, October 22, 2018

Introduction to Retail SDK


Working with Retail SDK

Microsoft Dynamics 365 ERP contains many modules one of which is the Retail module for carrying out the retail operations of an enterprise. For development purposes Microsoft provides a Retail SDK that contains samples for developing retail extensions, customization's and applications.
The Retail SDK is placed in the J:/ dive of the cloud hosted virtual machine (VM) and in the C:/ drive of the locally hosted VM. Since I will be working on a locally hosted VM it will be my C:/ drive.




Retail SDK is pre installed in the default d365 VM provided by Microsoft (In order to get Retail SDK one can get it through LCS by installing binaries then moving the Retail SDK from binaries folder to the development VM simply by coping this will be further discussed in upcoming blogs).
Let’s navigate to the Retail SDK folder and check its content.



As we can see the SDK contains many folders, each containing multiple other folders and files used in the development of Retail extensions and customization's. Let’s discuss each folder one by one to understand in detail the purpose of each folder.

Retail SDK Contents:

Assets Folder:
          Contains files used for deployment and package generation purposes.

Build Tools:
            Contains MsBuild tool files for building a Retail deployable package which can be deployed through LCS.

Database:
          Contains Database Schema and scripts for Retail Channel Database. Also contains Retail channel database extension scripts and schema.

Documents:
          Contains files related to SDK development.

Online Store:
          Contains files for E commerce Store (online store) development and extension.

Packages:
          Contains folders generated for deployment purpose also contains the retail deployable package that is generated by the MsBuild tool.

POS:
          Contains the files and folders for Retail Modern POS and Cloud POS extensions development and customization's.

Proxies:
          Contains folders and files for retail proxy generation.

References:
            Contains DLLs which are used in the retail SDK development and required by Retail SDK extensions.

Sample Extensions:
            Contains Folders for multiple type of extensions and customization's that can be performed in the retail SDK.

So the folders not discussed here are Payment-externals, Payments and Tools which will be discussed in further blogs.
The folders we will be mostly using for development of extensions will be POS and Sample Extensions.


Check out how to run retail pos samples here.

No comments:

Post a Comment