{"data":{"id":"ACSD-52287","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue with incorrect order status in the archived order grid when asynchronous grid indexing is enabled.","categories":["Order/Checkout"],"components":["magento/module-sales-archive"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-38/acsd-52287-status-of-archived-orders-does-not-change","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-38/acsd-52287-status-of-archived-orders-does-not-change.md","blobSha":"1357e9a727b5f69ab12e215957870afb08da55a0","description":"The status of archived orders does not change from completed to closed on grid after the credit memo was submitted.","stepsToReproduce":"1. Configure Asynchronous Indexing. * On the Admin sidebar, go to Stores > Settings > Configuration. * In the left panel, expand the Advanced section and choose Developer underneath. * Expand the Grid Settings section. * Set Asynchronous indexing to Yes. * Click Save Config. 1. Configure the Order Archive. * On the Admin sidebar, go to Stores > Settings > Configuration. * In the left panel, expand the Sales section and choose Sales underneath. * Expand the Orders, Invoices, Shipments, Credit Memos Archiving section. * Set Enable Archiving to Yes (Leave rest of the configurations as default). * Click Save Config. 1. Place an order in the frontend. 1. Run the cron for order to appear in the Admin Order Grid. 1. Invoice and Ship the order to update the order status to Complete. 1. Run the cron to update the Sales Order Grid with the latest order status. 1. Archive the order. 1. Go to the Archived order grid. 1. Open the archived order and refund the order offline by creating a Credit Memo to make the Order status: Closed. 1. Run the cron for a few times. 1. Check the Archived order grid for the new order status.","introducedInQpt":"1.1.38","createdFor":["2.4.5-p2"],"documentedRange":"2.3.7 - 2.4.6-p2","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.3.7 <2.4.7","path":"patches/commerce/ACSD-52287_2.4.5-p2.patch","blobSha":"13d8677e25a3434ac968d3175e7fda23cf6a03fb","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-52287_2.4.5-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales-archive/Observer/ArchiveGridAsyncUpdateObserver.php","change":"added","package":"magento/module-sales-archive"},{"path":"vendor/magento/module-sales-archive/etc/adminhtml/events.xml","change":"modified","package":"magento/module-sales-archive"}],"packages":["magento/module-sales-archive"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7"],"mage-os":[]},"conditions":{"and":[{"type":"config","path":"dev/grid/async_indexing","match":1}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-52287 details"}