use of org.talend.components.netsuite.client.model.RecordTypeDesc in project components by Talend.
the class NetSuiteClientServiceIT method testRetrieveAllCustomizations.
@Test
public void testRetrieveAllCustomizations() throws Exception {
NetSuiteClientService<?> connection = webServiceTestFixture.getClientService();
connection.login();
StopWatch stopWatch = new StopWatch();
stopWatch.start();
for (RecordTypeDesc recordType : Arrays.asList(RecordTypeEnum.OPPORTUNITY, RecordTypeEnum.CALENDAR_EVENT)) {
TypeDesc typeDesc = connection.getMetaDataSource().getTypeInfo(recordType.getTypeName());
logger.debug("Record type desc: {}", typeDesc.getTypeName());
}
stopWatch.stop();
}
Aggregations