The purpose of this task is to, prevent voided Goonj encounters from being upserted into Goonj SF. We need to filter out encounters (DispatchReceipt, Activity and Distribution) that were deleted in Salesforce and had the Avni "/delete" external API invoked for them. We should not sync them back to Goonj, due to change in their "isVoided" and "lastModifiedDateTime" fields.
Test this change only in Goonj Sandbox (GoonjUAT on prod).
Steps to reproduce issue:
Login into Goonj salesforce sandbox
Selecte any demand which has anyone of the following: DispatchReceipt, Activity and Distribution
Delete the entity in Salesforce (This would internally invoke the Avni "/delete" external API for them)
Check that the encounter got deleted(isVoided=true) in Avni.
Ensure that it is not synced back to Goonj, due to change in their "isVoided" and "lastModifiedDateTime" fields.
The purpose of this task is to, prevent voided Goonj encounters from being upserted into Goonj SF. We need to filter out encounters (DispatchReceipt, Activity and Distribution) that were deleted in Salesforce and had the Avni "/delete" external API invoked for them. We should not sync them back to Goonj, due to change in their "isVoided" and "lastModifiedDateTime" fields.
Test this change only in Goonj Sandbox (GoonjUAT on prod).
Steps to reproduce issue: