﻿<?xml version="1.0" encoding="utf-16"?>
<JiwaDocument xmlns:jiwa="http://www.jiwa.com.au/xml/schemas" Type="JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin">
  <RecID>35484a45-dbb8-4474-8a9a-a6911aaa0d69</RecID>
  <Name>Export EFT Batch to ABA File With Balancing</Name>
  <Description>Adds an option to the ribbon on the Creditor Cheque Payments form to allow export to ABA file.&amp;#13;&amp;#10;&amp;#13;&amp;#10;Includes balancing record</Description>
  <IsEnabled>true</IsEnabled>
  <IsIsolatedToOwnAppDomain>false</IsIsolatedToOwnAppDomain>
  <ExecutionOrder>0</ExecutionOrder>
  <Author>Jiwa Financials</Author>
  <Version>7.0.150.0</Version>
  <Code>Imports JiwaFinancials.Jiwa
Imports Microsoft.VisualBasic
Imports System.Windows.Forms
Imports System.Data.SqlClient
Imports System.Drawing
Imports System.Data

Public Class FormPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaFormPlugin

    Public Overrides Function InitializeLifetimeService() As Object
        ' returning null here will prevent the lease manager
        ' from deleting the Object.
        Return Nothing
    End Function

    Public Sub SetupBeforeHandlers(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.SetupBeforeHandlers
    End Sub

    Public Sub Setup(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.Setup
		Dim chequePaymentForm As JiwaCreditorChqPayUI.CreditorChqPay = DirectCast(JiwaForm, JiwaCreditorChqPayUI.CreditorChqPay)
			
		Dim group As Infragistics.Win.UltraWinToolbars.RibbonGroup = chequePaymentForm.UltraToolbarsManager1.Ribbon.Tabs("Utilities").Groups("Other")
		If group Is Nothing Then
			group = New Infragistics.Win.UltraWinToolbars.RibbonGroup("Other", "Other")			
			chequePaymentForm.UltraToolbarsManager1.Ribbon.Tabs("Utilities").Groups.Add(group)
		End If

		Dim newTool As New Infragistics.Win.UltraWinToolbars.ButtonTool("Make ABA EFT File")        
        newTool.SharedProps.Caption = "Make ABA EFT File"
        chequePaymentForm.UltraToolbarsManager1.Tools.Add(newTool)
		group.Tools.AddTool("Make ABA EFT File")
        group.Tools("Make ABA EFT File").InstanceProps.MinimumSizeOnRibbon = Infragistics.Win.UltraWinToolbars.RibbonToolSize.Normal
			
		AddHandler chequePaymentForm.UltraToolbarsManager1.ToolClick, AddressOf chequePaymentForm_Toolbar_ToolClick
    End Sub
		
	Public Sub chequePaymentForm_Toolbar_ToolClick(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinToolbars.ToolClickEventArgs)
		Dim chequePaymentForm As JiwaCreditorChqPayUI.CreditorChqPay = DirectCast(sender, Infragistics.Win.UltraWinToolbars.UltraToolbarsManager).DockWithinContainer
			
        If e.Tool.Key = "Make ABA EFT File" Then
			Dim abaFileContents As String = ""

	        If chequePaymentForm.CRChequePayObject.BatchNo.Trim.Length &gt; 0 Then
	            chequePaymentForm.DialogSave.FileName = chequePaymentForm.CRChequePayObject.BatchNo.Trim &amp; ".aba"
	        Else
	            chequePaymentForm.DialogSave.FileName = ""
	        End If

	        chequePaymentForm.DialogSave.OverwritePrompt = False

	        chequePaymentForm.DialogSave.Filter = "ABA Files (*.aba)|*.aba" &amp; "|All Files (*.*)|*.*"

	        If chequePaymentForm.DialogSave.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
	            If chequePaymentForm.DialogSave.FileName.Trim.Length &gt; 0 Then
	                If My.Computer.FileSystem.FileExists(chequePaymentForm.DialogSave.FileName) Then
	                    If MsgBox("File " &amp; chequePaymentForm.DialogSave.FileName &amp; " already exists.  Overwrite ?", CType(MsgBoxStyle.Question + MsgBoxStyle.YesNo, MsgBoxStyle), "Overwite Existing File") = MsgBoxResult.No Then
	                        Exit Sub
	                    End If
	                    My.Computer.FileSystem.DeleteFile(chequePaymentForm.DialogSave.FileName)
	                Else
	                    My.Computer.FileSystem.WriteAllText(chequePaymentForm.DialogSave.FileName, String.Empty, False, System.Text.Encoding.Default)
	                End If

	                abaFileContents = MakeABAText(chequePaymentForm)
	                My.Computer.FileSystem.WriteAllText(chequePaymentForm.DialogSave.FileName, abaFileContents, True, System.Text.Encoding.Default)
	                MsgBox(chequePaymentForm.DialogSave.FileName &amp; " Saved.")
	            End If
	        End If
        End If
    End Sub
		
	Public Function MakeABAText(ByVal ChequePaymentForm As JiwaCreditorChqPayUI.CreditorChqPay) As String
        Dim DirectEntryUserID As String = chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.UserIdentificationNumber

        Dim textOut As String = "0" _
           &amp; Space(17) _
           &amp; "01" _
           &amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.EFTBankCode &amp; Space(3), 3) _
           &amp; Space(7) _
           &amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountName &amp; Space(26), 26) _
           &amp; Strings.Right("000000" &amp; DirectEntryUserID, 6) _
           &amp; Strings.Left("Jiwa " &amp; chequePaymentForm.CRChequePayObject.BatchNo &amp; Space(12), 12)

        textOut += Strings.Right("00" &amp; Mid(JiwaApplication.Manager.Instance.Database.FormatDate(chequePaymentForm.CRChequePayObject.ActivationDate), 13, 2), 2) _
                &amp; Strings.Right("00" &amp; Mid(JiwaApplication.Manager.Instance.Database.FormatDate(chequePaymentForm.CRChequePayObject.ActivationDate), 10, 2), 2) _
                &amp; Strings.Right("00" &amp; Mid(JiwaApplication.Manager.Instance.Database.FormatDate(chequePaymentForm.CRChequePayObject.ActivationDate), 7, 2), 2)

        textOut += Space(40) &amp; System.Environment.NewLine

        Dim RecordCount As Integer = 0
        Dim TotalCredits As Double
        Dim TotalDebits As Double

        For Each lCreditor As JiwaCreditorChqPay.Creditor In chequePaymentForm.CRChequePayObject.Creditors
            If lCreditor.ChequeAmount &lt;&gt; 0 Then

                RecordCount = RecordCount + 1

                TotalCredits += lCreditor.ChequeAmount

                textOut += "1" _
                        &amp; Strings.Left(lCreditor.Creditor.BSBN &amp; Space(7), 7) _
                        &amp; Strings.Right(Space(9) &amp; lCreditor.Creditor.BankAccountNo, 9) _
                        &amp; " " _
                        &amp; "50" _
                        &amp; Strings.Right("0000000000" &amp; Trim(Replace(CStr(FormatNumber(lCreditor.ChequeAmount, 2, Nothing, Nothing, 0)), ".", "")), 10) _
                        &amp; Strings.Left(lCreditor.Creditor.BankAccountName &amp; Space(32), 32) _
                        &amp; Strings.Left(If(lCreditor.Creditor.AlternateAccountNo.Trim.Length &gt; 0, lCreditor.Creditor.AlternateAccountNo, chequePaymentForm.CRChequePayObject.BatchNo) &amp; Space(18), 18) _
                        &amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.BSBN &amp; Space(7), 7) _
                        &amp; Strings.Right(Space(9) &amp; chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountNumber, 9) _
                        &amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountName &amp; Space(16), 16) _
                        &amp; "00000000"

                textOut += System.Environment.NewLine
            End If
        Next

		RecordCount = RecordCount + 1	
        TotalDebits = TotalCredits
		
		textOut += "1" _
		&amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.BSBN &amp; Strings.Space(7), 7) _
		&amp; Strings.Right(Strings.Space(9) &amp; chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountNumber, 9) _
		&amp; Strings.Left("T", 1) _
		&amp; "13" _
		&amp; Strings.Right("0000000000" &amp; Trim(Replace(CStr(FormatNumber(TotalDebits, 2, Nothing, 0)), ".", "")), 10) _
		&amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountName &amp; Strings.Space(32), 32) _
		&amp; Strings.Left("Creditors Payments" &amp; Strings.Space(18), 18) _
		&amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.BSBN &amp; Strings.Space(7), 7) _
		&amp; Strings.Right(Space(9) &amp; chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountNumber, 9) _
		&amp; Strings.Left(chequePaymentForm.CRChequePayObject.GLBankLedger.BankDetails.AccountName &amp; Strings.Space(16), 16) _
		&amp; "00000000"

        textOut += "7" _
                &amp; Strings.Left("999-999" &amp; Space(7), 7) _
                &amp; Space(12) _
                &amp; Strings.Right("0000000000" &amp; Trim(Replace(CStr(FormatNumber(TotalCredits - TotalDebits, 2, Nothing, 0)), ".", "")), 10) _
                &amp; Strings.Right("0000000000" &amp; Trim(Replace(CStr(FormatNumber(TotalCredits, 2, Nothing, Nothing, 0)), ".", "")), 10) _
                &amp; Strings.Right("0000000000" &amp; Trim(Replace(CStr(FormatNumber(TotalDebits, 2, Nothing, Nothing, 0)), ".", "")), 10) _
                &amp; Space(24) _
                &amp; Strings.Right("000000" &amp; RecordCount, 6) _
                &amp; Space(40)

        textOut += System.Environment.NewLine
        				
        Return textOut
    End Function
End Class

Public Class BusinessLogicPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaBusinessLogicPlugin

    Public Overrides Function InitializeLifetimeService() As Object
        ' returning null here will prevent the lease manager
        ' from deleting the Object.
        Return Nothing
    End Function

    Public Sub Setup(ByVal JiwaBusinessLogic As JiwaApplication.IJiwaBusinessLogic, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaBusinessLogicPlugin.Setup
    End Sub

End Class

Public Class ApplicationManagerPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaApplicationManagerPlugin

    Public Overrides Function InitializeLifetimeService() As Object
        ' returning null here will prevent the lease manager
        ' from deleting the Object.
        Return Nothing
    End Function

    Public Sub Setup(ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaApplicationManagerPlugin.Setup
    End Sub

End Class

Public Class CustomFieldPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaCustomFieldPlugin

    Public Overrides Function InitializeLifetimeService() As Object
        ' returning null here will prevent the lease manager
        ' from deleting the Object.
        Return Nothing
    End Function

    Public Sub FormatCell(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Col As Integer, ByVal Row As Integer, ByVal HostObject As JiwaApplication.IJiwaCustomFieldValues, ByVal CustomField As JiwaApplication.CustomFields.CustomField, ByVal CustomFieldValue As JiwaApplication.CustomFields.CustomFieldValue) Implements JiwaApplication.IJiwaCustomFieldPlugin.FormatCell
    End Sub

    Public Sub ReadData(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Row As Integer, ByVal HostObject As JiwaApplication.IJiwaCustomFieldValues, ByVal CustomField As JiwaApplication.CustomFields.CustomField, ByVal CustomFieldValue As JiwaApplication.CustomFields.CustomFieldValue) Implements JiwaApplication.IJiwaCustomFieldPlugin.ReadData
    End Sub

    Public Sub ButtonClicked(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Col As Integer, ByVal Row As Integer, ByVal HostObject As JiwaApplication.IJiwaCustomFieldValues, ByVal CustomField As JiwaApplication.CustomFields.CustomField, ByVal CustomFieldValue As JiwaApplication.CustomFields.CustomFieldValue) Implements JiwaApplication.IJiwaCustomFieldPlugin.ButtonClicked
    End Sub

End Class

Public Class LineCustomFieldPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaLineCustomFieldPlugin

    Public Overrides Function InitializeLifetimeService() As Object
        ' returning null here will prevent the lease manager
        ' from deleting the Object.
        Return Nothing
    End Function

    Public Sub FormatCell(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Col As Integer, ByVal Row As Integer, ByVal HostItem As JiwaApplication.IJiwaLineCustomFieldValues, ByVal CustomField As JiwaApplication.CustomFields.CustomField, ByVal CustomFieldValue As JiwaApplication.CustomFields.CustomFieldValue) Implements JiwaApplication.IJiwaLineCustomFieldPlugin.FormatCell
    End Sub

    Public Sub ReadData(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Row As Integer, ByVal HostItem As JiwaApplication.IJiwaLineCustomFieldValues, ByVal CustomField As JiwaApplication.CustomFields.CustomField, ByVal CustomFieldValue As JiwaApplication.CustomFields.CustomFieldValue) Implements JiwaApplication.IJiwaLineCustomFieldPlugin.ReadData
    End Sub

    Public Sub ButtonClicked(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Col As Integer, ByVal Row As Integer, ByVal HostItem As JiwaApplication.IJiwaLineCustomFieldValues, ByVal CustomField As JiwaApplication.CustomFields.CustomField, ByVal CustomFieldValue As JiwaApplication.CustomFields.CustomFieldValue) Implements JiwaApplication.IJiwaLineCustomFieldPlugin.ButtonClicked
    End Sub

End Class

Public Class SystemSettingPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaSystemSettingPlugin

    Public Overrides Function InitializeLifetimeService() As Object
        ' returning null here will prevent the lease manager
        ' from deleting the Object.
        Return Nothing
    End Function

    Public Sub FormatCell(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Col As Integer, ByVal Row As Integer, ByVal SystemSetting As JiwaApplication.SystemSettings.Setting) Implements JiwaApplication.IJiwaSystemSettingPlugin.FormatCell
    End Sub

    Public Sub ReadData(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Row As Integer, ByVal SystemSetting As JiwaApplication.SystemSettings.Setting) Implements JiwaApplication.IJiwaSystemSettingPlugin.ReadData
    End Sub

    Public Sub ButtonClicked(ByVal BusinessLogicHost As JiwaApplication.IJiwaBusinessLogic, ByVal GridObject As JiwaApplication.Controls.JiwaGrid, ByVal FormObject As JiwaApplication.IJiwaForm, ByVal Col As Integer, ByVal Row As Integer, ByVal SystemSetting As JiwaApplication.SystemSettings.Setting) Implements JiwaApplication.IJiwaSystemSettingPlugin.ButtonClicked
    End Sub

End Class

</Code>
  <ExceptionPolicy>Report</ExceptionPolicy>
  <Language>VisualBasic</Language>
  <PluginFormCollection>
    <PluginForm>
      <RecID>cbe4fa45-1acc-48b5-ba49-c594745cc0ee</RecID>
      <Description>Creditor Cheque Payments</Description>
      <ClassName>JiwaFinancials.Jiwa.JiwaCreditorChqPayUI.CreditorChqPay</ClassName>
    </PluginForm>
  </PluginFormCollection>
  <ReferenceCollection>
    <Reference>
      <RecID>440eb057-013c-4adb-819b-798888379783</RecID>
      <AssemblyFullName>JiwaApplication, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaApplication.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaApplication.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>6fb43a02-5483-4bde-be40-ffc7de938065</RecID>
      <AssemblyFullName>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>mscorlib.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>ed4f8220-90db-4be7-9463-e9bd0edbfad0</RecID>
      <AssemblyFullName>Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>Microsoft.VisualBasic.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>d7848f63-81be-45b6-8dc2-4108e2fd5caf</RecID>
      <AssemblyFullName>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>92209068-ecbe-46c3-8a23-f190d14dcd3e</RecID>
      <AssemblyFullName>System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Windows.Forms.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8511285f-3baf-45dc-ae24-daa2f28e0304</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinToolbars.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>69647fdf-cb1c-4c73-8549-f1c77e8c8598</RecID>
      <AssemblyFullName>Infragistics4.Win.Misc.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.Misc.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.Misc.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e47e7c45-22e4-40b3-87f2-bb9d3c2e5852</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinStatusBar.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>34483e81-7f11-4cd4-b58c-c18c0b253ab9</RecID>
      <AssemblyFullName>FarPoint.Win.Spread, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.Spread.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\FarPoint.Win.Spread.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>c5d232be-9a68-4185-9903-0bc04de5e2aa</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTabControl.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9a734ee7-d9f2-44a2-99b1-1ea2f71521b1</RecID>
      <AssemblyFullName>System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>System.Drawing.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3311edb8-6e20-48b1-bd74-466e1d23148f</RecID>
      <AssemblyFullName>JiwaODBC, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaODBC.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaODBC.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e1b7164d-6a5d-4b93-a581-dcb26f5d88c6</RecID>
      <AssemblyFullName>System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Data.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fed8c961-cab2-4168-b81a-dfb0d0796219</RecID>
      <AssemblyFullName>Infragistics4.Win.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8e26345d-0539-41e1-9cc1-24f764663e79</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinEditors.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f8f836ed-10e8-4ad0-b302-21da393b9760</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinExplorerBar.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>628bf2bf-cceb-41ce-b3f3-cc7b0923c661</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTree.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>aa29ec29-222a-4c83-8c70-758ff1045f80</RecID>
      <AssemblyFullName>System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Xml.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>40cfcc16-9804-4287-bd46-583b8f58b160</RecID>
      <AssemblyFullName>CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.CrystalReports.Engine.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>064ee9a7-1132-4eeb-a4d8-1411901871fe</RecID>
      <AssemblyFullName>CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.Shared.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.Shared\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Shared.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4cffac66-ec6c-4d93-a99a-c92e86d54975</RecID>
      <AssemblyFullName>CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.Windows.Forms.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.Windows.Forms\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Windows.Forms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>70c8341c-ea2c-4060-b12c-636d55eb8e3d</RecID>
      <AssemblyFullName>ZetaHtmlEditControl, Version=1.1.0.3, Culture=neutral, PublicKeyToken=2e2e5ba5da72b6c0</AssemblyFullName>
      <AssemblyName>ZetaHtmlEditControl.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ZetaHtmlEditControl.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>918016b2-073d-4941-9a94-f79317204aa1</RecID>
      <AssemblyFullName>Infragistics4.Win.AppStylistSupport.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a9e57322-88c5-41d9-bd8e-ef9e15f07938</RecID>
      <AssemblyFullName>JiwaLib, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaLib.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaLib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a2f79565-e8ea-4b47-95d8-752ad8555831</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinGrid.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>277a2b99-7c01-46e3-80f0-7afb1062b93a</RecID>
      <AssemblyFullName>Infragistics4.Shared.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Shared.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Shared.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fed002ff-6483-4126-b1e6-9f19b330b9c7</RecID>
      <AssemblyFullName>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Core.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>19e4602c-5607-419b-91bc-496e4977e1f0</RecID>
      <AssemblyFullName>JiwaEncryption, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaEncryption.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaEncryption.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>888794b2-78ba-4ab7-a0a4-5ab122c08ebb</RecID>
      <AssemblyFullName>JiwaSendEmail, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaSendEmail.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaSendEmail.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5ef161d2-24ee-4488-b142-47878b0277f2</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.ClientDoc\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f1073b42-4da7-4af8-814e-3d09ec2ec6dc</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.Controllers\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>102a97fc-1fb3-4408-bd4a-103b5df35c71</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.ReportDefModel\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>0881eecf-c1ae-4c76-a4e3-a62b9c395739</RecID>
      <AssemblyFullName>FarPoint.Win, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\FarPoint.Win.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>74bc9d9d-d9f1-48dc-9cc4-d0bcee668ab9</RecID>
      <AssemblyFullName>System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>System.Security.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Security\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Security.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>db4e7b91-cc8e-4f54-8c0c-f5100f5d5d30</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinSchedule.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>675a10d0-6ffc-4e4d-83d3-528c0b8ad0a4</RecID>
      <AssemblyFullName>JiwaCreditorChqPayUI, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaCreditorChqPayUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaCreditorChqPayUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>142fce26-d76b-4018-b22f-c4b09ec1ea8e</RecID>
      <AssemblyFullName>JiwaCreditorChqPay, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaCreditorChqPay.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaCreditorChqPay.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9ce38479-0f42-4b00-9144-26466762b8bf</RecID>
      <AssemblyFullName>JiwaBankDetailsUI, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaBankDetailsUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaBankDetailsUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a6bfe26f-bddb-4157-865a-f39d4a86b6b7</RecID>
      <AssemblyFullName>JiwaBankDetails, Version=7.0.150.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaBankDetails.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaBankDetails.dll</AssemblyLocation>
    </Reference>
  </ReferenceCollection>
</JiwaDocument>