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

Credit memo: Salable Quantity Greater than Quantity #2773

Closed
dhanus07 opened this issue Dec 18, 2019 · 16 comments
Closed

Credit memo: Salable Quantity Greater than Quantity #2773

dhanus07 opened this issue Dec 18, 2019 · 16 comments
Assignees
Labels
Projects

Comments

@dhanus07
Copy link

Preconditions (*)

  1. Magento 2.3.0 or 2.3.3 with Magento Inventory (a.k.a MSI) functionality
  2. Simple product is created.

Steps to reproduce (*)

  1. Create an order with the simple product.
  2. Change SKU of ordered product.
  3. Create an invoice.
  4. Create a credit memo. (mark "Return to Stock")

Expected result (*)

The salable quantity should not be greater than the quantity
Screenshot (6)

Actual result (*)

The salable quantity is greater than the quantity
Screenshot (5)

@m2-assistant
Copy link

m2-assistant bot commented Dec 18, 2019

Hi @dhanus07. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@dhanus07 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@mageprashant
Copy link

@magento give me 2.4-develop instance - upcoming 2.4.x release

@magento-engcom-team
Copy link
Contributor

Hi @mageprashant. Thank you for your request. I'm working on Magento 2.4-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @mageprashant, here is your Magento instance.
Admin access: https://i-26095-2-4-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@ajijshekh123 ajijshekh123 self-assigned this Dec 18, 2019
@m2-assistant
Copy link

m2-assistant bot commented Dec 18, 2019

Hi @ajijshekh123. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@ajijshekh123
Copy link

Give me @magento give me 2.4-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @ajijshekh123. Thank you for your request. I'm working on Magento 2.4-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @ajijshekh123, here is your Magento instance.
Admin access: https://i-26095-2-4-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@ajijshekh123 ajijshekh123 removed their assignment Dec 20, 2019
@engcom-Echo engcom-Echo self-assigned this Dec 20, 2019
@m2-assistant
Copy link

m2-assistant bot commented Dec 20, 2019

Hi @engcom-Echo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Echo
Copy link
Contributor

Hello @dhanus07

Could you provide more details for reproduce this issue?
How many orders did you need to place to reproduce this problem?
What type of product did you use?

Thank you!

@dhanus07
Copy link
Author

Hello @engcom-Echo

Actually I got the issue in my store which is almost having around 100 (an order may contain 10 minimum 10 items on average ) orders per day. In this, there may be 15 order cancellation and 10 credit memos will occur on an average.

I couldn't reproduce this issue with 10 orders. But the salable quantity should not be greater than the quantity in any case.
It will be very helpful if you can suggest me a solution.

@engcom-Echo
Copy link
Contributor

Hello @dhanus07

Thank you for contribution and collaboration!
I verified it on the Magento 2.3.3 and can confirm this issue can be reproduced by provided steps.
@sdzhepa Could you please move this Issue into Magento Inventory repository(MSI) where it can be fixed?

@m2-assistant
Copy link

m2-assistant bot commented Dec 20, 2019

Hi @sdzhepa. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Echo engcom-Echo removed their assignment Dec 20, 2019
@dhanus07
Copy link
Author

Any updates on this issue?

@ishakhsuvarov ishakhsuvarov transferred this issue from magento/magento2 Jan 6, 2020
@novikor novikor changed the title Salable Quantity Greater than Quantity Credit memo: Salable Quantity Greater than Quantity Jan 21, 2020
@dhanus07
Copy link
Author

@sdzhepa Any updates on this issue ??? This is issue occurring most often. do you have any patch for this issue in Magento 2.3.0?

@jorgb90
Copy link

jorgb90 commented Jan 23, 2020

@dhanus07 I think you can correct these differences by using the following CLI command:

bin/magento inventory:reservation:list-inconsistencies -r | bin/magento inventory:reservation:create-compensations

@sidolov sidolov added the Bug label Feb 6, 2020
@sidolov sidolov added this to Pull Request In Progress in Backlog Feb 11, 2020
@sidolov sidolov moved this from Pull Request In Progress to Done in Backlog Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Backlog
  
Done
Development

No branches or pull requests

9 participants