public DfileResolutionSearchView() { InitializeComponent(); m_areas = Scout.Core.Service <IAreaService>(); m_dfile = Scout.Core.Service <IDfileService>(); m_unitOfWork = Scout.Core.Data.GetUnitOfWork(); LoadLists(); }
private bool SerialIsOnDfile() { IDfileService dfile = Scout.Core.Service <IDfileService>(); DfileItem dfileItem = dfile.Repository.GetUnResolvedItemBySerialNumber (dfile.Providers.Data.GetUnitOfWork(), m_facts.SerialNumber); if (dfileItem != null) { m_error = "Unit is on dfile and cannot be received"; return(true); } return(false); }