Standard Development Kit (SDK) Returns Wrong Substance Count in Manufacturer Part Number (MPN) On Homogeneous Material Declaration (Doc ID 2230447.1)

Last updated on APRIL 03, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 to 9.3.5.0 [Release 9.3]
Oracle Agile Product Governance and Compliance - Version 9.3.3.0 to 9.3.5.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms


ACTUAL BEHAVIOR

MPN's Substance count issue on Homogeneous Material Declaration

In an Event Script when users try to fetch substance count of manufacturer part, code returns a wrong value.

Steps to replicate the issue.
1. Create Declaration.
2. Add Manufacturer Part.
3. Trigger the event script on Workflow Status.
4. Add substance to the Manufacturer Part.
5. Repeat steps 2, 3 and 4 for couple of times.
The event shows Manufacturer Part Number even though it has substances. The same code works fine in stand alone program. Same issue exists with Java Process Extension (Java PX) in event.



EXPECTED BEHAVIOR

The event should validate that each manufacturer Part should contain at least one substance on "Homogeneous Material Declaration" and pop up an error message with MPN's which do no satisfy the criteria.



STEPS

The issue can be reproduced at will with the following steps:
1. Create Declaration.
2. Add Manufacturer Part.
3. Trigger the event script on Workflow Status.
4. Add substance to the Manufacturer Part.
5. Repeat steps 2, 3 and 4 for couple of times.


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