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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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