{"id":21619042,"url":"https://github.com/ho-nl/magento2-reachdigital_inventorysourcereservations","last_synced_at":"2025-03-18T18:19:53.644Z","repository":{"id":147832732,"uuid":"137863718","full_name":"ho-nl/magento2-ReachDigital_InventorySourceReservations","owner":"ho-nl","description":"Adds Source Reservation support","archived":false,"fork":false,"pushed_at":"2021-07-14T10:55:11.000Z","size":246,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-24T21:28:38.389Z","etag":null,"topics":["msi"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ho-nl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-19T08:38:29.000Z","updated_at":"2024-11-15T23:28:26.000Z","dependencies_parsed_at":"2023-05-27T15:45:11.606Z","dependency_job_id":null,"html_url":"https://github.com/ho-nl/magento2-ReachDigital_InventorySourceReservations","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ho-nl%2Fmagento2-ReachDigital_InventorySourceReservations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ho-nl%2Fmagento2-ReachDigital_InventorySourceReservations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ho-nl%2Fmagento2-ReachDigital_InventorySourceReservations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ho-nl%2Fmagento2-ReachDigital_InventorySourceReservations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ho-nl","download_url":"https://codeload.github.com/ho-nl/magento2-ReachDigital_InventorySourceReservations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244277179,"owners_count":20427312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["msi"],"created_at":"2024-11-24T23:07:44.639Z","updated_at":"2025-03-18T18:19:53.638Z","avatar_url":"https://github.com/ho-nl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 Inventory Source Reservations\n\nAbility to register reservations on sources. Allows us to defer the actual\nsource deduction further by allowing us to reserve qty's on the source.\n\nThis allows us to create other functionalities on top:\n\n- [https://github.com/ho-nl/magento2-ReachDigital_InventoryOrderSourceReservations](ReachDigital_InventoryOrderSourceReservations) Introduce source reservation for all orders placed.\n- [https://github.com/ho-nl/magento2-ReachDigital_ShConnector](ReachDigital_ShConnector) Specific warehouse integration.\n- [https://github.com/ho-nl/magento2-ReachDigital-TransferOrdersES] Reserve incoming inventory\n\n## API\n\n- [AppendReservations](https://github.com/ho-nl/magento2-ReachDigital_InventorySourceReservations/blob/master/ISReservationsApi/Model/AppendReservationsInterface.php):\n  Allows us to append new reservations for a given SKU.\n- [GetSourceReservationsQuantity](https://github.com/ho-nl/magento2-ReachDigital_InventorySourceReservations/blob/master/ISReservationsApi/Model/GetSourceReservationsQuantityInterface.php)\n  Allows us to get the reservations for a certain source.\n\n## Indexer\n\nFirst we create an inventory*source_reservation table where source reservations\ncan be appended to. When the `inventory_stock*\\*` is indexed it will also add\nthe source reservation sums. This updates the aggregated stock ('salable qty')\nwith all the source reservations.\n\nWe now have an accurate stock index with all the source reservations included.\nThere are other parts that don't use the indexed amount, and we need to append the\nsource reservation to the stock reservation:\n[GetSourceReservationsQuantityInterface](https://github.com/ho-nl/magento2-ReachDigital_InventorySourceReservations/blob/master/ISReservationsApi/Model/GetSourceReservationsQuantityInterface.php)\n\n## Commits\n\nA commit is validated with https://github.com/conventional-changelog/commitlint\n\nGittower: Gittower doesn't properly read your PATH variable and thus commit\nvalidation doesn't work. Use `gittower .` to open this repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fho-nl%2Fmagento2-reachdigital_inventorysourcereservations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fho-nl%2Fmagento2-reachdigital_inventorysourcereservations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fho-nl%2Fmagento2-reachdigital_inventorysourcereservations/lists"}