Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
getCustomization and GETALL record required
I'm trying to retrieve the internal Id's for some of our customizations so I can create a complete invoice via WS. I can't retrieve our customization as expected via:
Status status = nsService.login(thisPassport).status;
CustomizationType getType = new CustomizationType();
getType.getCustomizationType = GetCustomizationType.transactionColumnCustomField;
GetCustomizationResult response = nsService.getCustomization(getType);
This returns a error stating "The getAll record type is required" so I'm trying:
Status status = nsService.login(thisPassport).status;
GetAllRecord allCustomization = new GetAllRecord();
allCustomization.recordType = GetAllRecordType.????; <<- I can't determine what goes here.
GetAllResult allResult = nsService.getAll(allCustomization);
nsService.logout();
Should the first example have worked? If not then what approach should I take.