When using the method getEntryByPrimaryKey() from Websphere Product Center (WPC) to retrieve information from a new created entry, you received "null" as the return result.
You cannot getEntryByPrimaryKey() to retrieve the result of a newly created entry. This is working as designed.
You need to save an entry first by calling the method, such as, saveEntryByPrimaryKey(), so that it is stored in the database, before calling getEntryByPrimaryKey() to retrieve the result. The scripting library reference mentions this in the deprecated getCtgItemByPrimaryKey(), but not for getEntryByPrimaryKey().
|Information Management||InfoSphere Master Data Management Server for Product Information Management||AIX, Linux, Solaris||6.0, 9.0, 9.1|
|Information Management||InfoSphere Master Data Management Collaboration Server||AIX, Linux, Solaris||10.0|
Infosphere Master Data Management Collaboration Server
MDM Server for PIM
WebSphere Product Center
InfoSphere MDM Server for PIM
InfoSphere Master Data Management Server for Product Information Management