After Upgrade to Agile EDM 6.x, Userexit Xedbusr_tor_rr_vr Returns -1 when VAL_FROM and VAL_UNTIL Fields do not have Values

(Doc ID 2371684.1)

Last updated on JUNE 21, 2018

Applies to:

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

Symptoms

The behavior of the Userexit xedbusr_tor_rr_vr has changed from 6.1.x to 6.2.x.

The userexit returns 0 in case the elements in structure are not released (e.g. in case VAL_FROM=01.01.2015, VAL_UNTIL=01.01.1900; respectively in case VAL_FROM or VAL_UNTIL is not empty).
It returns -1 only in case the VAL_FROM and VAL_UNTIL of element in structure is empty.


STEPS TO REPRODUCE

1. Consider this situation:
Simple Lifecycle: 110 -120 -230(released), userexit xedbusr_tor_rr_vr is used as Pre-transition userexit to 230.

Document(e.g. 3D_MODEL) ident. DOC1 in status 120 , VAL_FROM=2017-11-01 , VAL_UNTIL=1900-01-01
Document(e.g. 3D_MODEL) ident. DOC1_1 in status 120 , VAL_FROM=2017-11-01 , VAL_UNTIL=1900-01-01

Document DOC1 has in its structure (T_DOC_STR) document DOC1_1

2. Agile6.2. allows you to change the status of document DOC1 to 230, though document in its structure (DOC1_1) is still in status 120 (and is not released - VAL_FROM=2017-11-01 , VAL_UNTIL=1900-01-01)



Changes

 

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