Professional Documents
Culture Documents
03 - POS Extensibility Technical Overview
03 - POS Extensibility Technical Overview
03 - POS Extensibility Technical Overview
OVERVIEW
Module Overview
This module discusses the Microsoft Dynamics AX 2012 POS extensibility and its
operations.
Objectives
The main objective of this module is to help you understand how to customize
and extend the Microsoft Dynamics AX 2012 POS. After you complete this course,
you will know how to customize and extend POS.
3- 1
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
Lesson Objectives
How to customize or extend Microsoft Dynamics AX 2012 POS.
POS Extension
To customize business logic in Retail POS, you must install the Retail Software
Development Kit (SDK). The SDK is included with Microsoft Dynamics AX 2012. It
contains two folders:
POS Plug-ins Contains code that you use to extend and customize
Retail POS. For more information about how to install Retail POS
Plug-ins, refer to Install Retail SDK.
Lesson Objectives
After you complete this lesson, you will know how to customize or extend the
Microsoft Dynamics AX 2012 POS.
3-2
The folder contains two Visual Studio solutionsone for services and the other for
triggers. Triggers are used to insert custom code before or after Retail POS
operations, such as issuing a gift certificate, a customer add, a clear, or a payment,
and more. For example: Before you issue a gift card, if you want to do a validation
such as whether the customer is eligible to issue a gift card, you can perform the
validation here.
The Microsoft.Dynamics.Retail.Pos.Contracts.dll assembly exposes all the public
interfaces to be used for implementing extensions and customizations to the
following Retail POS functionality:
Operations
Services
Triggers
3-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. Refer to the POS Framework course document for more
information.
Services
Services include one or more operations and implement a single, unique interface.
You can make partial modifications to an existing service and continue to use the
remaining functionality. Or, you can replace the complete service assembly with
your own custom code. For more information about how to implement services,
refer to How to modify a Form at http://technet.microsoft.com/enus/library/jj937978.aspx
Triggers
Triggers are events raised by Retail POS that enable you to insert custom code
before or after operations. There are two types of triggers:
Pre-triggers
Post-triggers
Please refer the POS Framework course document for more information.
3-4
Lesson Objectives
This lesson helps you understand the real time service functionality of Microsoft
Dynamics AX 2012 POS.
3-5
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
Module Review
Module Review and Takeaways
Tools
3-6
1.
2.
3.
4.
5.
2.
3.
4.
5.
Services contains the core business logic whereas triggers are events
raised by Retail POS that enable you to insert custom code before or
after operations.
3-7
Microsoft Dynamics AX 2012 R2 For Retail in Brick and Mortar Stores Development and Customization
3-8