Discussions
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.