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

    • 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 ...
    • Deletion of Store from iVend

      Product version: iVend 6.5 Update 6, 6.6 with SAPB1 9.2 Problem Statement: Delete store correctly. What is the best way to eliminate a store from the Enterprise? Proposed Solution: Follow the below steps to delete the store from iVend. Steps if any: ...
    • 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 ...
    • While searching product on iVend POS Screen, it doesn't display the incorrect price

      Product Version : iVend 6.5 Update 6 with SAPB1 9.2 Problem Statement: While searching product on iVend POS Screen, it doesn’t display the incorrect price. Proposed Solution :- If price is getting different from view inventory price so need to update ...