From 22490e863561a9cf85306a5028b91d6d42ffd629 Mon Sep 17 00:00:00 2001 From: Najib El-Husseini Date: Fri, 13 Nov 2026 12:36:09 +0000 Subject: [PATCH] Updated entry Customer Order Sync Creates Duplicate Cancelled and Invoiced Orders in PROD on 2026-11-13 --- .../✅ CustomerHub Development Summary.md | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/dev-summary/✅ CustomerHub Development Summary.md b/dev-summary/✅ CustomerHub Development Summary.md index 9161541..8b1d584 100644 --- a/dev-summary/✅ CustomerHub Development Summary.md +++ b/dev-summary/✅ CustomerHub Development Summary.md @@ -336,4 +336,28 @@ - 2026-11-13 **Implementation Hours** -- 3 \ No newline at end of file +- 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 \ No newline at end of file