예제 #1
0
        private static void ReResolveResearchChecks(string uploadedFile, string disposition)
        {
            CheckManager.Init();

            List <Check> researchChecks = CheckManager.GetResearchChecks();
            List <Check> excelChecks    = CheckManager.GetExcelChecks(uploadedFile, disposition);

            CheckManager.DetermineReResolvedChecks(excelChecks, researchChecks);

            // Remove the set of resolved checks determined above from the Research Table.
            // CheckManager.RemoveReResolvedChecks();
        }
예제 #2
0
        public static void UpdateResearchTableFromOrigenBankFile(string uploadedFile, string disposition)
        {
            CheckManager.Init();

            List <Check> excelChecks    = CheckManager.GetExcelChecks(uploadedFile, disposition);
            List <Check> researchChecks = CheckManager.GetResearchChecks();

            List <CheckViewModel> resolvedChecks = CheckManager.GetResolvedChecks(excelChecks, disposition, researchChecks);

            CheckManager.ResolveResearchChecks(resolvedChecks);

            // Resolving pocket checks is simply a matter of deleting any pocket check
            // whose corresponding research check has been resolved by the preceding call.
            CheckManager.ResolvePocketChecks(resolvedChecks);
        }
예제 #3
0
        private static void ProcessMistakenlyResolvedChecks(string uploadedFile)
        {
            List <Check> mistakenlyResolved = CheckManager.GetExcelChecks(uploadedFile, "DontCare");

            CheckManager.MarkMistakenlyResolvedChecks(mistakenlyResolved);
        }