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(); }