{"data":{"id":"ACSD-64209","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the cron scheduler retrieves all negotiable quotes without excluding those with the status \"ordered\", causing an email or emails to be triggered.","categories":["B2B","Cron","Emails"],"components":["magento/module-negotiable-quote"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-61/acsd-64209-excludes-ordered-quotes-in-cron-scheduler-to-prevent-email-triggers","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-61/acsd-64209-excludes-ordered-quotes-in-cron-scheduler-to-prevent-email-triggers.md","blobSha":"557cde7863321251269fc4ca0915f1b627f147d9","description":"The cron scheduler retrieves all negotiable quotes without excluding those with the status Ordered, causing an email or emails to be triggered.","stepsToReproduce":"1. On the Admin sidebar, go to Stores > Settings > Configuration > B2B Features and enable Company and B2B Quote. 1. Set Default Expiration Period to 1 in Admin > Stores > Settings > Configuration > Sales > Quotes > General. 1. Create a company, activate it, and log in as the company admin. 1. Add a product to the cart. 1. Request a quote. 1. On the Admin sidebar, go to Sales > Quotes. 1. Select the created quote, and click Send to send the quote back to the buyer. 1. Log in as the company admin on the storefront. 1. Select the quote and click Proceed to checkout to complete the purchase. 1. Check that the status of the quote is Ordered and no more actions are possible on the storefront. 1. Trigger the negotiable_quote_send_emails cron job.","introducedInQpt":"1.1.61","createdFor":["2.4.7-p3"],"documentedRange":"2.4.4 - 2.4.7-p4","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.3 <1.5.2","path":"patches/commerce/ACSD-64209_1.5.0.patch","blobSha":"f87d4d78dd8ac545e3d7cc60aa689fc68f3ef037","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-64209_1.5.0.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-negotiable-quote/Cron/SendEmails.php","change":"modified","package":"magento/module-negotiable-quote"}],"packages":["magento/module-negotiable-quote"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-64209 details"}