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

MSI Import does not update quantities in stock #272

Open
roman204 opened this issue May 27, 2023 · 5 comments
Open

MSI Import does not update quantities in stock #272

roman204 opened this issue May 27, 2023 · 5 comments

Comments

@roman204
Copy link

roman204 commented May 27, 2023

Describe the bug
I am having a strange issue with the standalone msi-import. The import itself is working but the quantity in the "stock view" of magento is not updating.

To Reproduce
Steps to reproduce the behavior:

  1. Execute the command import:products:inventory:msi
  2. Open your database tool and open table "inventory_source_item" and check a imported entity
  3. The imported values in the table are correct
  4. Open your database tool and open generated view for stock (in my case "inventory_stock_1") and search for the sku of the importet product -> see the value is not updated.

Sidenote
The strangest thing is, if the csv file (from pacemaker generated) is imported directly with the magento import in the backend, everything works as expected! And another Problem which is maybe related, if only products are imported the saleable quantity is also 0 for all imported products. Even if no stock is imported.

Expected behavior
The stock view should also update.

Screenshots
image

Additional context
Add any other context about the problem here.

Tech specs

  • magento 2.4.5-p1
  • php 8.1
  • mariadb 10.4
  • pacemaker community version
  • version of module techdivision/import is 17.3.8 , version of techdivision/import-cli-simple is 12.1.1 version of module techdivision/import-cli-simple is 4.2.3
  • indexer is on asynchron
@Bullitt300
Copy link
Contributor

Hi @roman204 for the issue and the infos.
Is the db-difference still there after an index run?
I'm confused for the version of import-cli-simple (duplicate)?
Please look at https://github.com/techdivision/import-product/blob/master/CHANGELOG.md and update all importer modules.
If the problem still exists after the update, then we will check this more closely.

@roman204
Copy link
Author

Hi @Bullitt300 , thanks for your attention.
Yes the db-difference is also there after an index run.
Sorry about the version mismatch, i am using import-cli-simple in version 4.2.3. Ok i will do the update and write back.

@roman204
Copy link
Author

roman204 commented Jun 2, 2023

@roman204
Copy link
Author

roman204 commented Jun 2, 2023

@Bullitt300 testet if after update techdivision/import-product to version 25.1.7 and now it works as it should, thanks

@roman204 roman204 closed this as completed Jun 2, 2023
@roman204 roman204 reopened this Jun 27, 2023
@roman204
Copy link
Author

after a second investigation i have to say that sadly this dont work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants