Updated entry Customer Order Sync Creates Duplicate Cancelled and Invoiced Orders in PROD on 2026-11-13

This commit is contained in:
Najib.El-Husseini committed 2026-11-13 12:36:09 +00:00
1 parent bfcf401669
commit 22490e8635
1 file changed
+24
@@ -337,3 +337,27 @@
**Implementation Hours**
- 3
---
### Customer Order Sync Creates Duplicate Cancelled and Invoiced Orders in PROD
**Description**
- Prevent synchronization from creating duplicate *Cancelled* and *Invoiced* Customer Orders in HUB.
- Remove the bulk entity getter used to preload active customer orders.
- Retrieve customer orders directly using the IFS Order Number inside the sync loop.
- Add early exit condition to skip processing when order status is *Cancelled* or *Invoiced*.
- Maintain support for importing non-HUB orders without creating duplicate records.
**JIRA**
- https://hoist-devops.atlassian.net/browse/SCRUM-1115
**Author**
- Najib El-Husseini
**Type**
- Bug
**Date**
- 2026-11-23
**Implementation Hours**
- 5