Creating MS RMS COM Component Add-Ins Introduction: Microsoft Retail Management System offers numerous solutions to stores (single or multiple, small or large) in the retail industry. The various functionalities include store management, purchase order management, transaction processing, point-of sale solutions, reports and receipts processing. Customizing RMS: MS RMS is a highly customizable product. We can extended the functionality or modify the design of RMS products through customization. Creating customized addin helps in extending the functionality of POS or store operations manager helping retailers in their business process. 3 types of add-ins can be created 1. COM component add-in 2. HTML add-in 3. Standard EXE add-in In this article we will focus on creating and invoking COM component add-ins. Creating Custom COM Component Add-In: Before learning about COM component add-ins, let’s first discuss what [QSRules] is. QSRules includes a set of classes containing the core business and database access logic of POS (Point-Of-Sale) system. It has several in built classes, methods, properties defined such as [Session Class], [Register Class], [Transaction Class], [Tender Class] etc. The current type of add-in is the most useful one and uses [QSRules] to interact with transaction in progress. This add-in can be activated from custom POS button or specific points in transaction flow through hooks. COM component add-in are created as active x dlls and used to extend the functionality of POS as per customer’s requirements. Following are the steps to create COM component add-in The session object is passed as the parameter. When the add-in is invoked the Store operations passes a reference to current session (session class object of QSRules) to the [currentSession] object. Following is sample code for the Process function in VB.NET. When invoked this will only display the current logged in cashier’s name. [VB.NET code starts] Public Function MsgBox("The current cashier is " & currentSession.Cashier.Name) 'set process true Process = End Function [VB.NET code ends] Invoking Custom COM Component Add-In: COM component dlls can be invoke in 2 ways Invoking through custom POS buttons:
record to [CustomButtons] table either through Store operations or using SQL
Insert query.
used to invoke the dll.
Invoking through hooks
System\Store Operations\Hooks\System\Store Operations\Hooks\

Summary:
We can easily customize RMS products as per the requirement of the customer. MS RMS allows us to customize its features and extend the functionality to fulfill need of store managers or cashiers.