iVend Replication Events Generate Steps

iVend Replication Events Generate Steps

Internal to Citixsys Support Team

 

Environment: 

iVend 6.6

 

Problem Statement: 

In some cases we require to generate replication events like product add/update events to match the product data between Enterprise and store.


Symptoms: 

N/A


Resolution/Work Around:

Require to generate events with the help of Stored procedure. 


Steps:

Below are the steps.


1.Check the objectype on table Repobject Mapdb like if we want to generate product events we can check object id of invproduct table


2.Use stored procedure DataNotification for generating events like.

 

exec DataNotification @pSourceType=46, @pSourceKey=10000000000196117,@pBatchKey=0, @pOperationType=1,@pUserKey=1

Here @pSourceType :-Object type for which the data has been updated 

 @pSourceKey:- Reference key(Primary key) of the Source object

 @pBatchKey :-Reference key of the transaction batch 

 

@pOperationType:- Valid operation are: Add = 0, Update = 1

 @pUserKey :-The user who has made the changes 

 

3.If we want to generate events of multiple records then we can generate records of each record by below query.


Example:-Select 'exec DataNotification @pSourceType=46, @pSourceKey=''' + CONVERT(VARCHAR(100),productkey) + ''',@pBatchKey=''' + CONVERT(VARCHAR(100),NewID()) + ''', @pOperationType=1,@pUserKey=1'

from INVPRODUCT WITH (NOLOCK) 

It will automatically generate batch no based on data.


4.Run output of query on sql it will generate events.

 

Recommendations /Suggestion:  

This article is created only for the Support team and will be done along  with  product experts.


    • Related Articles

    • Replication not working

      Environment: iVend 6.6 Problem Statement: Replication service not working due to controller application Error Screenshot: Solution: - This issue happened due to there’s an error showing from controller application when customer removed this ...
    • Replication stuck and Not Moving

      Problem: Replication not moving from HO to Specific Store. Symptoms: Replication Log File Not generated and Event Viewer is showing "INVALID CLASS ERROR" What need to be Check : 1. Right Click on My PC 2. Click on Manage 3. Now Go to Services and ...
    • Steps to create New Store in iVend

      Environment iVend 6.6 7989 Query Steps to create New Store in iVend HO MC Answer One can follow our e-Learning Video on Store Creation from below link/ portal: It is also suggested to create Store backup file from iVend Enterprise MC in downtime when ...
    • Troubleshooting iVend Replication

      Introduction iVend Cloud is a Software as a Service offering that encompasses the full capabilities of the iVend Retail omnichannel solution suite with fully managed services delivered via a hosted infrastructure. iVend Cloud offers seamless ...
    • iVend Price Mismatch on Store, issue was related to replication skipped.

      Product Version: 6.5 Update 6 Problem Statement: INC0012660 : iVend Price Mismatch on Store, issue was related to replication skipped. Proposed Solution: This issue can be resolved by sql query. Issue is only reported on dated version iVend ver. 6.5 ...