Implementing bulk inventory move
A store associate can quickly and effectively move all the products at once from the source location to the destination location, without having to scan every product in the location.
Solution
Understand APIs, services, and other components that are used to implement the bulk inventory move flow.
Location scan
To move inventory in bulk from one location to another location, in the Move
inventory portlet, click Move in bulk. The GET on SIM API
{tenantId}/stores/{storeId}/locations API is called that supports virtual locations, except
for the location with locationId = "PICK-VIRTUAL". When you click the
Next button, the Head on SIM API
{tenantId}/stores/{storeId}/inventory?locationId=<srcLocation> API is called, which
checks the inventory count in the source location and returns the count. If the inventory count is
more than or equal to the value configured for the
isf.ui.bulkmove.maxNumberOfProductSelectionAllowed property, in the
Select location page, a confirmation pop-up window is displayed. You can
confirm to move all products to the destination location. On confirmation, the POST on SIM
API - {tenantId}/stores/{storeId}/move-requests:initiate API is called. A bulk move request
is created and the Bulk move summary page is displayed.
Product scan
If the inventory count is less than the value configured for the
isf.ui.bulkmove.maxNumberOfProductSelectionAllowed property, the Product
selection page is displayed. On calling the GET on SIM API
{tenantId}/stores/{storeId}/inventory?locationId=<srcLocation> API, inventory that is
present in the source location is listed. The product details are populated from MashupId:
isf.move-inventory.bulk-move.getProductsDetailsforSrcLoc, and by default, all products in
the source location are preselected.
If there are more than 10 products, they are distributed across multiple pages. To view more products, scroll down and the next set of products are loaded.
You can search and select the products from the list that you want to move. When you click
Done, a confirmation window is displayed. You can confirm to move all or
selected products to the destination location. On confirmation, the POST on SIM API -
{tenantId}/stores/{storeId}/move-requests:initiate API is called. A bulk move request is
created and the Bulk move summary page is displayed.
Bulk move summary page
Bulk move summary page
and view the status of your bulk move request, whether Completed, In-progress, or Canceled.
Initially, the status of your bulk move request will be in In-progress status. In this status, to
view the product list, click the Refresh button. The following APIs are called:GET on SIM API {tenantId}/stores/{storeId}/move-requests/{requestId}?fields=totalRequestedQuantityGET on SIM API {tenantId}/stores/{storeId}/move-requests/{requestId}/move-tasks