﻿<?xml version="1.0" encoding="utf-16"?>
<JiwaDocument xmlns:jiwa="http://www.jiwa.com.au/xml/schemas" Type="JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin">
  <RecID>e55ed3f9-4b33-4530-9612-2a1cc1ec8535</RecID>
  <Name>Purchase Order Custom Email (Custom Subject &amp; Message Body)</Name>
  <Description>Customises the email sent from a purchase order</Description>
  <IsEnabled>true</IsEnabled>
  <IsIsolatedToOwnAppDomain>false</IsIsolatedToOwnAppDomain>
  <ExecutionOrder>0</ExecutionOrder>
  <Author>Jiwa Financials</Author>
  <Version>7.0.82.0</Version>
  <Code>Imports JiwaFinancials.Jiwa
	
Public Class FormPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaFormPlugin
	

    Overrides Public 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
		Dim purchaseOrderForm As JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm = JiwaForm
		AddHandler purchaseOrderForm.UltraToolbarsManager1.ToolClick, AddressOf UltraToolbarsManager1_ToolClick
    End Sub

    Public Sub Setup(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.Setup
    End Sub

	Private Sub UltraToolbarsManager1_ToolClick(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinToolbars.ToolClickEventArgs)
	    Select Case e.Tool.Key
	        Case "ID_RecordEmail"
				Dim purchaseOrderForm As JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm = DirectCast(sender, Infragistics.Win.UltraWinToolbars.UltraToolbarsManager).DockWithinContainer
				EmailPurchaseOrder(purchaseOrderForm)
				Throw New JiwaFinancials.Jiwa.JiwaApplication.Exceptions.ClientCancelledException 
		End Select
	End Sub
	
	Private Sub EmailPurchaseOrder(ByVal PurchaseOrderForm As JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.MainForm,  Optional ByVal ExportFormatType As CrystalDecisions.Shared.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)		
        If PurchaseOrderForm.PurchaseOrder.ChangeFlag Or PurchaseOrderForm.PurchaseOrder.InsertFlag Then
            Throw New System.Exception("Cannot email a purchase order until the changes have been saved.")
        End If

        If PurchaseOrderForm.PurchaseOrder.AbstractPermissionCollection("Email Order").AccessLevel &lt;&gt; JiwaApplication.Security.UserGroup.AccessLevels.Allow Then
            Throw New JiwaApplication.Exceptions.PermissionDeniedException("You do not have sufficient priveleges to email a purchase order.")
        End If

        Dim lNameToGiveAttachment As String = ""
        Dim lEmailTo As String = ""
        Dim lRequestReadReceipt As Boolean
        Dim lFrom As String
        Dim lCC As String = ""
        Dim lBCC As String = ""
        Dim lSubject As String = "Test Subject Line"
        Dim lStaffFname As String = ""
        Dim lStaffSName As String = ""
        Dim lMessage As String = "Test Message box"
        Dim lEmailDisplayName As String = ""
        Dim lEmailAddress As String = ""

        Dim lEM_Main_RecID As String = ""
        Dim lExportReportFormat As Integer
        
        Dim reportDefinition As JiwaApplication.PrintGroup.FormReports.ReportDefinition = PurchaseOrderForm.ReportDefinitionCollection.DefaultReportDefinition

        If reportDefinition Is Nothing Then            
            If Microsoft.VisualBasic.Interaction.MsgBox("No valid report has been defined." &amp; System.Environment.NewLine &amp; "Create report settings now?", Microsoft.VisualBasic.MsgBoxStyle.Information + Microsoft.VisualBasic.MsgBoxStyle.YesNo, "Printer Setup") = Microsoft.VisualBasic.MsgBoxResult.Yes Then
                PurchaseOrderForm.PrinterSetup()                
            End If
            Exit Sub
        End If

       	lNameToGiveAttachment = PurchaseOrderForm.PurchaseOrder.OrderNo
        lEmailTo = PurchaseOrderForm.PurchaseOrder.Creditor.EmailAddress
        If PurchaseOrderForm.PurchaseOrder.Reference.Trim.Length &gt; 0 Then
			lSubject = PurchaseOrderForm.PurchaseOrder.Reference
		End If
        lExportReportFormat = 5
        lStaffFname = JiwaApplication.Manager.Instance.Staff.FName
        lStaffSName = JiwaApplication.Manager.Instance.Staff.SName
        lEmailAddress = JiwaApplication.Manager.Instance.Staff.EmailAddress
        lEmailDisplayName = JiwaApplication.Manager.Instance.Staff.EmailDisplayName
        lFrom = Microsoft.VisualBasic.Strings.Chr(34) &amp; lEmailDisplayName &amp; Microsoft.VisualBasic.Strings.Chr(34) &amp; " &lt;" &amp; lEmailAddress &amp; "&gt;"

        Dim StartParameters(9) As Object
        StartParameters(0) = reportDefinition.Report.Title
        StartParameters(1) = lFrom
        StartParameters(2) = lEmailTo
        StartParameters(3) = lRequestReadReceipt
        StartParameters(4) = lSubject
        StartParameters(5) = lCC
        StartParameters(6) = lBCC
        StartParameters(7) = lMessage
        StartParameters(8) = lNameToGiveAttachment
        StartParameters(9) = lExportReportFormat
        Dim MyEmailOptionsForm As JiwaPurchaseOrdersUI.EmailOptions = JiwaApplication.Manager.Instance.DialogFactory.CreateDialog(Of JiwaPurchaseOrdersUI.EmailOptions)(StartParameters, PurchaseOrderForm)

        If MyEmailOptionsForm.ShowDialog(PurchaseOrderForm) = System.Windows.Forms.DialogResult.OK Then
            lFrom = MyEmailOptionsForm.EmailFrom
            lEmailTo = MyEmailOptionsForm.EmailTo
            lRequestReadReceipt = MyEmailOptionsForm.RequestReadReceipt
            lSubject = MyEmailOptionsForm.Subject
            lCC = MyEmailOptionsForm.CC
            lBCC = MyEmailOptionsForm.BCC
            lMessage = MyEmailOptionsForm.Message
            lNameToGiveAttachment = MyEmailOptionsForm.NameToGiveAttachment
            If lNameToGiveAttachment = "" Then
                lNameToGiveAttachment = PurchaseOrderForm.PurchaseOrder.OrderNo
            End If
            lExportReportFormat = MyEmailOptionsForm.ExportReportFormat

            PurchaseOrderForm.POEmail(reportDefinition.Report, lFrom, lEmailTo, lSubject, lCC, lBCC, lMessage, lNameToGiveAttachment, lEM_Main_RecID, lRequestReadReceipt, lExportReportFormat)

            Dim NewEmailLogEntry As New JiwaPurchaseOrders.EmailLog
            NewEmailLogEntry.EmailDateTime = Microsoft.VisualBasic.DateAndTime.Now
            NewEmailLogEntry.Subject = lSubject
            NewEmailLogEntry.OrderID = PurchaseOrderForm.PurchaseOrder.OrderID
            NewEmailLogEntry.EmailTo = lEmailTo
            NewEmailLogEntry.RequestReadReceipt = lRequestReadReceipt
            NewEmailLogEntry.From = lFrom
            NewEmailLogEntry.CC = lCC
            NewEmailLogEntry.BCC = lBCC
            NewEmailLogEntry.Attachments = lNameToGiveAttachment
            NewEmailLogEntry.Body = lMessage
            NewEmailLogEntry.Staff.ReadRecord(JiwaApplication.Manager.Instance.Database.JiwaLoginUserID)
            NewEmailLogEntry.EM_Main_RecID = lEM_Main_RecID
            PurchaseOrderForm.PurchaseOrder.EmailLogs.Add(NewEmailLogEntry)
            PurchaseOrderForm.SaveRecord()
        End If

    End Sub
End Class

Public Class BusinessLogicPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaBusinessLogicPlugin

    Overrides Public 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

    Overrides Public 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

    Overrides Public 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 JiwaFinancials.Jiwa.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 JiwaFinancials.Jiwa.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 JiwaFinancials.Jiwa.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

    Overrides Public 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 JiwaFinancials.Jiwa.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 JiwaFinancials.Jiwa.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 JiwaFinancials.Jiwa.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>
  <PluginFormCollection>
    <PluginForm>
      <RecID>2898769f-4703-4360-baeb-b49c9f95431f</RecID>
      <Description>Purchase Orders</Description>
      <ClassName>JiwaFinancials.Jiwa.JiwaPurchaseOrdersUI.PurchaseOrders</ClassName>
    </PluginForm>
  </PluginFormCollection>
  <ReferenceCollection>
    <Reference>
      <RecID>8c73f683-f97d-4716-a000-2d79e0d372f8</RecID>
      <AssemblyFullName>JiwaApplication, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaApplication.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaApplication.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>59fd7b4a-a7ad-4332-ade3-20ae8bf2dc43</RecID>
      <AssemblyFullName>mscorlib, Version=2.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>21c6c3b6-843f-4e06-bebb-fca86147308c</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>15394950-86ce-424e-8c4d-177497d9b00b</RecID>
      <AssemblyFullName>System, Version=2.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>ccd98ea2-485c-4ed4-80a7-24f0da6ae492</RecID>
      <AssemblyFullName>System.Windows.Forms, Version=2.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>b459cdda-c645-411a-a27f-f80d4da2e3d4</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>e62ee3b3-9c2c-45f0-8a66-048a679ccaf4</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>44c17274-f371-4ce5-bde9-41f99da37762</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>c328da54-80b7-4953-8cc6-8421291529f8</RecID>
      <AssemblyFullName>FarPoint.Win.Spread, Version=7.35.20132.1, 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>0f080c0a-fccf-4893-b7a6-069062863f13</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>f8b64c7e-9743-47e4-bb0e-a61799206057</RecID>
      <AssemblyFullName>System.Drawing, Version=2.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>72615ac4-886d-4563-8d9c-0ffd7d101467</RecID>
      <AssemblyFullName>System.Data, Version=2.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>38adf8b8-da7d-40d2-a494-42dfbb723ca0</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>78b6b223-2d49-4c4e-9c90-7a82c28cf0ea</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>51dd4dd5-9bda-484b-b8ca-4e8f5cebe705</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>fd7b717e-d0a8-4a3b-9dfa-fcb7ff1fe661</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>9d408fe6-789c-4231-a74e-db095ca607fa</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>a072d0a2-5dbc-40ca-ac13-27abd4bb4a82</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>c44c7b88-fbad-416d-8b31-2ba4f1271b5f</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>59fc2671-8a2c-45be-9453-92be50657c6c</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>e3ca826c-24b1-442e-9e3a-84231ec46f80</RecID>
      <AssemblyFullName>JiwaODBC, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaODBC.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaODBC.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b892e4be-8f05-4722-a0d1-5347bd651a4a</RecID>
      <AssemblyFullName>JiwaLib, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaLib.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaLib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1c3baf38-7768-43c6-a4a6-7ea3692b8d21</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>373c4ded-8ae2-478a-8716-483640639ff3</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>0070ad6c-0987-42f0-9b23-64691c1b66fd</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>215895e2-39e9-435d-8de8-ef9c088e22d6</RecID>
      <AssemblyFullName>JiwaEncryption, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaEncryption.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaEncryption.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>ebe9a406-56a0-4ba8-8bee-f43cbc436e73</RecID>
      <AssemblyFullName>JiwaSendEmail, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaSendEmail.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaSendEmail.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4db4424a-ef7e-448f-8eb1-91b348fe70a7</RecID>
      <AssemblyFullName>System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>System.Management.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>895b56ae-a0a5-4270-9ddc-e05d1fd2cb9b</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>1078cf70-c38f-41a1-9448-dec3e223ed4d</RecID>
      <AssemblyFullName>FarPoint.Win, Version=7.35.20132.1, 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>4a9bacdc-bedf-4605-baef-725b66890bfe</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>f6d9cef2-633b-496a-a3f3-3c0f055f39bd</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>00c5d470-9da9-40cb-bd03-2cd418afea71</RecID>
      <AssemblyFullName>JiwaDebtors, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaDebtors.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaDebtors.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>79731877-f516-4e8d-944e-0ccb8579ceab</RecID>
      <AssemblyFullName>JiwaSerialNumbersUI, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaSerialNumbersUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaSerialNumbersUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f51c94c3-1a1e-4b18-a72f-a08e5a7afb03</RecID>
      <AssemblyFullName>JiwaPurchaseOrdersUI, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaPurchaseOrdersUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaPurchaseOrdersUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9d2bd022-8822-4ea8-b9c3-b0419488f5f3</RecID>
      <AssemblyFullName>System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Xml.Linq.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>235988b0-efbf-4bb6-931b-c99b735d53a6</RecID>
      <AssemblyFullName>JiwaPurchaseOrders, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaPurchaseOrders.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaPurchaseOrders.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b35e3d47-7175-4e16-a9a7-f04cae6d6c5c</RecID>
      <AssemblyFullName>JiwaCreditorsUI, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaCreditorsUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaCreditorsUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>df605762-7d23-41f9-b3cc-8e926336b985</RecID>
      <AssemblyFullName>JiwaInvReceivalUI, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaInvReceivalUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaInvReceivalUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a1fe110d-ad8b-4238-9884-51c9f9a65916</RecID>
      <AssemblyFullName>JiwaInvReceival, Version=7.0.82.0, Culture=neutral, PublicKeyToken=16681e4ff68950ef</AssemblyFullName>
      <AssemblyName>JiwaInvReceival.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaInvReceival.dll</AssemblyLocation>
    </Reference>
  </ReferenceCollection>
</JiwaDocument>