ACSD-54680: B2B Quote for a product with Multiple Assigned Sources can’t be processed.
The ACSD-54680 patch fixes the issue where the B2B Quote for a product with Multiple Assigned Sources can’t be processed. This patch is available when the Quality Patches Tool (QPT) 1.1.40 is installed. The patch ID is ACSD-54680. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.6.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.0 - 2.4.5-p5
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
B2B Quote for a product with Multiple Assigned Sources can’t be processed.
Steps to reproduce:
- Go to Admin > Store > Sources and create two new sources: Source 1 and Source 2.
- Go to Admin > Store > Stocks and create a new Stock: Stock A, assign it to the main website, and assign Source 1 and Source 2 to it.
- Create a Simple product, assign Source 1 and Source 2, and set Qty = 2 for each source. (the salable qty of the product should be 4 as a result).
- Create a Company Account.
- Go to the Storefront and log in to the company account.
- Add the simple product to the shopping cart with qty = 4.
- Open the Shopping cart and click Request a quote button.
- Add a comment and quote name and click Send a Request button.
- Go to Admin > Sales > Quotes.
- Open recently submitted quote.
Expected results:
The items quoted contains the ordered product.
Actual results:
The items quoted page section is empty, and it is not possible to process the quote.var/log/system.log
contains
report.CRITICAL: TypeError: number_format() expects parameter 1 to be float, null given in .../vendor/magento/module-negotiable-quote/Model/QuoteUpdatesInfo.php:232
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.