Module 4: Pos Framework Module Overview: Objectives
Module 4: Pos Framework Module Overview: Objectives
Module 4: Pos Framework Module Overview: Objectives
Module Overview
This module explains the POS technical architecture. This module also provides
information about the different components in the POS framework
Objectives
The main objective of this module is to help understand the POS technical
framework, its components and other retail components it uses.
4-1
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
POS Core
POS Database
POS Architecture
The POS Architecture consists of the POS Core components.
4-2
Operations
Transaction
SystemFramework
SystemeSettings
Contracts
4-3
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
Operations
An operation is an activity that occurs in Retail POS. Operations can be a single
step, or a multi-step. For example, Add Item adds a sales line to the current
transaction. The Customer add operation presents a form for a cashier to enter
customer information. After data is entered and the form is closed, the customer
information is sent to Retail Headquarters.
Microsoft Dynamics AX 2012 includes a collection of core operations that cannot
be modified. However, you can create new functionality by using the
BlankOperations. You can use Blank Operations to extend Microsoft Dynamics AX
for Retail POS by adding custom logic to the Retail POS register buttons. In the
Retail POS register, you can add the blank operation button to the POS layout and
link it with your custom operations.
Transaction
The transaction dll contains the core transaction classes and Interfaces that are
used in standard and extended components. Most POS operations will have the
POS transaction passed as parameters that are during the operation.
System Framework:
This dll contains the transaction service. This service is a direct start to
Headquarters (HQ).
System Settings:
This dll contains all the settings that are related to connection details, operator
details, terminal details, store details, transaction service details, hardware profile,
functionality profile and other Application details that can be used while
extending POS.
Data Access:
This dll acts as a data layer between the application and the POS database. It
provides a set of interfaces and, or classes that are used in standard operations,
services and triggers.
Contracts
The contracts dll contains interfaces that are used across multiple core and
extended components of Point of Sale. When POS Plugins are installed, this dll is
included as part of plugin code. When you extend a service and, or triggers, add
this dll to the project. Also, dll should be deployed to the POS folder, after you
extend.
4-4
Services Forms
Although third-party components from the DevExpress libraries were used to
build the POS application, you do not have to be familiar with how to set up a
development environment by using the DevExpress libraries.
All Windows forms in POS are developed by using the "DXExperience Winforms"
product that is created by DevExpress. However, you must have a DevExpress
license to modify the design-time visual changes to existing forms. Although you
are not required to have DevExpress tools to create new POS forms, it is
recommended that you use them to have a consistent appearance with the rest of
the product.
Microsoft Dynamics AX 2012 R2 POS introduces a new way to customize forms by
using the Interaction service. Multiple developers can customize one or more
forms in one service. If there are multiple customizations, the Interaction service
loads only the first customization it finds for a form. The following list of forms
uses this new pattern and their implementations are included in the
InteractionDefaults service.
ExtendedLogOnForm
ExtendedLogOnScanForm
frmBarcodeSelect
frmDimensions
frmInput
frmPayCash
frmPayCurrency
frmPayCustomerAccount
frmReturnTransaction
LogbookForm
LogOnForm
ManagerAccessForm
RegisterTimeForm
ViewTimeClockEntriesForm
ProductDetailsForm
ProductInformationForm
4-5
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
Skins:
By using the DevExpress SkinEditor program, you can change the appearance of
Microsoft Dynamics AX for Retail POS registers by creating new Retail POS skins.
To create new Retail POS skins, you must obtain a license from DevExpress. Retail
POS uses DXExperience Winforms that is created by DevExpress. You can develop
your own forms without having to use DevExpress. However, it is recommended
that you use these to maintain a consistent appearance.
4-6
4-7
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
POS Database
This lesson explains about the POS store database and offline database.
Lesson Objectives
Store Database
Offline Database
Store Database
Store database is a central database that is inside a store. Typically, a store
database is hosted on a shared server that is connected to all the POS terminals in
the store. Multiple POS computers in a store can connect to the same store
database.
Store database data is synched with HQ by using the Synch service.
4-8
4-9
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
Module Review
Module Review and Takeaways
POS Architecture
POS Core
POS Database
4 - 10
1.
2.
3.
4.
5.
Which service synchs the data between the store database and the offline
database?
POS Core, CDX Real-time service, CDX Synch service and store
database
The POS core is the focal point of the POS that interacts between the
POS UI and the POS data layer.
The dll transaction contains the core transaction classes and the
Interfaces that are used in standard and extended components. Most
POS operations will have the POS transaction passed as parameters,
which are used during the operation.
4 - 11
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
4 - 12