private void Do_employer_expense_matching( IReconciliator <ActualBankRecord, BankRecord> reconciliator, IReconciliationInterface <ActualBankRecord, BankRecord> reconciliation_interface) { Filter_for_all_expense_transactions_from_actual_bank_in(reconciliator); Filter_for_all_wages_rows_and_expense_transactions_from_expected_in(reconciliator); reconciliator.Set_match_finder(Find_expense_matches); reconciliator.Set_record_matcher(Match_expense_records); reconciliation_interface.Do_semi_automatic_matching(); reconciliator.Refresh_files(); Remove_expense_rows_that_didnt_get_matched(reconciliator); reconciliator.Reset_match_finder(); reconciliator.Reset_record_matcher(); }
public void Do_transaction_matching( IReconciliator <CredCard2Record, CredCard2InOutRecord> reconciliator, IReconciliationInterface <CredCard2Record, CredCard2InOutRecord> reconciliation_interface) { Filter_matching_transactions_from_cred_card2(reconciliator); Filter_matching_transactions_from_cred_card2_in_out(reconciliator); reconciliator.Set_match_finder(Find_matches); reconciliator.Set_record_matcher(Match_specified_records); reconciliator.Rewind(); reconciliation_interface.Do_semi_automatic_matching(); reconciliator.Refresh_files(); reconciliator.Reset_match_finder(); reconciliator.Reset_record_matcher(); }
private void Do_employer_expense_matching <TThirdPartyType, TOwnedType>( IReconciliator <TThirdPartyType, TOwnedType> reconciliator, IReconciliationInterface <TThirdPartyType, TOwnedType> reconciliation_interface) where TThirdPartyType : ICSVRecord, new() where TOwnedType : ICSVRecord, new() { Filter_for_all_expense_transactions_from_actual_bank_in(reconciliator); Filter_for_all_wages_rows_and_expense_transactions_from_expected_in(reconciliator); reconciliator.Set_match_finder(Find_expense_matches); reconciliator.Set_record_matcher(Match_specified_records); reconciliation_interface.Do_semi_automatic_matching(); reconciliator.Refresh_files(); reconciliator.Reset_match_finder(); reconciliator.Reset_record_matcher(); }
public void Debug_preliminary_stuff <TThirdPartyType, TOwnedType>(IReconciliator <TThirdPartyType, TOwnedType> reconciliator) where TThirdPartyType : ICSVRecord, new() where TOwnedType : ICSVRecord, new() { List <ConsoleLine> all_expense_transactions_from_actual_bank_in = Get_all_expense_transactions_from_actual_bank_in(reconciliator); _input_output.Output_line("***********"); _input_output.Output_line("All Expense Transactions From ActualBank In:"); _input_output.Output_all_lines(all_expense_transactions_from_actual_bank_in); List <ConsoleLine> all_expense_transactions_from_expected_in = Get_all_wages_rows_and_expense_transactions_from_expected_in(reconciliator); _input_output.Output_line("***********"); _input_output.Output_line("All Expense Transactions From Expected In:"); _input_output.Output_all_lines(all_expense_transactions_from_expected_in); reconciliator.Refresh_files(); _input_output.Get_input(ReconConsts.EnterAnyKeyToContinue); }