﻿<?xml version="1.0" encoding="utf-16"?>
<JiwaDocument xmlns:jiwa="http://www.jiwa.com.au/xml/schemas" Type="JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin">
  <RecID>74b1b698-a657-4b5a-964f-448a885523b2</RecID>
  <Name>Multilist Test</Name>
  <Description>Demonstrates creation of a multi-list maintenance form.&amp;#13;&amp;#10;&amp;#13;&amp;#10;Import plugin and save.&amp;#13;&amp;#10;Extract SQL script from Documents tab&amp;#13;&amp;#10;Exit Jiwa&amp;#13;&amp;#10;Run SQL Script&amp;#13;&amp;#10;Enter Jiwa&amp;#13;&amp;#10;Add "" to menu</Description>
  <IsEnabled>true</IsEnabled>
  <IsIsolatedToOwnAppDomain>false</IsIsolatedToOwnAppDomain>
  <ExecutionOrder>0</ExecutionOrder>
  <Author>Jiwa Financials</Author>
  <Version>7.2.1.0</Version>
  <Code>Imports System
Imports JiwaFinancials.Jiwa
Imports Microsoft.VisualBasic
Imports System.Windows.Forms
Imports System.Data.SqlClient
Imports System.Drawing
Imports System.Data
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ServiceStack.Model

#Region "Setup"

Public Class TestForm
    Inherits JiwaFinancials.Jiwa.JiwaApplication.MultiListMaintenance.UserInterface

	Private _Categories As JiwaDebtors.Configuration.Category.Categories
	
    Public Sub New()
        MyBase.New()
        Me.InitializeComponent()
    End Sub

    Public Overrides Sub SetupBeforeHandlers()
        MyBase.SetupBeforeHandlers()
    End Sub

    Public Overrides Sub AddHandlers()
        MyBase.AddHandlers()
    End Sub

    Public Overrides Sub Setup()
        MyBase.Setup()
		
		'Form title
		Text = "Multilist Test"
		
		'A business logic object. This holds many lists of things.
        _Categories = Manager.BusinessLogicFactory.CreateBusinessLogic(Of JiwaDebtors.Configuration.Category.Categories)(Me)
        BusinessLogic = _Categories		
		
		'Add a list to the form. The AddList method contains magic that will create a tab and a grid. The "Tag" property of the collection gets populated with it's grid, and
		'the "SourceCollection" property of the grid gets set to the collection. This way given one in your code, you can always get to the other.
		AddList(Of JiwaDebtors.Configuration.Category.Category1, JiwaDebtors.Configuration.Category.Category1Collection)(_Categories.Category1Collection, "Category 1")
		
		'This is a method we write to add the columns we want to the grid. Remember the SetupGrid method can extract the grid object from the "Tag" property of the collection 
		'passed To it.
		SetupGrid(_Categories.Category1Collection)

		'Some event handlers. We will puch changes made on the grid to the underlying business logic using these.
		AddHandler CType(_Categories.Category1Collection.Tag, JiwaApplication.Controls.JiwaGrid).Change, AddressOf grdLines_Change
		AddHandler CType(_Categories.Category1Collection.Tag, JiwaApplication.Controls.JiwaGrid).ButtonClicked, AddressOf grdLines_ButtonClicked

		'Likewise, we create some handlers so that when the business logic is changed, our UI can be updated.
		AddHandler _Categories.Category1Collection.Added, AddressOf BusinessLogic_Category1_Added
		AddHandler _Categories.Category1Collection.Removed, AddressOf BusinessLogic_Category1_Removed
		AddHandler _Categories.Category1Collection.Changed, AddressOf BusinessLogic_Category1_Changed
			
		AddHandlers
		
        ' Hide XML Import / Export Group
        UltraToolbarsManager1.Ribbon.Tabs("Utilities").Groups("XML").Visible = False		
    End Sub
	
    Public Sub SetupGrid(ByVal Collection As JiwaApplication.IJiwaEnumerableWithTag)
        Dim grdLines As JiwaApplication.Controls.JiwaGrid = Collection.Tag

        grdLines.AddColumn("RecID", New FarPoint.Win.Spread.CellType.TextCellType, "RecID", 10, False, False, True, True)
        grdLines.AddColumn("Description", New FarPoint.Win.Spread.CellType.TextCellType, "Description", 50, False, True, True, False)
        grdLines.AddColumn("Default", New FarPoint.Win.Spread.CellType.CheckBoxCellType, "Default", 20, False, True, True, False)
        grdLines.AddColumn("Bin", New JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaBinButtonCellType(Manager), "", 10, False, , , True)

        grdLines.SetupComplete()
    End Sub	

    Public Sub grdLines_ButtonClicked(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EditorNotifyEventArgs)
        Dim grdLines As JiwaApplication.Controls.JiwaGrid = CType(sender, JiwaApplication.Controls.JiwaGrid)
        Dim column As FarPoint.Win.Spread.Column = grdLines.ActiveSheet.Columns(e.Column)

        If column.Tag = "Bin" Then

            If TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category1Collection Then
                Dim source As JiwaDebtors.Configuration.Category.Category1Collection = grdLines.SourceCollection
                source.Remove(source(grdLines.GridText("RecID", e.Row)))
            ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category2Collection Then
                Dim source As JiwaDebtors.Configuration.Category.Category2Collection = grdLines.SourceCollection
                source.Remove(source(grdLines.GridText("RecID", e.Row)))
            ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category3Collection Then
                Dim source As JiwaDebtors.Configuration.Category.Category3Collection = grdLines.SourceCollection
                source.Remove(source(grdLines.GridText("RecID", e.Row)))
            ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category4Collection Then
                Dim source As JiwaDebtors.Configuration.Category.Category4Collection = grdLines.SourceCollection
                source.Remove(source(grdLines.GridText("RecID", e.Row)))
            ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category5Collection Then
                Dim source As JiwaDebtors.Configuration.Category.Category5Collection = grdLines.SourceCollection
                source.Remove(source(grdLines.GridText("RecID", e.Row)))
            End If

        ElseIf column.Tag = "Default" Then
            If grdLines.GridText("RecID", e.Row).ToString.Trim.Length &gt; 0 Then
                If TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category1Collection Then
                    Dim source As JiwaDebtors.Configuration.Category.Category1Collection = grdLines.SourceCollection
                    source(grdLines.GridText("RecID", e.Row).ToString).IsDefault = grdLines.GridText(column.Tag, e.Row)
                ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category2Collection Then
                    Dim source As JiwaDebtors.Configuration.Category.Category2Collection = grdLines.SourceCollection
                    source(grdLines.GridText("RecID", e.Row).ToString).IsDefault = grdLines.GridText(column.Tag, e.Row)
                ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category3Collection Then
                    Dim source As JiwaDebtors.Configuration.Category.Category3Collection = grdLines.SourceCollection
                    source(grdLines.GridText("RecID", e.Row).ToString).IsDefault = grdLines.GridText(column.Tag, e.Row)
                ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category4Collection Then
                    Dim source As JiwaDebtors.Configuration.Category.Category4Collection = grdLines.SourceCollection
                    source(grdLines.GridText("RecID", e.Row).ToString).IsDefault = grdLines.GridText(column.Tag, e.Row)
                ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category5Collection Then
                    Dim source As JiwaDebtors.Configuration.Category.Category5Collection = grdLines.SourceCollection
                    source(grdLines.GridText("RecID", e.Row).ToString).IsDefault = grdLines.GridText(column.Tag, e.Row)
                End If
            End If
        End If
    End Sub

    Public Sub grdLines_Change(sender As Object, e As FarPoint.Win.Spread.ChangeEventArgs)
        Dim grdLines As JiwaApplication.Controls.JiwaGrid = CType(sender, JiwaApplication.Controls.JiwaGrid)
        Dim Key As String
        Dim ColID As String = grdLines.ActiveSheet.Columns(e.Column).Tag

        With grdLines

            If ColID = "Description" Then
                If e.Row = .ActiveSheet.RowCount - 1 Then
                    If TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category1Collection Then
                        Dim source As JiwaDebtors.Configuration.Category.Category1Collection = grdLines.SourceCollection

                        Dim category As JiwaDebtors.Configuration.Category.Category1 = Manager.CollectionItemFactory.CreateCollectionItem(Of JiwaDebtors.Configuration.Category.Category1)()
                        category.Description = .GridText("Description", e.Row)
                        source.Add(category)

                    ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category2Collection Then
                        Dim source As JiwaDebtors.Configuration.Category.Category2Collection = grdLines.SourceCollection

                        Dim category As JiwaDebtors.Configuration.Category.Category2 = Manager.CollectionItemFactory.CreateCollectionItem(Of JiwaDebtors.Configuration.Category.Category2)()
                        category.Description = .GridText("Description", e.Row)
                        source.Add(category)

                    ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category3Collection Then
                        Dim source As JiwaDebtors.Configuration.Category.Category3Collection = grdLines.SourceCollection

                        Dim category As JiwaDebtors.Configuration.Category.Category3 = Manager.CollectionItemFactory.CreateCollectionItem(Of JiwaDebtors.Configuration.Category.Category3)()
                        category.Description = .GridText("Description", e.Row)
                        source.Add(category)

                    ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category4Collection Then
                        Dim source As JiwaDebtors.Configuration.Category.Category4Collection = grdLines.SourceCollection

                        Dim category As JiwaDebtors.Configuration.Category.Category4 = Manager.CollectionItemFactory.CreateCollectionItem(Of JiwaDebtors.Configuration.Category.Category4)()
                        category.Description = .GridText("Description", e.Row)
                        source.Add(category)

                    ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category5Collection Then
                        Dim source As JiwaDebtors.Configuration.Category.Category5Collection = grdLines.SourceCollection

                        Dim category As JiwaDebtors.Configuration.Category.Category5 = Manager.CollectionItemFactory.CreateCollectionItem(Of JiwaDebtors.Configuration.Category.Category5)()
                        category.Description = .GridText("Description", e.Row)
                        source.Add(category)
                    End If

                Else
                    Key = .GridText("RecID", e.Row)

                    If Key.Trim.Length &gt; 0 Then
                        If TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category1Collection Then
                            Dim source As JiwaDebtors.Configuration.Category.Category1Collection = grdLines.SourceCollection
                            source(Key).Description = .GridText("Description", e.Row)

                        ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category2Collection Then
                            Dim source As JiwaDebtors.Configuration.Category.Category2Collection = grdLines.SourceCollection
                            source(Key).Description = .GridText("Description", e.Row)

                        ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category3Collection Then
                            Dim source As JiwaDebtors.Configuration.Category.Category3Collection = grdLines.SourceCollection
                            source(Key).Description = .GridText("Description", e.Row)

                        ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category4Collection Then
                            Dim source As JiwaDebtors.Configuration.Category.Category4Collection = grdLines.SourceCollection
                            source(Key).Description = .GridText("Description", e.Row)

                        ElseIf TypeOf grdLines.SourceCollection Is JiwaDebtors.Configuration.Category.Category5Collection Then
                            Dim source As JiwaDebtors.Configuration.Category.Category5Collection = grdLines.SourceCollection
                            source(Key).Description = .GridText("Description", e.Row)
                        End If
                    End If

                End If
            End If
        End With
    End Sub	

    Public Sub BusinessLogic_Category1_Added(ByVal item As JiwaDebtors.Configuration.Category.Category1)
        Dim Row As Integer
        Dim grdLines As JiwaApplication.Controls.JiwaGrid = CType(item.Collection.Tag, JiwaApplication.Controls.JiwaGrid)
        Row = grdLines.ActiveSheet.Rows.Count - 1
        grdLines.GridText("RecID", Row) = item.RecID
        DisplayLine(item, grdLines, Row)

        grdLines.ActiveSheet.RowCount += 1
        grdLines.LockColumn(True, "Default", grdLines.ActiveSheet.Rows.Count - 1)
        grdLines.LockColumn(True, "Bin", grdLines.ActiveSheet.Rows.Count - 1)

        CheckEditStatus()
        SetPermissions()
    End Sub

    Public Overridable Sub BusinessLogic_Category1_Removed(ByVal item As JiwaDebtors.Configuration.Category.Category1)
        Dim grdLines As JiwaApplication.Controls.JiwaGrid = CType(item.Collection.Tag, JiwaApplication.Controls.JiwaGrid)

        For MyLoop As Integer = 0 To grdLines.ActiveSheet.Rows.Count - 1
            If grdLines.GridText("RecID", MyLoop).ToString = item.RecID Then
                ' Remove Line From Grid
                grdLines.ActiveSheet.Rows.Remove(MyLoop, 1)
                Exit For
            End If
        Next MyLoop

        CheckEditStatus()
        SetPermissions()
    End Sub

    Public Overridable Sub BusinessLogic_Category1_Changed(ByVal item As JiwaDebtors.Configuration.Category.Category1, ByVal e As System.ComponentModel.PropertyChangedEventArgs)
        Dim grdLines As JiwaApplication.Controls.JiwaGrid = CType(item.Collection.Tag, JiwaApplication.Controls.JiwaGrid)

        DisplayLine(item, grdLines)
        CheckEditStatus()
    End Sub
	
	Public Overrides Sub DisplayLine(ByVal Item As Object, JiwaGrid As JiwaApplication.Controls.JiwaGrid, Optional ByVal Row As Integer = -1)

            Dim category As JiwaDebtors.IDebtorCategory = CType(Item, JiwaDebtors.IDebtorCategory)

            If Row = -1 Then
                For MyLoop As Integer = 0 To JiwaGrid.ActiveSheet.Rows.Count - 1
                    If JiwaGrid.GridText("RecID", MyLoop) = category.RecID Then
                        Row = MyLoop
                        Exit For
                    End If
                Next MyLoop
            End If

            If Row &lt;&gt; -1 Then
                ' copy col header tag into each cell tag.
                For Each column As FarPoint.Win.Spread.Column In JiwaGrid.ActiveSheet.Columns
                    JiwaGrid.ActiveSheet.Cells(Row, column.Index).Tag = JiwaGrid.ActiveSheet.ColumnHeader.Cells(1, column.Index).Tag
                Next

                JiwaGrid.GridText("RecID", Row) = category.RecID
                JiwaGrid.GridText("Description", Row) = category.Description
                JiwaGrid.GridText("Default", Row) = category.IsDefault

                JiwaGrid.LockColumn(False, "Default", Row)
                JiwaGrid.LockColumn(False, "Bin", Row)
            End If
        End Sub	
End Class
#End Region

#Region "UI Generated"
&lt;Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()&gt;
Partial Class TestForm
    Inherits JiwaFinancials.Jiwa.JiwaApplication.MultiListMaintenance.UserInterface


    'Form overrides dispose to clean up the component list.
    &lt;System.Diagnostics.DebuggerNonUserCode()&gt;
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    &lt;System.Diagnostics.DebuggerStepThrough()&gt;
    Private Sub InitializeComponent()

    End Sub
End Class

#End Region

#Region "No Code"



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
    End Sub
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

Public Class ScheduledExecutionPlugin
    Inherits System.MarshalByRefObject
    Implements JiwaApplication.IJiwaScheduledExecutionPlugin

    Public Sub Execute(ByVal Plugin As JiwaApplication.Plugin.Plugin, ByVal Schedule As JiwaApplication.Schedule.Schedule) Implements JiwaApplication.IJiwaScheduledExecutionPlugin.Execute
        SyncLock JiwaFinancials.Jiwa.JiwaApplication.Manager.CriticalSectionFlag
            ' Place processing code in here
        End SyncLock
    End Sub

    Public Sub OnServiceStart(ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaScheduledExecutionPlugin.OnServiceStart

    End Sub

    Public Sub OnServiceStopping(ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaScheduledExecutionPlugin.OnServiceStopping

    End Sub
End Class

#End Region</Code>
  <ExceptionPolicy>Report</ExceptionPolicy>
  <Language>VisualBasic</Language>
  <ReferenceCollection>
    <Reference>
      <RecID>6d05f5af-0906-4fe0-aea9-44e32d394f6c</RecID>
      <AssemblyFullName>JiwaApplication, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaApplication.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\JiwaApplication.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>536604f5-03c2-4f46-bcbf-995f7c8d2512</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>6f108a45-03a4-453e-97e2-7ddcaa6bd742</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>b9e87970-61df-4305-94af-ce334305149d</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>1cfa49b7-5065-419d-9d65-8517f39da46c</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>a05894d2-3f92-4aee-ab2f-590afc32331c</RecID>
      <AssemblyFullName>JiwaODBC, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaODBC.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\JiwaODBC.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>19ac1e07-aecf-4f8d-9493-b8f537e220e4</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>45b05300-7528-44f8-9497-9a172e96e022</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>6260cf1a-f6a1-4b75-aef3-2e736d44f6c7</RecID>
      <AssemblyFullName>System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Runtime.Serialization.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a3c86a45-d325-40e4-a62f-bbcfec95be53</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>47bc491c-a774-4503-8209-f2d2871a965c</RecID>
      <AssemblyFullName>JiwaServiceModel, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaServiceModel.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\JiwaServiceModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>d8c91bc9-44a7-4e21-8b4d-d50dc24212fe</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.Misc.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.Misc.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>42c0ad51-5591-459d-9c6b-043f122deee5</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinEditors.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>2ea22952-be78-494a-96ba-6bd9de9d143e</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b88c3849-ed50-4146-a978-3e0950e7c223</RecID>
      <AssemblyFullName>Microsoft.SqlServer.Smo, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.Smo.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\Microsoft.SqlServer.Smo.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9f130f6c-7874-4b2b-8140-43c755d5498b</RecID>
      <AssemblyFullName>Microsoft.SqlServer.ConnectionInfo, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.ConnectionInfo.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\Microsoft.SqlServer.ConnectionInfo.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a7bdb703-3900-43c8-baaf-d19281741ea6</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinExplorerBar.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5d8495bf-f536-41ad-8f1f-bd24314f3d59</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinTree.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f57057c3-70bf-498e-bae2-4ad859dc2c4e</RecID>
      <AssemblyFullName>FarPoint.Win.Spread, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.Spread.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\FarPoint.Win.Spread\8.35.20151.0__327c3516b1b18457\FarPoint.Win.Spread.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>7558d574-ee6e-404f-8247-9b5a39753330</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinTabControl.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e6107880-d363-423f-b3ec-710e88e7cc10</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Shared.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Shared.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4072b45f-2f2b-4b31-a6e7-290878940d00</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinToolbars.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3895f37c-df09-4233-bd01-56ded78c5d3f</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinStatusBar.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>0e5bbedc-47ac-4dc3-936c-d60110b13e3b</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinSchedule.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>50067cad-d43c-4315-9434-c221e1f22abb</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinListView.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinListView.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinListView.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinListView.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3850880f-4209-4713-89a4-f7145076d2d6</RecID>
      <AssemblyFullName>ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587</AssemblyFullName>
      <AssemblyName>ServiceStack.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\ServiceStack.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1bc4c53a-4616-42c9-beba-5994bd8e7c9b</RecID>
      <AssemblyFullName>EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>EntityFramework.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\EntityFramework.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fb75d371-4663-4a36-aca6-e95f46475e12</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>ff5e2dd3-c8a1-40b4-ae89-40e580c59b5c</RecID>
      <AssemblyFullName>ActiproSoftware.SyntaxEditor.WinForms, Version=16.1.330.0, Culture=neutral, PublicKeyToken=c27e062d3c1a4763</AssemblyFullName>
      <AssemblyName>ActiproSoftware.SyntaxEditor.WinForms.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\ActiproSoftware.SyntaxEditor.WinForms\16.1.330.0__c27e062d3c1a4763\ActiproSoftware.SyntaxEditor.WinForms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>59b71147-01d3-4ad4-929d-32d386e0c255</RecID>
      <AssemblyFullName>ZetaHtmlEditControl, Version=1.1.0.3, Culture=neutral, PublicKeyToken=2e2e5ba5da72b6c0</AssemblyFullName>
      <AssemblyName>ZetaHtmlEditControl.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\ZetaHtmlEditControl.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1644e8a8-7d35-4451-a359-b44989c0d2cf</RecID>
      <AssemblyFullName>ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms, Version=16.1.330.0, Culture=neutral, PublicKeyToken=c27e062d3c1a4763</AssemblyFullName>
      <AssemblyName>ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms\16.1.330.0__c27e062d3c1a4763\ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fb1e2c22-219f-4aa4-a0f2-a67f88933206</RecID>
      <AssemblyFullName>JiwaEncryption, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaEncryption.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\JiwaEncryption.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>2852a42d-abac-4b57-9ec8-62c0b9030bb1</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinGrid.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9d706a84-6505-4393-b29a-b11f91f7c9d9</RecID>
      <AssemblyFullName>Microsoft.SqlServer.Dac, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.Dac.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\Microsoft.SqlServer.Dac.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>7ed88394-aebc-44e6-8bc6-483124de847b</RecID>
      <AssemblyFullName>CrystalDecisions.CrystalReports.Engine, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.CrystalReports.Engine.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.3500.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e9f0475f-9854-4155-8f96-c500f2315e81</RecID>
      <AssemblyFullName>CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.Shared.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Shared\13.0.3500.0__692fbea5521e1304\CrystalDecisions.Shared.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>89e13739-ce5a-40fd-a8cf-c3b8a9927e00</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.Controllers, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.Controllers\13.0.3500.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fa4c3ee3-a5f9-424c-a6fa-a90b13bd4e56</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:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.AppStylistSupport.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>73a35e3d-a774-43af-a99c-c90e2437b1a9</RecID>
      <AssemblyFullName>JiwaLib, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaLib.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\JiwaLib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>7940cd53-a6b2-41cf-a295-09361e777dbc</RecID>
      <AssemblyFullName>Microsoft.ApplicationInsights, Version=2.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</AssemblyFullName>
      <AssemblyName>Microsoft.ApplicationInsights.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\Microsoft.ApplicationInsights.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e6cd1628-c298-41a1-8709-0b22ebb7c383</RecID>
      <AssemblyFullName>CrystalDecisions.Windows.Forms, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.Windows.Forms.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Windows.Forms\13.0.3500.0__692fbea5521e1304\CrystalDecisions.Windows.Forms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>7b2f9913-bc9b-4719-885a-f66f833714ad</RecID>
      <AssemblyFullName>EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>EntityFramework.SqlServer.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\EntityFramework.SqlServer.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>194a3acd-fd2c-4750-950e-1f29fe9373ed</RecID>
      <AssemblyFullName>ServiceStack.Text, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587</AssemblyFullName>
      <AssemblyName>ServiceStack.Text.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\ServiceStack.Text.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>2a840eb7-f25a-4a6e-b53f-e46f7a03af58</RecID>
      <AssemblyFullName>ActiproSoftware.Shared.WinForms, Version=16.1.330.0, Culture=neutral, PublicKeyToken=c27e062d3c1a4763</AssemblyFullName>
      <AssemblyName>ActiproSoftware.Shared.WinForms.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\ActiproSoftware.Shared.WinForms\16.1.330.0__c27e062d3c1a4763\ActiproSoftware.Shared.WinForms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>732934cc-59a6-4a2f-8759-2715d4bf549f</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>d2f6f6ab-99ed-4d54-8e06-e11a2bf87e3c</RecID>
      <AssemblyFullName>FarPoint.Win, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\FarPoint.Win\8.35.20151.0__327c3516b1b18457\FarPoint.Win.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3add890e-7fc0-4b16-b78b-1c6ae38f6697</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.ClientDoc\13.0.3500.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>6dad98d2-f052-4e16-9bd1-6b0b07c3899f</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyName>
      <AssemblyLocation>C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.ReportDefModel\13.0.3500.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8f86d3aa-8c7c-4ae8-b9eb-40640263207b</RecID>
      <AssemblyFullName>ServiceStack.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587</AssemblyFullName>
      <AssemblyName>ServiceStack.Interfaces.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\ServiceStack.Interfaces.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>350ecedb-f3cc-474d-a9f3-cbf9be8c6c3c</RecID>
      <AssemblyFullName>ServiceStack.Server, Version = 5.0.0.0, Culture = neutral, PublicKeyToken = 02c12cbda47e6587</AssemblyFullName>
      <AssemblyName>ServiceStack.Server.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\ServiceStack.Server.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>d2703157-6233-4297-b02c-d59543c82e47</RecID>
      <AssemblyFullName>ServiceStack.OrmLite, Version = 5.0.0.0, Culture = neutral, PublicKeyToken = 02c12cbda47e6587</AssemblyFullName>
      <AssemblyName>ServiceStack.OrmLite.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\ServiceStack.OrmLite.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f9f40521-db95-4855-906d-6c45edbbd5af</RecID>
      <AssemblyFullName>JiwaDebtors, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaDebtors.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\JiwaDebtors.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e3288159-60df-470e-8ed5-00beefaa7bea</RecID>
      <AssemblyFullName>LumenWorks.Framework.IO, Version=7.2.1.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>LumenWorks.Framework.IO.dll</AssemblyName>
      <AssemblyLocation>D:\VSTSSnaps\7.02.01.00 SR4\LumenWorks.Framework.IO.dll</AssemblyLocation>
    </Reference>
  </ReferenceCollection>
  <Documents>
    <Document>
      <RecID xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">34107391-4404-48c6-bcd8-0ed4f5d58c59</RecID>
      <DocumentType xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">
        <RecID xmlns="JiwaApplication.Documents">BB6E534C-73E3-4706-851D-80FA3661375C</RecID>
        <ItemNo xmlns="JiwaApplication.Documents">1</ItemNo>
        <Description xmlns="JiwaApplication.Documents">Default Plugin Document Type</Description>
        <DefaultType xmlns="JiwaApplication.Documents">true</DefaultType>
      </DocumentType>
      <FileID xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML" />
      <PhysicalFileName xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">Multilist Test.sql</PhysicalFileName>
      <Description xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">SQL Script</Description>
      <LastSavedDateTime xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">2020-08-14T09:35:19.963</LastSavedDateTime>
      <LastModifiedByStaffMember xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">
        <RecID xmlns="Entities.Staff">ZZZZZZZZZZ0000000000</RecID>
        <StaffID xmlns="Entities.Staff">ZZZZZZZZZZ0000000000</StaffID>
        <UserName xmlns="Entities.Staff">Admin</UserName>
        <Title xmlns="Entities.Staff" />
        <FirstName xmlns="Entities.Staff">Admin</FirstName>
        <Surname xmlns="Entities.Staff">Admin</Surname>
        <EmailAddress xmlns="Entities.Staff" />
        <EmailDisplayName xmlns="Entities.Staff" />
        <SMTPUsername xmlns="Entities.Staff" />
        <SMTPPassword xmlns="Entities.Staff" />
        <IsActive xmlns="Entities.Staff">true</IsActive>
        <IsEnabled xmlns="Entities.Staff">true</IsEnabled>
      </LastModifiedByStaffMember>
      <FileBinary xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">SUYgTk9UIEVYSVNUUyhTRUxFQ1QgVE9QIDEgKiBGUk9NIFNZX0Zvcm1zIFdIRVJFIENsYXNzTmFtZSA9ICdUZXN0Rm9ybScpDQoJSU5TRVJUIElOVE8gU1lfRm9ybXMoQ2xhc3NOYW1lLCBEZXNjcmlwdGlvbiwgRm9ybVR5cGUsIEhlbHBGaWxlTmFtZSwgSGVscFBhZ2VOYW1lLCBBc3NlbWJseUZ1bGxOYW1lKQ0KCVNFTEVDVCAnVGVzdEZvcm0nLCAnVGVzdEZvcm0nLCAyLCAnJywgJycsDQoJKFNFTEVDVCBUT1AgMSBSZWNJRCBGUk9NIFNZX1BsdWdpbiBXSEVSRSBOYW1lID0gJ011bHRpbGlzdCBUZXN0JykNCkdPDQoNCklGIE5PVCBFWElTVFMoU0VMRUNUIFRPUCAxICogRlJPTSBTWV9Gb3Jtc0Fic3RyYWN0UGVybWlzc2lvbnMgV0hFUkUgU1lfRm9ybXNfQ2xhc3NOYW1lID0gJ1Rlc3RGb3JtJyBBTkQgTmFtZSA9ICdMb2FkJykNCglJTlNFUlQgSU5UTyBTWV9Gb3Jtc0Fic3RyYWN0UGVybWlzc2lvbnMoUmVjSUQsIFNZX0Zvcm1zX0NsYXNzTmFtZSwgTmFtZSwgRGVzY3JpcHRpb24sIEl0ZW1ObykNCglTRUxFQ1QgTkVXSUQoKSwgJ1Rlc3RGb3JtJywgJ0xvYWQnLCAnTG9hZCBvZiB0aGUgZm9ybScsIChTRUxFQ1QgQ09BTEVTQ0UoTUFYKEl0ZW1ObyksIDApICsgMSBGUk9NIFNZX0Zvcm1zQWJzdHJhY3RQZXJtaXNzaW9ucyBXSEVSRSBTWV9Gb3Jtc19DbGFzc05hbWUgPSAnVGVzdEZvcm0nKQ0KR08NCg0KSUYgTk9UIEVYSVNUUyhTRUxFQ1QgVE9QIDEgKiBGUk9NIFNZX0Zvcm1zQWJzdHJhY3RQZXJtaXNzaW9ucyBXSEVSRSBTWV9Gb3Jtc19DbGFzc05hbWUgPSAnVGVzdEZvcm0nIEFORCBOYW1lID0gJ0VkaXQnKQ0KCUlOU0VSVCBJTlRPIFNZX0Zvcm1zQWJzdHJhY3RQZXJtaXNzaW9ucyhSZWNJRCwgU1lfRm9ybXNfQ2xhc3NOYW1lLCBOYW1lLCBEZXNjcmlwdGlvbiwgSXRlbU5vKQ0KCVNFTEVDVCBORVdJRCgpLCAnVGVzdEZvcm0nLCAnRWRpdCcsICdFZGl0IG9mIHRoZSBmb3JtJywgKFNFTEVDVCBDT0FMRVNDRShNQVgoSXRlbU5vKSwgMCkgKyAxIEZST00gU1lfRm9ybXNBYnN0cmFjdFBlcm1pc3Npb25zIFdIRVJFIFNZX0Zvcm1zX0NsYXNzTmFtZSA9ICdUZXN0Rm9ybScpDQpHTw==</FileBinary>
      <ItemNo xmlns="JiwaFinancials.Jiwa.JiwaApplication.Plugin.XML">1</ItemNo>
    </Document>
  </Documents>
</JiwaDocument>