var ids = (ImportDeterminationService)oCompany.GetCompanyService().GetBusinessService(ServiceTypes.ImportDeterminationService); var idsDetermination = (ImportDetermination)ids.GetDataInterface(ImportDeterminationServiceDataInterfaces.idsImportDetermination);