Tuesday 11 June 2013

Axapta Retail 2012 installation of Real time Service (2012 R2 is the re-architecting)

Hi All,

From few days people were asking me and Questioning me about Real time services,

Actually this Real time service is brought architectural change to the Ax-retail from 5.0 to 6.0.

Importance of Real time services: 

We will use the real time services in real time Transaction's from Stores, Below are the few examples which will describe the importance of Real time Service's..

If real time services active then following can be possible from the POS

  • On-hand Inventory (Item wise) check at Head quarters level as well at each store level (Ware house)
  • Customer creation can be done from POS and can directly communicate to the Head quarters (Indirectly to other stores as-well)
  • Loyalty benefits schemes 
  • Delivery from store activities (where Payment done at one Store and Picking can be done at different store) 
  • Create orders and quotations without leaving the customer’s side using POS-based order support capabilities
  • Perform price and inventory checks and manage inventory reservations


In simple terms we can say Real time services can be used to exchange the real time data/ information/transactions between the stores and Head quarters 

Note: Retail Transactions service is now changed to Commerce Data Exchange: Real-time Service...

Activating the Real time Service in 2012 R2: 

Step 1: In first step we have to verify the IIS services are properly installed in the system or not
Screen Shot-1
Step 2: Install Real time Service from Package

Step 3: Verify server certificate in IIS manager 


Step 4: Note the Subject Name of the Server Certificate and Copy Thumbprint which is 20-digit (40-chars) hex string to your clipboard we will need it later
Thumbprint Example: ‎02c05a63a0564fd2a478n3365548ba8bh83280e9




Step 5: Following "PS1" sample scripts should be available in the folder – “D:\Dynamics\AX64\60\Commerce Data Exchange\Real-time Services\6.2\Sample Deployment Scripts". Notice Screenshot-1.3

InstallCertificationAuthority
InstallCommerceDataExchangeRealtimeService
InstallServerCertificate
UninstallCertificationAuthority
UninstallCommerceDataExchangeRealtimeService
UninstallServerCertificate

Step 6: Execute the PS1 script “InstallCommerceDataExchangeRealtimeService” in Windows PowerShell. Notice Screenshot – 1.4

Provide

i . Domain name/User name                        : COLDEMO\demouser1
ii. Password                                                : Access4NO
iii. Enter Service Binary Source Folder Path : D:\Dynamics\AX64\60\Commerce
Data Exchange\Real-time Services\6.2
iv. Enter Service Certificate Thumbprint   : XXXXXXXXXXXXXXXXXXXXXXXX


Result: 
Once the Power shall execution shows the successful status as below screen shot,


Step 7:Once the Successful Installation of Real-time Service is done. Go to AX HQ and Setup Real-time Service Profile 



Field name
Description
Server
The name of the machine hosting the Web service.
Port
The port of the Web service. By default, this value should be 808 for net.tcp binding.
Protocol
It is recommended that net.tcp binding be used here.
Web application name
This is the name of the web application that hosts Real-time Service. By default it is CommerceDataExchangeRealtimeService.
Common Name
It should match the "Subject" property of the certificate - WMSvc-AX2012A
Passphrase
This is the passphrase that the POS application will use to authenticate to the Real-time Service. Since this is encrypted and stored in a table that gets replicated to the POS database, you can enter any value here as long as it is non-blank.

Language   
en-us
Real-time Service Version
AX 2012 R2


Step 8: Map the Real time Service profile to the required POS- Register

Step 9: Create a folder for the Real-time Service Loggers and provide the same path in the web config file 
(Location: C:\inetpub\DynamicsAxRetail\CommerceDataExchangeRealtimeService)


Step 10:
Start the Realtimetransaction service and connect to POS Register



Trouble shooting: 

If the RealtimeService is not installed and if getting any errors. Uninstall the Real-time service with the uninstallation script and then re-install after solving the issue

Path for Uninstall Script: D:\Dynamics\AX64\60\Commerce Data Exchange\Real-time Services\6.2\Sample Deployment Scripts


Hope this could help you out...

If further clarifications needed, post a reply to this.

Thanks for reading Folks....

No comments:

Post a Comment