Agile (MOSC)

MOSC Banner

Agile 9.3.6 SDK Manufacturer Part update (setValue) page2 attribute

edited May 1, 2018 3:09PM in Agile (MOSC) 6 commentsAnswered ✓

We are having issues updating any Manufacturer Part fields on Title block and Page 2 using SDK.  Any reason we would not be able to continue doing this in 9.3.6?  This works in 9.3.2:

Code:

Map<Integer, String> params = new HashMap<Integer, String>();
params.put(ManufacturerPartConstants.ATT_GENERAL_INFO_MANUFACTURER_NAME, “HODGE PRODUCTS INC(HODGE)”);
params.put(ManufacturerPartConstants.ATT_GENERAL_INFO_MANUFACTURER_PART_NUMBER, “100-TEST-TDV”);
IManufacturerPart mfrpart = (IManufacturerPart) (agileSession
.getObject(ManufacturerPartConstants.CLASS_MANUFACTURER_PART, params));
System.out.println(mfrpart.getValue(ManufacturerPartConstants.ATT_PAGE_TWO_TEXT02));

mfrpart.setValue(ManufacturerPartConstants.ATT_PAGE_TWO_TEXT02, “mohansee”);

Error Details:

java.rmi.RemoteException: EJB Exception: ; nested exception is:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center