Userexit xstate_nxt_sta Returns No Error Code When a Reservation on a Document Exists and the Transition Fails (Doc ID 1922312.1)

Last updated on JULY 14, 2016

Applies to:

Oracle Agile Engineering Data Management - Version 6.1.2.2 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior
When attempting to change the status of a reserved document receiving error
... No state transition possible, "<>" is reserved by user <>"
but userexit xstate_nxt_sta return code is 0, even though status change did not take place

Expected Behavior
Userexit xstate_nxt_sta should return a return code different from 0

Steps
The issue can be reproduced with the following steps:
1. Start Java Client
2. Open 2-D Drawing mask form
3. Load a drawing with status 110 "In Work" - e.g. "2D Drawing 01-PLM6122_WebServices_Manual.pdf"
4. Execute context menu Organization > Reservation > Reserve - to reserve the document
5. Execute context menu Organization > Status > Change
6. Receive error:
... No state transition possible, "2D Drawing 01-PLM6122_WebServices_Manual.pdf-0-0-0-" is reserved by user "<user name>"

=> Return code cannot be used to check the result (in LogiView)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms