Forum - Question regarding handling of legal deposits
Tagged: game
- This topic has 3 replies, 2 voices, and was last updated 1 year ago by Ori Miller.
- AuthorPosts
- August 25, 2022 at 8:48 am #73673Jørgen JegsenParticipant
Hi,
We have a rather complicated setup for handling legal deposits. I need to update the status for at PO-Line from “Ready” to “Auto Packaging” when changing PO-Line vendor. This is done in a CloudApp, and the status update needs to be done in order to trigger a letter from Alma.
I have tried to change the status to “”status”:{“value”:”AUTO_PACKAGING”,”desc”:”Auto Packaging”}” and also to “”status”:{“value”:”AUTOPACKAGING”,”desc”:”Auto packaging”}”, but nothing happens.
I fear this behavior is a result of “status” not being an updatable attribute.
Can you please help?
Regards
Jørgen JegsenAugust 30, 2022 at 6:42 am #73679Jørgen JegsenParticipantHi again.
Can anyone from ExLibris please comment on my question?
/Jørgen
September 4, 2022 at 2:05 pm #74035Ori MillerKeymasterHi Jørgen,
True, the “status” field isn’t updatable by API.
The issue here seems too complicated to figure out by discussion in this forum. I guess it would be better to contact Alma Support.
BR,
Ori
Alma Dev.September 13, 2022 at 8:40 pm #74053Ori MillerKeymasterHi Jørgen,
Following more discussions… when you use the PUT-PO-Line API (to change a PO-Line’s vendor) it should work as if you use the UI with “Save and Continue” (the process should continue, and accordingly the status should change automatically). This might not happen in realtime, so the PUT API response might not reflect it, but if you check a few seconds later you should see that the status has changed.
Please test that with a REST client. If it doesn’t work for you we’ll need to investigate further.
Thanks,
Ori - AuthorPosts
- You must be logged in to reply to this topic.