My Products
Help
ErikW
PARTNER

Kitassembly does not respect chosen Warehouse

by ErikW

Hi,

We have a problem when creating a kitassembly, it seems that the transactions are always made with regards to the standard warehouse of the composite article no matter.

We have the following composite article, with these warehouses (02 as standard and 90 as well):

ErikW_0-1704877004797.png
the components are configured likewise:

ErikW_1-1704877057053.png

 

When we try to use the api to create a kitassembly in warehouse 90 using this request body:

{
  "type": "P",
  "hold": {
    "value": false
  },
  "date": {
    "value": "2023-12-10T09:02:07.947Z"
  },
  "itemId": {
    "value": "5432154321"
  },
  "revision": {
    "value": "1"
  },
  "description": {
    "value": "string"
  },
  "warehouse": {
    "value": "90"
  },
  "location":{
    "value": "1"
  },
  "quantity": {
    "value": 1
  }
}
, the transactions occur in warehouse 02(the standard one) regardless what we put in the "warehouse"-field in the body. We would like to be able to chose which warehouse the transactions occur in. Is this possible?

Here you can see the transactional history for warehouse 02 proving that the transactions have occurred there despite our efforts to make them occur in warehouse 90:
ErikW_2-1704877244845.png

 

ErikW_3-1704877255683.png

 

 

The kitassembly itself seems to imply that it has occurred in warehouse 90 but the transactional history shows that the components have been taken from warehouse 02 and likewise for the increase of stock of the composite article. Here you can see the kitassembly:

ErikW_4-1704877464568.png

 


 

1 REPLY 1
Yıldırım
VISMA

by Yıldırım

Hi Erik, I can confirm the issue. This has been escalated as a bug and will be reviewed.

1) Create a KIT Item with multiple Warehouse (Warehouse Details: 1-Default, 2 Optional) 
warehouseDetails_Stock items.jpg

2) POST KIT Assembly with that KIT Item specifying the non-default warehouse in the payload.

{
    "type": "P",
    "hold": {
        "value": false
    },
    "date": {
        "value": "2024-01-17"
    },
    "itemId": {
        "value": "KIT01"
    },
    "revision": {
        "value": "1"
    },
    "description": {
        "value": "string"
    },
    "warehouse": {
        "value": "2"
    },
    "location": {
        "value": "1"
    },
    "quantity": {
        "value": 1
    }
}


Output:
1_api_Kit assembly.jpg

3) Check "Inventory Transaction History", it'll show the movement based on warehouse "1" even though we've specified Warehouse"2"

API_Inventory transaction history.jpg

 

4) Create KIT Assembly manually in the ERP UI with Warehouse "2"
2_UI_Kit assembly.gif

5)  Check "Inventory Transaction History" again. Now, it shows the movement correctly, Warehouse "2"
UI_Inventory transaction history.jpg