[Released] Stock Transfer Issue - No Storage Device Found

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
sultan_kazi_
Posts: 5
Joined: Tue Sep 28, 2021 11:17 am

[Released] Stock Transfer Issue - No Storage Device Found

Post by sultan_kazi_ » Tue Sep 19, 2023 3:02 pm

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.
Attachments
Capture.JPG
Capture.JPG (41.76 KiB) Viewed 9037 times
Capture.JPG
Capture.JPG (75.92 KiB) Viewed 9037 times
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Stock Transfer Issue - No Storage Device Found

Post by Sindre » Wed Sep 20, 2023 1:01 am

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
Sindre
API Developer | Simpro Software Group
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: Stock Transfer Issue - No Storage Device Found

Post by Sindre » Fri Sep 22, 2023 4:48 am

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
Sindre
API Developer | Simpro Software Group
glenn.kyte
Posts: 4
Joined: Thu Nov 14, 2024 5:42 pm

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

Post by glenn.kyte » Thu Nov 14, 2024 5:54 pm

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
}
]
}
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

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

Post by SimproAPITeam » Thu Nov 14, 2024 11:00 pm

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]
Simpro API Team | Simpro Software Group
glenn.kyte
Posts: 4
Joined: Thu Nov 14, 2024 5:42 pm

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

Post by glenn.kyte » Fri Nov 15, 2024 10:36 am

Thanks

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

Will do as you requested

regards
Glenn
Post Reply