Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
getCustomization
Hi,
I'm trying out the new v11 API, specifically, the getCustomization() addition. I tried this; seems pretty simple, did I miss something?
CustomizationType custType = new CustomizationType();
custType.setGetCustomizationType(GetCustomizationType.fromString("entityCustomField"));
GetCustomizationResult custResult =
netSuiteStub.getCustomization(custType);
==> the custResult.getStatus().isIsSuccess() returns false.
StatusDetail[] details = custResult.getStatus().getStatusDetail();
for (int i=0; i<details.length; i++) {
System.out.println(details[i].getMessage());
}
==> outputs: An unexpected error occurred.
0