Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][ADD] stock_available_to_promise_release_restrict_lot #943

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

sbejaoui
Copy link
Contributor

When both stock_available_to_promise_release and stock_restrict_lot modules are installed, the calculation of quantities available to promise doesn't properly account for lot restrictions. This results in a priority conflict, where higher-priority moves that are restricted to a specific lot receive available quantities from any lot, bypassing their lot restriction.

This glue module enhances stock move allocation by:

  • Allowing stock moves to respect both priority and specific lot allocations.
  • Ensuring that available quantities are promised according to move priority, but only when the lot matches the restriction.

@sbejaoui sbejaoui changed the title [ADD] stock_available_to_promise_release_restrict_lot [16.0][ADD] stock_available_to_promise_release_restrict_lot Oct 29, 2024
@sbejaoui sbejaoui force-pushed the 16.0-stock_available_to_promise_release_restrict_lot-sbj branch from d757a5c to d564086 Compare October 29, 2024 19:19
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little comment about readability...

@sbejaoui sbejaoui force-pushed the 16.0-stock_available_to_promise_release_restrict_lot-sbj branch from d564086 to 764f1a3 Compare October 30, 2024 07:49
@sbejaoui sbejaoui requested a review from lmignon October 30, 2024 07:50
@sbejaoui sbejaoui force-pushed the 16.0-stock_available_to_promise_release_restrict_lot-sbj branch from 764f1a3 to 6716ca7 Compare October 30, 2024 08:48
@rousseldenis rousseldenis added this to the 16.0 milestone Oct 31, 2024
@sbejaoui sbejaoui force-pushed the 16.0-stock_available_to_promise_release_restrict_lot-sbj branch from 6716ca7 to 2d19580 Compare November 6, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants