How to break consolidation into inidividual transaction.

How to break consolidation into inidividual transaction.

Environment:

iVend Version 6.6 with SAPB1 9.2

Problem Statement:

How to break consolidation into individual transaction.

Symptoms:

Not Applicable

Resolution/Work Around:

Before performing Break Consolidation, please ensure the following points are checked:

  • Verify in the A/R Credit Memo and A/R Invoice whether the data has already been integrated into SAP against the given consolidation key.
  • If the data is already integrated into SAP:
    • Stop the Integration Service.
    • Cancel the respective A/R Credit Memo / A/R Invoice transactions.
    • Ensure that the inventory impact is ignored from SAP to iVend during this process.                         
Follow the below steps.
1. Take the SAP database backup
2. Stop the Replication on all stores and HO
3. Stop the Integration Service
4. Change the UseTransactionConsolidation to False in CfgEnterprise table

Info
UPDATE CfgEnterprise
SET UseTransactionConsolidation = 0
WHERE UseTransactionConsolidation = 1

5. Change the IsConsolidated to False in ConTrxTransactionMapping table

Info
UPDATE ConTrxTransactionMapping
SET IsConsolidated = 0
WHERE ConsolidatedTransactionKey = 'Put Consolidated Transactionkey'
AND IsConsolidated = 1

6. Mark the stuck event as success

Info
UPDATE RepIntegrationLog
SET Flag = 1, Status = 0, ErrorMessage = 'Manual adjustment'
WHERE SourceType = 200 
AND SourceKey =  'Put Consolidated Transactionkey' 
AND Status = 1

7. Open the individual events

Info
UPDATE RepIntegrationLog SET Flag = 0 
WHERE SourceType = 143 AND Flag = 1 
AND SourceKey IN 
(SELECT TransactionKey FROM ConTrxTransactionMapping 
WHERE     ConsolidatedTransactionKey =  'Put Consolidated Transactionkey')

8. Start the Integration Service
9. Once all the transactions are cleared from the integration monitor then reset the consolidation flag to true

Info
UPDATE CfgEnterprise 
SET UseTransactionConsolidation = 1 
WHERE UseTransactionConsolidation = 0

10. Restart the Replication Service on all stores and HO

Recommendations /Suggestion:

Warning
The above activity must be done in non business hours and the integration/replication monitors must be cleared.