Page 1 of 1

[Released] Stock Transfer Issue - No Storage Device Found

Posted: Tue Sep 19, 2023 3:02 pm
by sultan_kazi_
Hello,

I am currently facing an issue while attempting to perform a stock transfer using the /api/v1.0/companies/{companyID}/stockTransfer/ endpoint. The objective is to transfer stock from the 'Warehouse' storage device to the 'Sold via Website' storage device. However, I am encountering an error message stating, "No storage device exists in the provided company."

I have double checked this to ensure that the storage devices exists on our enterprise sandbox Simpro - and they do.

I tried updating the name of the storage devices using Simpro API and this is working as well.

This is working if I am doing the stock transfer manually on Simpro. Just while doing it while using the API, I am getting this error. Please check the attachments.

I am using enterprise-sandbox-uk.simprosuite.com for local development.

Any help would be really appreciated!

Thanks a lot.

Re: Stock Transfer Issue - No Storage Device Found

Posted: Wed Sep 20, 2023 1:01 am
by Sindre
Hi sultan_kazi,
I've tested the stock transfer endpoint and it's working as expected/

Could you please include the json being used in your POST request, either on private message or here on the forum.

Regards

Re: Stock Transfer Issue - No Storage Device Found

Posted: Fri Sep 22, 2023 4:48 am
by Sindre
Hi sultan_kazi,
Thank you for reporting this.

I've now been able to reproduce this on a multi-company build and I can confirm that there is a bug causing this to happen for some multi property setups.

I have created a ticket and we will fix this in a future release. Please note that I am unable to give a timeframe for when it's being released but please follow our release notes for updates.

regards

Re: [Released] Stock Transfer Issue - No Storage Device Found

Posted: Thu Nov 14, 2024 5:54 pm
by glenn.kyte
Hello

I seem to be having this issue with our uta recent build - getting error msg {"path":"\/SourceStorageDeviceID","message":"Storage Device Not Found.","value":null}]

Json set to endpoint ending simprocloud.com/api/v1.0/companies/4/stockTransfer/ using storage device IDs retrieved with /api/v1.0/companies/4/storageDevices/

{
"SourceStorageDeviceID": 8,
"TransferDate": "2024-11-14",
"Items": [
{
"DestinationStorageDeviceID": 17,
"CatalogID": 53,
"Quantity": 8
}
]
}

Re: [Released] Stock Transfer Issue - No Storage Device Found

Posted: Thu Nov 14, 2024 11:00 pm
by SimproAPITeam
Hi glenn,
If you have already checked that the source storage device exists using the endpoint you mention I suggest you report it to our Simpro helpdesk.
https://helpdesk.simprogroup.com/

Please include your build details and the info you shared below so they can try to replicate the issue and create a defect notice if necessary.

Regards]

Re: [Released] Stock Transfer Issue - No Storage Device Found

Posted: Fri Nov 15, 2024 10:36 am
by glenn.kyte
Thanks

The only reason I posted it on this forum is was told to by the helpdesk !

Will do as you requested

regards
Glenn