My Oracle Support Banner

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

Last updated on AUGUST 03, 2017

Applies to:

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


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




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.