var eds = (ExportDeterminationService)oCompany.GetCompanyService().GetBusinessService(ServiceTypes.ExportDeterminationService); var edsDetermination = (ExportDetermination)eds.GetDataInterface(ExportDeterminationServiceDataInterfaces.edsExportDetermination);