Incorrect DataObject Is Getting Returned For Suppliers (Doc ID 2293585.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 and later
Information in this document applies to any platform.

Symptoms

While using the following code to display object name, system is returning NULL for Suppliers. But is working correctly for other classes.

import com.agile.agileDSL.ScriptObj.IBaseScriptObj
import com.agile.px.IObjectEventInfo
void invokeScript(IBaseScriptObj scriptObj) {
// set up closures for logging
logMonitor = { m -> scriptObj.logMonitor(m) };
IObjectEventInfo objectInfo = (IObjectEventInfo) scriptObj.getPXEventInfo();
if (objectInfo.getDataObject() == null) {
logMonitor("DataObject is null!");
} else {
logMonitor("DataObject is NOT null! Object name = '" +
objectInfo.getDataObject().getName() + "'.");
}
}

The Event Monitor is showing the following message

DataObject is NOT null! Object name ='null'.

 

 

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