Forum - Question regarding handling of legal deposits

Tagged: 

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by Ori Miller.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #73673
    Jørgen Jegsen
    Participant

    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 Jegsen

    #73679
    Jørgen Jegsen
    Participant

    Hi again.

    Can anyone from ExLibris please comment on my question?

    /Jørgen

    #74035
    Ori Miller
    Keymaster

    Hi 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.

    #74053
    Ori Miller
    Keymaster

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.