Update 27.2.202606.155803

Prev Next

Release Date: 04. February

Release Summary

  • Fixed incorrect resetting of Flexible Forecast values after assigning quantities.

  • Quantities are no longer assigned when inventory is zero.

  • Warehouse picks for assembly items now match assigned sales‑line quantities.

  • Improved alignment between forecasting, assigned quantities, and warehouse processes.


Bug Fixes

Flexible Forecast Entries

Assign Quantity user-calculated entries are now reset after running Assign Sales Order Quantity, ensuring correct Available Quantity values in Flexible Forecast.

Previously, Flexible Forecast could show incorrect or blank Available Quantity values if table 6083537 "SCB Assign Qty User Calculated" contained entries where Assign Qty Calculated = true. In this situation, the CalculateInventoryProfile logic in Assign Quantity was bypassed, causing different results for users depending on their existing user-calculated records

This has been fixed so that when report 6082671 "SCB 696 Assign Sales Order Qty" (Assign Sales Order Quantity) is executed, any records it inserts in table 6083537 "SCB Assign Qty User Calculated" are reset and Assign Qty Calculated is set to false after execution. In addition, upgrade logic has been added to reset any existing records in this table, so historic data no longer interferes with the Assign Quantity calculation.

As a result, Flexible Forecast now uses the correct inventory profile calculation for all users, and the Available Quantity fields in the Flexible Forecast Line table are calculated consistently.

Assign Quantity on Sales Order

Fixed issue where quantity was automatically assigned to sales lines even when no inventory was available.

Previously, when Automatic Assign to Sales Lines in the Assign Quantity app was enabled together with Default Item Quantity in Sales & Receivables Setup, the system could assign quantity to a new sales line even if there was no inventory available at the selected location.

The allocation logic in codeunit 6082753 "SCB 696 Assign Quantity" has been updated so that, when a sales line is not yet inserted, the inventory calculation is based on an outstanding quantity of 0. As a result, no quantity is assigned if inventory is zero at the given location.

This ensures that automatically assigned quantities now respect the actual inventory level and prevents creating sales lines with quantities that cannot be fulfilled.

Assign Quantity on Warehouse Pick

Fix issue where warehouse picks for assembly items ignored assigned quantity on the sales line and always created picks for the full order quantity instead of the assigned quantity.

Previously, when working with assembly items and using Assign Quantity on the sales line, the warehouse pick did not respect the assigned quantity. In the following scenario:

  1. Create a Sales Order.

  2. Add an assembly item with quantity 10.

  3. Set Qty. to Ship to 8 (via warehouse flow).

  4. Create Warehouse Shipment.

  5. Create Pick.

The system created a pick for quantity 10 instead of the assigned/expected 8, and the related Assembly Order was not updated in line with the assigned quantity and flexibility on the sales line.

With this fix:

  • The Assign Quantity logic on the Sales Line for assembly items is aligned with Microsoft’s standard behavior and assembly constraints.

  • A pick is now created only for the quantity that is actually assigned/expected to be shipped (in the example above: 8).

  • The Assembly Order is updated consistently with the assigned quantity from the sales line, and the assignment flexibility is correctly locked according to the assignment.

This ensures that warehouse picks, assembly orders, and the Assign Quantity functionality are synchronized, so users can rely on the assigned quantity on sales lines when working with assembly items without violating standard Business Central behavior.