<?xml version="1.0" encoding="utf-16"?>
<JiwaDocument xmlns:jiwa="http://www.jiwa.com.au/xml/schemas" Type="JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin">
  <RecID>95b11bdd-d86d-4992-b96b-66fb7e977600</RecID>
  <Name>Accent Email - Sales with COGS report</Name>
  <Description>Accent Email - Sales with COGS report, Put into Loop for Multiple reports.</Description>
  <IsEnabled>false</IsEnabled>
  <IsIsolatedToOwnAppDomain>false</IsIsolatedToOwnAppDomain>
  <ExecutionOrder>0</ExecutionOrder>
  <Author>Jiwa Financials</Author>
  <Version>8.0.62.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
    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 EmailCandidate

	Public Property EmailAddress As String = ""
	Public Property CCEmailAddress As String = ""
	Public Property DBClassStart As String = ""
	Public Property DBClassEnd As String = ""
	Public Property DebtorStart As String = ""
	Public Property DebtorEnd As String = ""
	Public Property UseHeadOfficeAccount As String = ""
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
		LogToEventLog(pLUGIN,"Executing the 'Accent  Sales with COGS report Email' plugin", System.Diagnostics.EventLogEntryType.Information)
				'Get a list of what we need to email.
			Dim emailCandidates As System.Collections.Generic.List(Of EmailCandidate)
			emailCandidates = GetEmailCandidates(Plugin)
			LogToEventLog(pLUGIN,"Found " &amp; emailCandidates.Count &amp; " Debtor Groups to email.", System.Diagnostics.EventLogEntryType.Information)
	'	Dim report As New JiwaApplication.Report.Configuration.Report
		Dim reportToEmail As  JiwaApplication.Report.Configuration.Report = Plugin.Manager.CollectionItemFactory.CreateCollectionItem(Of JiwaApplication.Report.Configuration.Report) 
		reportToEmail.ReadRecordFromFileName("DBMGT050 - Sales By Inventory Group with PY.rpt")
		Plugin.Manager.ResetReportSelectionFormulaTokens
	'	Dim firstday As Date
	'	Dim lastday As Date
		
		Dim firstday As New Date(Date.Today.Year,4,1)
		If Date.Today.Month &lt; 5 Then
			firstday = firstday.AddYears(-1)
		End If
		
		Dim lastday As New Date(Date.Today.Year,Date.Today.Month,1)
		lastday = lastday.AddDays(-1)
		
		 Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_StartingDate}", Microsoft.VisualBasic.Format(firstday, "dd/MM/yyyy"))
		 Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_EndingDate}", Microsoft.VisualBasic.Format(lastday, "dd/MM/yyyy"))
		For Each emailCandidate As EmailCandidate In emailCandidates
			
		Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_DB_StartingClassification}", emailCandidate.DBClassStart)
		Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_DB_EndingClassification}", emailCandidate.DBClassEnd)
		'
		If emailCandidate.UseHeadOfficeAccount = "N" Then  
			Plugin.Manager.AddReportSelectionFormulaToken("{@PASS_FromAcc}", emailCandidate.DebtorStart)
			Plugin.Manager.AddReportSelectionFormulaToken("{@PASS_ToAcc}", emailCandidate.DebtorEnd)
			Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_SelectedHO}", "")
			Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_ForHO}", "1")
		Else
			' set full range for debtor
			Plugin.Manager.AddReportSelectionFormulaToken("{@PASS_FromAcc}", "000000000")
			Plugin.Manager.AddReportSelectionFormulaToken("{@PASS_ToAcc}", "ZZZZZZZ")
			Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_SelectedHO}", "")
			Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_ForHO}", "1")
			' Load H/O debtor and switch H/O mode on.
			Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_SelectedHO}", emailCandidate.DebtorStart)
			Plugin.Manager.AddReportSelectionFormulaToken("{@Pass_ForHO}", "2")
		End If
'
		
		Dim message As String =  "Sales with COGS report as at: " &amp; Now &amp; " For Debtor:" &amp; emailCandidate.DebtorStart &amp; " Sales Comp"
		If emailCandidate.DebtorStart  =  "000000"  Then
			message = "Sales with COGS report as at: " &amp; Now &amp; " For DebtorClass:" &amp; emailCandidate.DBClassStart &amp; " Sales Comp"
		End If
		Dim FileName As String =  "SalesWithCOGS-Debtor" &amp; emailCandidate.DebtorStart
		If emailCandidate.DebtorStart  =  "000000"  Then
			FileName =  "SalesWithCOGS-DebtorClass" &amp;  emailCandidate.DBClassStart 
		End If
		Dim EM_Main_RecID As String = ""
		Dim sourceID As String = Plugin.recid
		Dim sourceType As String = "Plugin"
		Dim sourceDisplayNo As String = "Accent Sales with COGS report"
		Dim sourceDrillDownIndex As JiwaApplication.JiwaSearch.clsSearch.SearchModes = JiwaApplication.JiwaSearch.clsSearch.SearchModes.jswPlugins
	
		' Dim exportFormatType As CrystalDecisions.Shared.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
			Dim exportFormatType As CrystalDecisions.Shared.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.ExcelRecord
		'jessica@accent-tools.co.nz
	'	emailCandidate.EmailAddress = "ernst@superbsoftware.co.nz;jessica@accent-tools.co.nz"
  '      PrintReportObject.EmailReport("admin@accent-tools.co.nz", "michelle@accent-tools.co.nz ", "NoStock Email", "", "", message, "NoStock.pdf", EM_Main_RecID, False, "", "", "", "", CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)
	     Plugin.Manager.EmailReportDirect(reportToEmail, "admin@accent-tools.co.nz", emailCandidate.EmailAddress, message, emailCandidate.CCEmailAddress, "", message, FileName, EM_Main_RecID, "", False, sourceID, sourceType, sourceDisplayNo, sourceDrillDownIndex, exportFormatType)
	'	Plugin.Manager.EmailReportDirect(report,from,To,Subject,CC,BCC,Message,AttachName,emmainrecid,recordselect,requestreadreceipt,sourcid,sourcetype,sourcedisplayno,sourcedrilldown,exporttype,sysformclass)

	Next
		LogToEventLog(pLUGIN,"Accent Report Sales with COGS report-Ended' plugin", System.Diagnostics.EventLogEntryType.Information)		
	End Sub
	
Private Function GetEmailCandidates(ByVal Plugin As JiwaApplication.Plugin.Plugin) As System.Collections.Generic.List(Of EmailCandidate)
		Dim emailCandidates As New System.Collections.Generic.List(Of EmailCandidate)
		Dim emailCandidate As EmailCandidate
	' Send 51-52 TOOLSHED
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "51 HS MS TOOLSHED"
		emailCandidate.DBClassEnd = "52 HS MS TOOLSHED + HSA"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send 54-55 TRADEZONE
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "54 HS MS TRADEZONE"
		emailCandidate.DBClassEnd = "55 HS MS TRADEZONE + HSA"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send PLACEMAKERS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "14 HS FLETCHER DIST"
		emailCandidate.DBClassEnd = "14 HS FLETCHER DIST"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send G4 GROUP
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "45 HS MS G4-GROUP"
		emailCandidate.DBClassEnd = "46 HS MS G4-GROUP + HSA"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ"
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send INCENTIVE COMPANIES
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "47 INCENTIVE COMPANIES"
		emailCandidate.DBClassEnd = "47 INCENTIVE COMPANIES"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send SUTTON TOOLS and MYTOOLS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "53 HS MS TRADE TOOL GROUP"
		emailCandidate.DBClassEnd = "53 HS MS TRADE TOOLS MYTOOLS"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send POWERTOOL CENTRE GROUP
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "50 HS MS HSA PTC GROUP"
		emailCandidate.DBClassEnd = "50 HS MS HSA PTC GROUP"
		emailCandidate.DebtorStart = "000000" 
		emailCandidate.DebtorEnd = "ZZZZZZZZZ" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate)
	' Send BAY ENG SUPPLIES
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "BAYENG" 
		emailCandidate.DebtorEnd = "BAYENG" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)
	' Send BUILDLINK
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "BUILINHO" 
		emailCandidate.DebtorEnd = "BUILINHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)
	' Send NZ SAFETY BLACKWOODS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "NZSAFETYHO" 
		emailCandidate.DebtorEnd = "NZSAFETYHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)
	' Send BUNNINGS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "BUNNINGS" 
		emailCandidate.DebtorEnd = "BUNNINGS" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)
	' Send CARTERS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "CARHO" 
		emailCandidate.DebtorEnd = "CARHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)
	' Send ITM
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "ITM" 
		emailCandidate.DebtorEnd = "ITM" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)		
	' Send J A RUSSELL
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "JARUSHO" 
		emailCandidate.DebtorEnd = "JARUSHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)		
	' Send MITRE 10
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "MITRE10" 
		emailCandidate.DebtorEnd = "MITRE10" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)			
	' Send SAECOWILSON
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "SAECOHO" 
		emailCandidate.DebtorEnd = "SAECOHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)			
	' Send SYDNEY TOOLS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "SYDTOOHO" 
		emailCandidate.DebtorEnd = "SYDTOOHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate)	
	' Send TWL
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "TRAWHO" 
		emailCandidate.DebtorEnd = "TRAWHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate) 
	' Send PTC ONEHUNGA
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "POWTOO" 
		emailCandidate.DebtorEnd = "POWTOO" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate) 		
	' Send NORTH HARBOUR POWER TOOLS
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "NORHAR" 
		emailCandidate.DebtorEnd = "NORHAR" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate) 		
	' Send ZIRCO
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "ZIRABR" 
		emailCandidate.DebtorEnd = "ZIRABR" 
		emailCandidate.UseHeadOfficeAccount = "N"
        emailCandidates.add(emailCandidate) 		
'	 Send SUTTON TOOLS (TRADE TOOLS)
		emailCandidate = New EmailCandidate 
		emailCandidate.EmailAddress = "jessica@accent-tools.co.nz" 
		emailCandidate.CCEmailAddress  = "admin@accent-tools.co.nz" 
		emailCandidate.DBClassStart =  "11 Non Stockist"
		emailCandidate.DBClassEnd = "67 ONLINE DEALER WHOLE RANGE"
		emailCandidate.DebtorStart = "TRATOOHO" 
		emailCandidate.DebtorEnd = "TRATOOHO" 
		emailCandidate.UseHeadOfficeAccount = "Y"
        emailCandidates.add(emailCandidate) 
		
		Return emailCandidates

	End Function

    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
'		Public Sub LogToEventLog(ByVal Message As String, ByVal EventLogEntryType As System.Diagnostics.EventLogEntryType)
'		Dim Log As New System.Diagnostics.EventLog("Application")
'		Log.Source = String.Format("Jiwa Plugin : Accent Email Invoice")
'		Log.WriteEntry(Message, EventLogEntryType)
'		Log.Close()
'	End Sub
	Public Sub LogToEventLog(ByVal Plugin As JiwaApplication.Plugin.Plugin, ByVal Message As String, ByVal EventLogEntryType As System.Diagnostics.EventLogEntryType)
		Dim Log As New System.Diagnostics.EventLog("Application")
		Log.Source = String.Format("Jiwa Plugin : {0}", Plugin.Name )
		Log.WriteEntry(Message, EventLogEntryType)
		Log.Close()
	End Sub
End Class
</Code>
  <ExceptionPolicy>Report</ExceptionPolicy>
  <Language>VisualBasic</Language>
  <IsReleaseOptimised>true</IsReleaseOptimised>
  <LastSavedDateTime>2026-08-25T15:43:02.9178926+12:00</LastSavedDateTime>
  <CreateDateTime>2026-08-25T15:43:02.9178926+12:00</CreateDateTime>
  <ReferenceCollection>
    <Reference>
      <RecID>d1c891b5-1dff-4cda-9091-81a2184ce4ea</RecID>
      <AssemblyFullName>JiwaApplication, Version=8.0.62.0, Culture=neutral, PublicKeyToken=null</AssemblyFullName>
      <AssemblyName>JiwaApplication.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\JiwaApplication.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1acd6354-2abd-4f33-ad46-836fcb0d2962</RecID>
      <AssemblyFullName>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>mscorlib.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>7a1d8fe9-b1ae-48ab-b5da-5e146c184964</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>795a9454-eba5-4b1e-8e1f-0d6b22297ede</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_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>6de3184e-8b8c-4a94-9bfe-a146cc07812c</RecID>
      <AssemblyFullName>JiwaODBC, Version=8.0.62.0, Culture=neutral, PublicKeyToken=null</AssemblyFullName>
      <AssemblyName>JiwaODBC.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\JiwaODBC.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>68374286-e92a-4fa5-88d3-1767e7acc531</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>2807d567-2e1d-444b-85fa-fdd1ee7fb613</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>971fb033-fa81-4947-8a01-f569ffebc007</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>0add2595-01da-4e89-9d8f-70818fc228c8</RecID>
      <AssemblyFullName>Microsoft.SqlServer.Smo, Version=17.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.Smo.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Microsoft.SqlServer.Smo.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>72894398-2c9a-4e4b-9e9c-10c40dd1dbe5</RecID>
      <AssemblyFullName>Microsoft.SqlServer.ConnectionInfo, Version=17.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.ConnectionInfo.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Microsoft.SqlServer.ConnectionInfo.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4ca5e6be-4754-4cb4-a43b-cace0fd7221f</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>b005dc25-5b4a-43fa-85b5-8e3f3768bb2f</RecID>
      <AssemblyFullName>Infragistics4.Win.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8a6fd6ac-f05f-495d-9e42-30e0c9aef31f</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>413b6d39-c1d4-4d0e-ba94-07d003350856</RecID>
      <AssemblyFullName>Infragistics4.Win.Misc.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.Misc.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.Misc.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5a5b4a0d-c816-49a2-a032-4f586b98fd32</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinEditors.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinEditors.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinEditors.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b6572817-f984-454f-9f07-364b14939bbf</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinExplorerBar.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinExplorerBar.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinExplorerBar.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>48b692e7-76f1-4965-8b34-3609629fd145</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTree.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTree.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinTree.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>bf0d2343-aecd-4e76-bc83-adf7433e7b48</RecID>
      <AssemblyFullName>FarPoint.Win.Spread, Version=16.0.20221.2, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.Spread.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\FarPoint.Win.Spread.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>cef6c707-2a62-44ac-b701-d10ffe497dfb</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTabControl.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTabControl.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinTabControl.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8bad31ab-ed5f-4af2-b136-a9ea9f6375d8</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinToolbars.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinToolbars.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinToolbars.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>688236ab-7523-4015-bcae-5ebcd3d5f6e9</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinStatusBar.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinStatusBar.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinStatusBar.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>80ad52bd-7610-478a-8524-4c9c7db11657</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinListView.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinListView.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinListView.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>0cfc715c-f1aa-4712-922c-e928dcff30f1</RecID>
      <AssemblyFullName>ZetaHtmlEditControl, Version=1.1.0.4, Culture=neutral, PublicKeyToken=2e2e5ba5da72b6c0</AssemblyFullName>
      <AssemblyName>ZetaHtmlEditControl.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\ZetaHtmlEditControl.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>17237c76-16ee-4de8-828a-221df02b7c84</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>8bc0d0e5-0e3e-4fb1-a0a9-c94e8cf0a0ed</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>2d4c2028-99a4-4fdc-9d0b-a1c2ab8777b0</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.Controllers, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_64\CrystalDecisions.ReportAppServer.Controllers\v4.0_13.0.4000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4501bf84-0f00-42eb-99ea-853af4525d99</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>dae0f11a-68ba-439b-9479-2e9d707ad374</RecID>
      <AssemblyFullName>Infragistics4.Win.AppStylistSupport.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.AppStylistSupport.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.AppStylistSupport.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f8c6481b-1eff-450d-ac0b-64c9ae0eb73d</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>ff42629b-f077-48d8-be6c-473815a42c9d</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinSchedule.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinSchedule.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinSchedule.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1c5f4e23-32bc-453c-a06d-b08d2514de8b</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinGrid.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinGrid.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Win.UltraWinGrid.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f2156e8f-93cd-40c0-a33a-eba1a03c90ad</RecID>
      <AssemblyFullName>Infragistics4.Shared.v21.2, Version=21.2.20212.46, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Shared.v21.2.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Infragistics4.Shared.v21.2.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>15bdd58a-1591-41eb-943f-23235530319d</RecID>
      <AssemblyFullName>FarPoint.Win, Version=16.0.20221.2, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\FarPoint.Win.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>14c63073-f8f7-48d8-9c7a-41714947ccbe</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>ca1061d9-6d62-45f7-a3c6-831ac1dc6d19</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_64\CrystalDecisions.ReportAppServer.ClientDoc\v4.0_13.0.4000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5c22d832-5c21-4f7f-9c9d-02d21b40292f</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_64\CrystalDecisions.ReportAppServer.ReportDefModel\v4.0_13.0.4000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>35ec6cfc-f0cb-48ce-a1db-9d71de3a6e47</RecID>
      <AssemblyFullName>JiwaServiceModel, Version=8.0.61.0, Culture=neutral, PublicKeyToken=null</AssemblyFullName>
      <AssemblyName>JiwaServiceModel.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\JiwaServiceModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fb5e2a6b-f149-4ff2-9b94-f61bd7e5e811</RecID>
      <AssemblyFullName>Microsoft.SqlServer.Dac, Version=162.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.Dac.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files\Jiwa Financials\Jiwa 8\Microsoft.SqlServer.Dac.dll</AssemblyLocation>
    </Reference>
  </ReferenceCollection>
  <ExecutionScheduleCollection>
    <Schedule>
      <RecID>75ad5a59-1449-427f-9e23-382f4b677495</RecID>
      <Name>5th Of Month</Name>
      <IsEnabled>true</IsEnabled>
      <ScheduleType>Recurring</ScheduleType>
      <OccurrenceType>Monthly</OccurrenceType>
      <OccurrenceFrequencyInterval>1</OccurrenceFrequencyInterval>
      <OneTimeOccurrenceDate>2026-08-25T15:43:02.9960168+12:00</OneTimeOccurrenceDate>
      <DailyFrequencyType>OccursOnce</DailyFrequencyType>
      <DailyOccursOnceTime />
      <DailyRepeatsInterval>1</DailyRepeatsInterval>
      <DailyRepeatsStartTime>432000000000</DailyRepeatsStartTime>
      <DailyRepeatsEndTime>432000000000</DailyRepeatsEndTime>
      <WeeklyRepeatsInterval>1</WeeklyRepeatsInterval>
      <WeeklyDaysOfWeek>64</WeeklyDaysOfWeek>
      <MonthlyFrequencyType>nthDay</MonthlyFrequencyType>
      <MonthlyDayOfMonth>5</MonthlyDayOfMonth>
      <MonthlyRepeatInterval>1</MonthlyRepeatInterval>
      <MonthlyFrequencyAdjective>First</MonthlyFrequencyAdjective>
      <MonthlyFrequencyDayOfWeek>Monday</MonthlyFrequencyDayOfWeek>
      <StartDate>2025-05-28T00:00:00.0000000+00:00</StartDate>
      <HasEndDate>false</HasEndDate>
      <EndDate>2026-08-25T15:43:02.9960168+12:00</EndDate>
    </Schedule>
  </ExecutionScheduleCollection>
</JiwaDocument>