<?xml version="1.0" encoding="utf-8"?>
  <finDocument version="1.00" exportedUtcDate="2022-04-12T20:31:45.0000000">
    <CreatedUserId>Admin</CreatedUserId>
    <CreatedUtcDate>2022-04-12T04:36:44.4610000</CreatedUtcDate>
    <UpdatedUserId>Admin</UpdatedUserId>
    <UpdatedUtcDate>2022-04-12T20:30:02.5260000</UpdatedUtcDate>
    <Active>true</Active>
    <AllowLog>false</AllowLog>
    <AllowStandalone>true</AllowStandalone>
    <AutoSaveDocument>true</AutoSaveDocument>
    <AutoPublishPriority>5</AutoPublishPriority>
    <Category>Security Statement</Category>
    <CreateLog>true</CreateLog>
    <ChargeFee>false</ChargeFee>
    <CloudConnectAvailable>true</CloudConnectAvailable>
    <CloudConnectAllowPublish>true</CloudConnectAllowPublish>
    <DefaultPublishStatus>ToSend</DefaultPublishStatus>
    <Description>PPSR NZ Debtor Advice</Description>
    <DocumentEmailCopyOfPrimary>false</DocumentEmailCopyOfPrimary>
    <DocumentEmailDoNotCombineForJoints>false</DocumentEmailDoNotCombineForJoints>
    <DocumentId>PPSR.DA</DocumentId>
    <DocumentLogSubject>PPSR Debtor Advice</DocumentLogSubject>
    <DocumentType>SecurityStatement</DocumentType>
    <EmailHTML>false</EmailHTML>
    <Fee>0</Fee>
    <FeeNotes />
    <FeeReference />
    <FeeElementId />
    <FileName>PPSRNZ_DebtorAdvice.docx</FileName>
    <FileType>WordDocument</FileType>
    <LogConfirmPrinted>false</LogConfirmPrinted>
    <Notes>This is an example PPSR NZ Debtor Advice Letter than can be published via the Security Statement form.</Notes>
    <ParameterSetId />
    <ParametersType>Standard</ParametersType>
    <PermissionKeyExecute />
    <ShowInReportExplorer>true</ShowInReportExplorer>
    <SplitDocumentByPostalZone>false</SplitDocumentByPostalZone>
    <UserFlagA>false</UserFlagA>
    <UserFlagB>false</UserFlagB>
    <EmbedDocumentInLog>false</EmbedDocumentInLog>
    <EmailDocument>No</EmailDocument>
    <DoNotEmailDocumentForStandalone>false</DoNotEmailDocumentForStandalone>
    <EmailClientCommunicationType>General</EmailClientCommunicationType>
    <PrintDocumentEvenIfEmailed>false</PrintDocumentEvenIfEmailed>
    <PrintOnPublish>true</PrintOnPublish>
    <TemplateMessage>Please review the attached letter.</TemplateMessage>
    <TemplateSubject>Letter from [Branch.Name]</TemplateSubject>
    <TemplateDocumentBinaryData>H4sIAAAAAAAEAO28U5hly9IuPMvostFldxldruqybdtml23bdnXZtm2zy7Z9em18a+0+67v4r87Fv9/5ZDxjZM7IMXPMiMyIkRFDRhwEFAUADoAEAAAEACgzMlhXIACgHBwAQAZAAqvzW1s5GFo5aCu42Bjaa9I4W1rg54ICk2cDgAH/xf+vUZcwKtVLhyD4IPLKv0sttlbDA/n1zHcQ6Yssd1c9WbngazSXxxtXHGkEwhfY3HHSWEb7C65MkbhpA/MRA1gCM2N75jFwKiDKjJnvMbVRy+Kuk7HBPV9k2T+xrfIaxF3dzZs03CAgy60m15Lkev3kHCHBQGQ86JYrsOmGzNdXsaHdLVIBdOLAnDc5oHXrhSZAYEdlZiOUIsUdULdXiALHx5BEOeonJDBuefwo4Cm5qVf8JjdDSkC010FGUx/FMtf1OO1fcu3Gk+eWNw1ajp8S6l3ZI4O+2ZTdZGdnKJKS0cDWcxTKJ25yl5AGL8UXzmQvb2TZD2kJ/9ppt5SQwo+/t8erdiIVHNyKtL0HZbZ57sxDzIsHiLAn6wHfv2iXdWe8AKVI5z+piqqcVnPi81bkov+c/kEHIYZyg/SczK+/DuVTB5fjCTe5v7SaHpo/YWrDPeMK+9F0r+uldBxPc0qQzc11xBxTNtmBp1Cq6sMeO/7wLe0K/ddd//gAAcj8h8rixmA1Xvw6kvqlkZ9+qay2naGFPS3NH/S/qvpf/IGy2G6zXjoYngu/N7/pdtmVbow8KVr9qVWMZQhIdVEJ5NUls8X3N86lJWDNI13h0ZnZuClX+3Qhx5/xmpdYiYqwoe1QC09aveovbc6AhIC2AnrnBZttmLT9e6O3ESJRihG/MFXU0Eks8JjH4OTxLuS9LwL3e0WfTAk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sCePi5Pgox/uKUDcIw4hNxG/xFM/4rkezlURl8ubaDHqtYsIta35x+Rk8WzYIFoYMu8tijCfEyk9PAP3bmRiwua7uWaYMcicryo5fxRW9ex32fcT4FxSvNvS+2sGSPlv8SJWAxBxeb/okbcLWrH7d7+pr3EwTlpD1UjMhSRmuMFoy26fGz71c1gjOlDUwcj2tqpYf2rS/faJ1dBKYQ1Kcmp3+a38vKrbAQp1Z+c5mNoh2ex+6vHIiZDfgJko2YuyKIer/LMUnPUD0/0pN6T6xuiAz5XoRvxbsHYxE/7PfZxgUQwa00/JqPMqZ6p0kytKpZ7RcqxGbQW+1zuxToL7sATm0a1Ra0V42UdmNhByiCcJtxw3c/rvDib7E2ZXbvPS1jWnXDKEP7LmY86PRa4Fr0WfDX7a6715SJPA+MCv7+TsTlv6J9oPKmdWJaLTIW1/3GTC656PB0xJ+SkUvUoBAQ2EOnNauC0MikUJf/EUA6Fsa2RyRJfPZ96jPJu+VuFTfcJhCbukTh7cmsS9leFc5H9vWfue5AwNSA/+0FFb/jb15X8XsH/5ku/1fU/nJP/pI8/zvjf+YR/xWz4P9ah/6XrOLfe/o9ZfRPMED9TQLp7+y/B+T/CWSUvwvP/53/9/DqPxGA9jfB1r+z/x4t+yfuMP6X2Nnfu/g9NOpPiOP9TaDU7+y/7w7/iSDSv98r/r2H3zcd/4Qd+f+1Bfk78++u7J9QZf47x/Z3/v80t//jBrIBAP+X8f07++8W0J/I4fw7e+h3/v9cdP4Kq29/ufy/liAZcTDwP9rgfn28fw06i++Ps/8DhOzIYjVGAAA=</TemplateDocumentBinaryData>
    <Code>Option Explicit On
Option Strict On

' #################################################################
' PPSR NZ Debtor Advice Letter
'
' Version: 1.05 (13/04/2022)
'
' Usage:
'  PPSR NZ Debtor Advice
' #################################################################
' Version        Date  User     Job       Description
' -------  ----------  -------  --------  -------------------------
'    1.04  28/07/2021  ISS
'    1.05  13/04/2022  ISS      J028597   Updated to use ExecuteDisconnectedDataReader
' #################################################################

'#const "UpdateDebtorStatus",Boolean,True,"Indicates whether to update the Security Statement's Debtor Status to 'Advised'."

' Constants
Private UpdateDebtorStatus As Boolean = True

' Objects
Private mDocument As finDocumentRO
Private mFinancingStatement As ISSecurityRegistryResponse_PPSRNZ_FinancingStatement
Private mSecurityStmt As finSecurityStmt
Private mWordDocuments As List(Of ISWordDocument)

' Other
Private mBulkDocumentFileName As String

Public Function Main(source As Object, eventId As String, eventArgs As ISKeyValueList, ByRef handled As Boolean, parameters As Object, ByRef returnValues As ISKeyValueList, ByRef text As String) As Boolean

  Dim Success As Boolean

  ' Assume Success
  Success = True

  ' Initialise
  mDocument = finBL.Documents(Mid(ScriptInfo.ScriptId, 10))
  mWordDocuments = New List(Of ISWordDocument)

  ' Get Constants
  With ScriptInfo.Constants
    UpdateDebtorStatus = .GetBoolean("UpdateDebtorStatus", UpdateDebtorStatus)
  End With

  ' Handle Events
  Select Case eventId
    Case "Publish"
      ' Publish
      If DirectCast(parameters, ISKeyValueList).Exists("SecurityStmtId") Then
        ' Individual Security Statement via Form
        Success = Publish_Standalone(DirectCast(parameters, ISKeyValueList))

        ' Return Document
        If Success Then
          returnValues.SetObject("WordDocuments", mWordDocuments)
        End If
      Else
        ' Security Statements via Reports
        Success = Publish_Standalone(DirectCast(parameters, ISKeyValueList))

        ' Return Bulk Document File Name
        If Success Then
          returnValues.SetString("BulkDocumentFileName", mBulkDocumentFileName)
        End If
      End If
  End Select

  Return Success

End Function

'#################################################################
' Publish Standalone (Ad-Hoc)
'#################################################################
Private Function Publish_Standalone(parameters As ISKeyValueList) As Boolean

  Dim dr As IDataReader
  Dim DocumentManagerFileName As String
  Dim sqb As ISSelectQueryBuilder
  Dim Success As Boolean

  ' Assume Success
  Success = True

  If parameters.Exists("SecurityStmtId") Then
    ' Publish for one Security Statement?
    Success = Publish_SecurityStatment(parameters.GetString("SecurityStmtId"))
  Else
    ' Publish using Query to a Bulk Document
    ' Create Query (can use DocumentFunctions since we are using Standard Parameters)
    sqb = finBL.DocumentFunctions.GetSecurityStatementSqlSelectQueryBuilder(parameters)
    With sqb.SqlWhere
      .AppendComparisonInteger("SecurityStmt.RegisterStatus", "=", iseSecurityStmtRegisterStatus.Registered)
      .AppendComparisonNotNull("SecurityStmt.FsId")
      .AppendComparisonInteger("SecurityStmt.DrStatus", "=", isefinSecurityStmtDebtorStatus.ToBeAdvised)
    End With

    ' Execute Query
    If sqb.ExecuteDisconnectedDataReader(dr) Then
      Do While dr.Read()
        If Not Publish_SecurityStatment(finBL.Database.GetFieldString(dr!SecurityStmtId)) Then
          Success = False
          Exit Do
        End If
      Loop
      finBL.Database.DataReaderClose(dr)
    Else
      Success = False
    End If

    ' Save Bulk Document
    If Success AndAlso mWordDocuments.Count &lt;&gt; 0 Then
      If finBL.DocumentManagerFunctions.SaveWordDocumentsToDocumentManagerPdfSecurityStmt("", mWordDocuments, mDocument.FileName, DocumentManagerFileName, "") Then
        mBulkDocumentFileName = DocumentManagerFileName
      Else
        Success = False
      End If
    End If
  End If

  Return Success

End Function

'#################################################################
' Handle Security Statement
'#################################################################
Private Function Publish_SecurityStatment(securityStmtId As String) As Boolean

  Dim di As finDocumentRecipientDetailsItem
  Dim DocumentManagerFileName As String
  Dim DocumentManagerFileNameRelative As String
  Dim SecurityStmtDocumentClient As finSecurityStmtDocumentClient
  Dim SecurityStmtDocumentClients As finSecurityStmtDocumentClients
  Dim Success As Boolean

  ' Assume Success
  Success = True

  ' Load Security Statement
  mSecurityStmt = finBL.CreateSecurityStmt
  If Len(securityStmtId) = 0 Then
    Success = False
    finBL.Error.ErrorBegin("Security Statement Id not specified.")
  Else
    If mSecurityStmt.Load(securityStmtId) Then
      If mSecurityStmt.IsNew Then
        Success = False
        finBL.Error.ErrorBeginFormat("Security Statement Id '{0}' not found.", securityStmtId)
      End If
    Else
      Success = False
    End If
  End If

  ' Get Clients related to Security Statement
  If Success Then
    If finBL.SecurityRegistry.Service_PPSRNZ.GetFinancingStatementClientsFromSecurityStatement(mSecurityStmt, SecurityStmtDocumentClients, mFinancingStatement) Then
      If mSecurityStmt.FsId &lt;&gt; mFinancingStatement.FinancingStatementKey.RegistrationNumber Then
        Success = False
        finBL.Error.ErrorBeginFormat("Financing Statements do not match.")
      End If
    Else
      Success = False
    End If
  End If

  ' Create Documents for Client
  If Success Then
    For Each SecurityStmtDocumentClient In SecurityStmtDocumentClients
      ' Get Document Recipient Details for Client
      If Not mDocument.GetClientDocumentRecipientDetailsItem(SecurityStmtDocumentClient.Client, di) Then
        Success = False
        Exit For
      End If

      ' Create Document
      If Not Me.CreateDocument(di) Then
        Success = False
        Exit For
      End If

      ' Save Individual Document for this Security Statement
      If Not finBL.DocumentManagerFunctions.SaveWordDocumentToDocumentManagerPdfSecurityStmt(mSecurityStmt.SecurityStmtId, di.WordDocument, mDocument.FileName, DocumentManagerFileName, DocumentManagerFileNameRelative) Then
        Success = False
        Exit For
      End If

      ' Create Security Statement Log
      If mDocument.CreateLog Then
        If Not finBL.SecurityStmtFunctions.LogAddDocument(mSecurityStmt.Pk, mDocument.DocumentId, mDocument.DocumentLogSubjectResolved, "", DocumentManagerFileNameRelative) Then
          Success = False
          Exit For
        End If
      End If
    Next
  End If

  ' Update Security Statment Debtor Status to Advised
  If Success AndAlso UpdateDebtorStatus Then
    With mSecurityStmt
      .DrStatus = isefinSecurityStmtDebtorStatus.Advised
      Success = .Save()
    End With
  End If

  Return Success

End Function

'#################################################################
' Create Document
'#################################################################
Private Function CreateDocument(di As finDocumentRecipientDetailsItem) As Boolean

  Dim Success As Boolean
  Dim WordDocumentBookmarks As ISWordDocumentBookmarks

  ' Assume Success
  Success = True

  ' Get Bookmarks
  WordDocumentBookmarks = di.WordDocument.GetBookmarks()

  ' Replace Standard Bookmarks
  Success = di.UpdateStandardBookmarks(WordDocumentBookmarks)

  ' Replace Custom Bookmarks
  If Success Then
    ReplaceBookmarks(di, WordDocumentBookmarks)
  End If

  ' Update Bookmarks
  If Success Then
    Success = di.WordDocument.UpdateBookmarks(WordDocumentBookmarks)
  End If

  ' Record Word Document
  If Success Then
    mWordDocuments.Add(di.WordDocument)
  End If

  ' Update di.EmailDetails if required
  ' NOTE: By default, these are set to the Email template details defined on this Document

  ' Email Document?
  If di.EmailDetails.PublishEmail Then di.EmailDetails.SendEmailPdf()

  Return Success

End Function

'#################################################################
' CUSTOM BOOKMARKS
'#################################################################
Private Function ReplaceBookmarks(di As finDocumentRecipientDetailsItem,
                                  wordDocumentBookmarks As ISWordDocumentBookmarks) As Boolean

  Dim Collateral As ISSecurityRegistryResponse_PPSRNZ_Collateral
  Dim Debtor As ISSecurityRegistryResponse_PPSRNZ_Debtor
  Dim Regarding As String
  Dim SecuredParty As ISSecurityRegistryResponse_PPSRNZ_SecuredParty
  Dim SecurityStmtAccount As finSecurityStmtAccount
  Dim Success As Boolean
  Dim SummaryTables As ISSummaryTables

  ' Assume Success
  Success = True

  ' Covering Letter
  If Success Then
    With wordDocumentBookmarks
      .SetContentString("Reference", String.Format("{0}/{1}", mSecurityStmt.SecurityStmtId, di.Client.ClientId))
      .SetContentString("FSRegistrationNumber", mFinancingStatement.FinancingStatementKey.RegistrationNumber)
      .SetContentString("FSDebtorPIN", mFinancingStatement.DebtorPin)
    End With
  End If

  ' Regarding
  If Success Then
    ' Create Regarding
    Regarding = "Security Statement " &amp; mSecurityStmt.SecurityStmtId
    If mSecurityStmt.Accounts.Count &lt;&gt; 0 Then
      If mSecurityStmt.Accounts.Count = 1 Then
        Regarding &amp;= ", Account " &amp; mSecurityStmt.Accounts(0).AccountId
      Else
        Regarding &amp;= ", Accounts "
        For Each SecurityStmtAccount In mSecurityStmt.Accounts
          If Not (SecurityStmtAccount Is mSecurityStmt.Accounts(0)) Then Regarding &amp;= ", "
          Regarding &amp;= SecurityStmtAccount.AccountId
        Next
      End If
    End If

    ' Set Regarding
    wordDocumentBookmarks.SetContentString("Regarding", Regarding)
  End If

  ' Verification Statement
  If Success Then
    SummaryTables = finBL.CreateSummaryTables()
    Me.CreateSummaryTable_FinancingStatement(mFinancingStatement, summarytables)
    wordDocumentBookmarks.SetContentSummaryTables("FSFinancingStatement", SummaryTables)
  End If

  ' Debtors
  If Success Then
    SummaryTables = finBL.CreateSummaryTables()
    For Each Debtor In mFinancingStatement.Debtors
      Me.CreateSummaryTable_Debtor(Debtor, summarytables)
    Next
    wordDocumentBookmarks.SetContentSummaryTables("FSDebtors", SummaryTables)
  End If

  ' Collateral
  If Success Then
    SummaryTables = finBL.CreateSummaryTables()
    For Each Collateral In mFinancingStatement.Collaterals
      Me.CreateSummaryTable_Collateral(Collateral, summarytables)
    Next
    wordDocumentBookmarks.SetContentSummaryTables("FSCollaterals", SummaryTables)
  End If

  ' Secured Parties
  If Success Then
    SummaryTables = finBL.CreateSummaryTables()
    For Each SecuredParty In mFinancingStatement.SecuredParties
      Me.CreateSummaryTable_SecuredParty(SecuredParty, summarytables)
    Next
    wordDocumentBookmarks.SetContentSummaryTables("FSSecuredParties", SummaryTables)
  End If

  Return Success

End Function

Private Sub CreateSummaryTable_FinancingStatement(financingStatement As ISSecurityRegistryResponse_PPSRNZ_FinancingStatement,
                                                  summaryTables As ISSummaryTables)

  Dim SummaryTable As ISSummaryTable

  SummaryTable = SummaryTables.CreateSummaryTableTabular("FinancingStatement", "FinancingStatement")
  With summaryTable
    .AutoStripe = False
    .WidthHtml = "100%"

    ' Column Definitions
    With .Columns
      .AddText().WidthHtml = "25%"
      .AddText().WidthHtml = "75%"
    End With

    .AddRowCaptionText("Registration Number:", financingStatement.FinancingStatementKey.RegistrationNumber, True)
    .AddRowCaptionText("Registration Date", finBL.FormatDateTimeDocuments(financingStatement.RegistrationDate, True, True), True)
    .AddRowCaptionText("Debtor PIN", financingStatement.DebtorPin, True)
    If financingStatement.RegistrationDate &lt;&gt; financingStatement.LastUpdatedDate Then
      .AddRowCaptionText("Version Created Date", finBL.FormatDateTimeDocuments(financingStatement.LastUpdatedDate, True, True), True)
    End If
    .AddRowCaptionText("Expiry Date", finBL.FormatDateTimeDocuments(financingStatement.ExpiryDate, True, True), True)
    .AddRowCaptionText("Status", financingStatement.StatusText, True)

    ' Set Borders (after Rows added)
    With .WordDocumentOptions
      .CellVerticalAlignment = iseSummaryTableCellVerticalAlignment.Top
      .SetBorders(iseWordDocumentSummaryTableBorder.All, "black", 1, iseWordDocumentSummaryTableBorderStyle.Single)
      .SetBordersCells(iseWordDocumentSummaryTableBorder.All, "#A0A0A0", 1, iseWordDocumentSummaryTableBorderStyle.Single, True, False)
    End With
  End With
  summaryTables.Add("FinancingStatement", SummaryTable)

End Sub

Private Sub CreateSummaryTable_Debtor(debtor As ISSecurityRegistryResponse_PPSRNZ_Debtor,
                                      summaryTables As ISSummaryTables)

  Dim SummaryTable As ISSummaryTable

  SummaryTable = SummaryTables.CreateSummaryTableTabular("Debtor", "Debtor")
  With summaryTable
    .AutoStripe = False
    .WidthHtml = "100%"

    ' Add gap between Tables
    If summaryTables.Count &lt;&gt; 0 Then .TextBefore = vbNewLine

    ' Column Definitions
    With .Columns
      .AddText().WidthHtml = "25%"
      .AddText().WidthHtml = "75%"
    End With

    Select Case Debtor.DebtorType
      Case iseSecurityRegistry_PPSRNZ_DebtorType.Organisation
        ' Organisation
        .AddRowCaptionText("Organisation Name:", Debtor.DebtorOrganisation.OrganisationName, True)
        .AddRowCaptionText("Organisation Type:", Debtor.DebtorOrganisation.OrganisationType.Description, True)
        .AddRowCaptionText("Incorporation Number:", Debtor.DebtorOrganisation.IncorporationNumber, False)
        .AddRowCaptionText("NZBN:", Debtor.NZBN, False)
        .AddRowCaptionText("Reference:", Debtor.DebtorReference, True)
        .AddRowCaptionText("Email Address:", Debtor.DebtorOrganisation.Email, True)
        .AddRowCaptionText("Contact Telephone:", Debtor.DebtorOrganisation.PhoneFull, True)
        .AddRowCaptionText("Fax:", Debtor.DebtorOrganisation.FaxFull, True)
        .AddRowCaptionAddressDetailsPhysical("Contact Address:", Debtor.DebtorOrganisation.ContactAddress.ToAddressDetails(), True,,,, True)
        .AddRowCaptionAddressDetailsPhysical("Physical Address:", Debtor.DebtorOrganisation.MailingAddress.ToAddressDetails(), True,,,, True)

        ' Person Acting on Behalf
        .Rows.AddSectionHeading1("Person Acting on behalf of:")
        If Len(Debtor.DebtorPersonOrAob.JobTitle) = 0 Then
          .AddRowCaptionText("First Name:", Debtor.DebtorPersonOrAob.FirstName, True)
          .AddRowCaptionText("Middle Name(s):", Debtor.DebtorPersonOrAob.MiddleNames, True)
          .AddRowCaptionText("Last Name:", Debtor.DebtorPersonOrAob.LastName, True)
        Else
          .AddRowCaptionText("Job Title:", Debtor.DebtorPersonOrAob.JobTitle, True)
        End If
        .AddRowCaptionText("Email Address:", Debtor.DebtorPersonOrAob.Email, True)
        .AddRowCaptionText("Contact Telephone:", Debtor.DebtorPersonOrAob.PhoneFull, True)
        .AddRowCaptionText("Fax:", Debtor.DebtorPersonOrAob.FaxFull, True)
        .AddRowCaptionAddressDetailsPhysical("Contact Address:", Debtor.DebtorPersonOrAob.ContactAddress.ToAddressDetails(), True,,,, True)
        .AddRowCaptionAddressDetailsPhysical("Physical Address:", Debtor.DebtorPersonOrAob.MailingAddress.ToAddressDetails(), True,,,, True)

      Case iseSecurityRegistry_PPSRNZ_DebtorType.Person
        ' Person
        .AddRowCaptionText("First Name:", Debtor.DebtorPersonOrAob.FirstName, True)
        .AddRowCaptionText("Middle Name(s):", Debtor.DebtorPersonOrAob.MiddleNames, True)
        .AddRowCaptionText("Last Name:", Debtor.DebtorPersonOrAob.LastName, True)
        .AddRowCaptionDate("Date of Birth:", Debtor.DebtorPersonOrAob.DateOfBirth, True)
        .AddRowCaptionText("Reference:", Debtor.DebtorReference, True)
        .AddRowCaptionText("Email Address:", Debtor.DebtorPersonOrAob.Email, True)
        .AddRowCaptionText("Contact Telephone:", Debtor.DebtorPersonOrAob.PhoneFull, True)
        .AddRowCaptionText("Fax:", Debtor.DebtorPersonOrAob.FaxFull, True)
        .AddRowCaptionAddressDetailsPhysical("Contact Address:", Debtor.DebtorPersonOrAob.ContactAddress.ToAddressDetails(), True,,,, True)
        .AddRowCaptionAddressDetailsPhysical("Physical Address:", Debtor.DebtorPersonOrAob.MailingAddress.ToAddressDetails(), True,,,, True)
    End Select

    ' Set Borders (after Rows added)
    With .WordDocumentOptions
      .CellVerticalAlignment = iseSummaryTableCellVerticalAlignment.Top
      .SetBorders(iseWordDocumentSummaryTableBorder.All, "black", 1, iseWordDocumentSummaryTableBorderStyle.Single)
      .SetBordersCells(iseWordDocumentSummaryTableBorder.All, "#A0A0A0", 1, iseWordDocumentSummaryTableBorderStyle.Single, True, False)
    End With
  End With
  summaryTables.Add("Debtor" &amp; CStr(summaryTables.Count + 1), SummaryTable)

End Sub

Private Sub CreateSummaryTable_Collateral(collateral As ISSecurityRegistryResponse_PPSRNZ_Collateral,
                                          summaryTables As ISSummaryTables)

  Dim CollateralItem As ISSecurityRegistryResponse_PPSRNZ_CollateralItem
  Dim SummaryTable As ISSummaryTable

  SummaryTable = SummaryTables.CreateSummaryTableTabular("Collateral", "Collateral")
  With summaryTable
    .AutoStripe = False
    .WidthHtml = "100%"

    ' Add gap between Tables
    If summaryTables.Count &lt;&gt; 0 Then .TextBefore = vbNewLine

    ' Column Definitions
    With .Columns
      .AddText().WidthHtml = "25%"
      .AddText().WidthHtml = "75%"
    End With

    .AddRowCaptionText("Collateral Type:", collateral.CollateralType.Description, True)
    If Len(collateral.Description) &lt;&gt; 0 Then
      .AddRowCaptionText("Description:", collateral.Description, True)
    End If

    Select Case Collateral.CollateralTypeEnum
      Case iseSecurityRegistry_PPSRNZ_CollateralType.GoodsAircraft
        ' Aircraft
        For Each CollateralItem In collateral.CollateralItems
          .Rows.AddSectionHeading1(CollateralItem.Description)
          .AddRowCaptionText("Aircraft Class:", CollateralItem.AircraftClass.Description, True)
          .AddRowCaptionText("Registration Mark:", CollateralItem.RegistrationMark, True)
          .AddRowCaptionText("Manufacturer Serial:", CollateralItem.ManufacturerSerial, True)
          .AddRowCaptionText("Make:", CollateralItem.Make, True)
          .AddRowCaptionText("Model:", CollateralItem.Model, True)
          .AddRowCaptionText("Year:", If(CollateralItem.Year = 0, "", CStr(CollateralItem.Year)), True)
        Next

      Case iseSecurityRegistry_PPSRNZ_CollateralType.GoodsMotorVehicle
        ' Motor Vehicle
        For Each CollateralItem In collateral.CollateralItems
          .Rows.AddSectionHeading1(CollateralItem.Description)
          .AddRowCaptionText("VIN:", CollateralItem.VIN, True)
          .AddRowCaptionText("Chassis Number:", CollateralItem.Chassis, True)
          .AddRowCaptionText("Registration Number:", CollateralItem.RegistrationPlate, True)
          .AddRowCaptionText("Make:", CollateralItem.Make, True)
          .AddRowCaptionText("Model:", CollateralItem.Model, True)
          .AddRowCaptionText("Year:", If(CollateralItem.Year = 0, "", CStr(CollateralItem.Year)), True)
          .AddRowCaptionText("Colour:", CollateralItem.Colour, True)
        Next

      Case iseSecurityRegistry_PPSRNZ_CollateralType.GoodsOther, iseSecurityRegistry_PPSRNZ_CollateralType.AllPresentAndAfterAcquiredPersonalPropertyExcept
        ' Serial Number
        For Each CollateralItem In collateral.CollateralItems
          .Rows.AddSectionHeading1(CollateralItem.Description)
          .AddRowCaptionText("Identifying Numbers:", CollateralItem.IdentifyingNumbers, True)
          .AddRowCaptionText("Make:", CollateralItem.Make, True)
          .AddRowCaptionText("Model:", CollateralItem.Model, True)
          .AddRowCaptionText("Year:", If(CollateralItem.Year = 0, "", CStr(CollateralItem.Year)), True)
          .AddRowCaptionText("Colour:", CollateralItem.Colour, True)
        Next
    End Select

    ' Set Borders (after Rows added)
    With .WordDocumentOptions
      .CellVerticalAlignment = iseSummaryTableCellVerticalAlignment.Top
      .SetBorders(iseWordDocumentSummaryTableBorder.All, "black", 1, iseWordDocumentSummaryTableBorderStyle.Single)
      .SetBordersCells(iseWordDocumentSummaryTableBorder.All, "#A0A0A0", 1, iseWordDocumentSummaryTableBorderStyle.Single, True, False)
    End With
  End With
  summaryTables.Add("Collateral" &amp; CStr(summaryTables.Count + 1), SummaryTable)

End Sub

Private Sub CreateSummaryTable_SecuredParty(securedParty As ISSecurityRegistryResponse_PPSRNZ_SecuredParty,
                                            summaryTables As ISSummaryTables)

  Dim SummaryTable As ISSummaryTable

  SummaryTable = SummaryTables.CreateSummaryTableTabular("SecuredParty", "SecuredParty")
  With summaryTable
    .AutoStripe = False
    .WidthHtml = "100%"

    ' Add gap between Tables
    If summaryTables.Count &lt;&gt; 0 Then .TextBefore = vbNewLine

    ' Column Definitions
    With .Columns
      .AddText().WidthHtml = "25%"
      .AddText().WidthHtml = "75%"
    End With

    Select Case SecuredParty.SecuredPartyType
      Case iseSecurityRegistry_PPSRNZ_SecuredPartyType.Organisation
        ' Organisation
        .AddRowCaptionText("Organisation Name:", SecuredParty.SecuredPartyOrganisation.OrganisationName, True)
        .AddRowCaptionText("Organisation Type:", SecuredParty.SecuredPartyOrganisation.OrganisationType.Description, False)
        .AddRowCaptionText("Incorporation Number:", SecuredParty.SecuredPartyOrganisation.IncorporationNumber, False)
        .AddRowCaptionText("NZBN:", SecuredParty.NZBN, False)
        .AddRowCaptionText("Email Address:", SecuredParty.SecuredPartyOrganisation.Email, True)
        .AddRowCaptionText("Contact Telephone:", SecuredParty.SecuredPartyOrganisation.PhoneFull, True)
        .AddRowCaptionText("Fax:", SecuredParty.SecuredPartyOrganisation.FaxFull, True)
        .AddRowCaptionAddressDetailsPhysical("Contact Address:", SecuredParty.SecuredPartyOrganisation.ContactAddress.ToAddressDetails(), True,,,, True)
        .AddRowCaptionAddressDetailsPhysical("Physical Address:", SecuredParty.SecuredPartyOrganisation.MailingAddress.ToAddressDetails(), True,,,, True)

        ' Person Acting on Behalf
        .Rows.AddSectionHeading1("Person Acting on behalf of:")
        If Len(SecuredParty.SecuredPartyPerson.JobTitle) = 0 Then
          .AddRowCaptionText("First Name:", SecuredParty.SecuredPartyPerson.FirstName, True)
          .AddRowCaptionText("Middle Name(s):", SecuredParty.SecuredPartyPerson.MiddleNames, True)
          .AddRowCaptionText("Last Name:", SecuredParty.SecuredPartyPerson.LastName, True)
        Else
          .AddRowCaptionText("Job Title:", SecuredParty.SecuredPartyPerson.JobTitle, True)
        End If
        .AddRowCaptionText("Email Address:", SecuredParty.SecuredPartyPerson.Email, True)
        .AddRowCaptionText("Contact Telephone:", SecuredParty.SecuredPartyPerson.PhoneFull, True)
        .AddRowCaptionText("Fax:", SecuredParty.SecuredPartyPerson.FaxFull, True)
        .AddRowCaptionAddressDetailsPhysical("Contact Address:", SecuredParty.SecuredPartyPerson.ContactAddress.ToAddressDetails(), True,,,, True)
        .AddRowCaptionAddressDetailsPhysical("Physical Address:", SecuredParty.SecuredPartyPerson.MailingAddress.ToAddressDetails(), True,,,, True)

      Case iseSecurityRegistry_PPSRNZ_SecuredPartyType.Person
        ' Person
        .AddRowCaptionText("First Name:", SecuredParty.SecuredPartyPerson.FirstName, True)
        .AddRowCaptionText("Middle Name(s):", SecuredParty.SecuredPartyPerson.MiddleNames, True)
        .AddRowCaptionText("Last Name:", SecuredParty.SecuredPartyPerson.LastName, True)
        .AddRowCaptionDate("Date of Birth:", SecuredParty.SecuredPartyPerson.DateOfBirth, True)
        .AddRowCaptionText("Email Address:", SecuredParty.SecuredPartyPerson.Email, True)
        .AddRowCaptionText("Contact Telephone:", SecuredParty.SecuredPartyPerson.PhoneFull, True)
        .AddRowCaptionText("Fax:", SecuredParty.SecuredPartyPerson.FaxFull, True)
        .AddRowCaptionAddressDetailsPhysical("Contact Address:", SecuredParty.SecuredPartyPerson.ContactAddress.ToAddressDetails(), True,,,, True)
        .AddRowCaptionAddressDetailsPhysical("Physical Address:", SecuredParty.SecuredPartyPerson.MailingAddress.ToAddressDetails(), True,,,, True)
    End Select

    ' Set Borders (after Rows added)
    With .WordDocumentOptions
      .CellVerticalAlignment = iseSummaryTableCellVerticalAlignment.Top
      .SetBorders(iseWordDocumentSummaryTableBorder.All, "black", 1, iseWordDocumentSummaryTableBorderStyle.Single)
      .SetBordersCells(iseWordDocumentSummaryTableBorder.All, "#A0A0A0", 1, iseWordDocumentSummaryTableBorderStyle.Single, True, False)
    End With
  End With
  summaryTables.Add("SecuredParty" &amp; CStr(summaryTables.Count + 1), SummaryTable)

End Sub</Code>
    <Language>VisualBasic</Language>
    <TimeoutSeconds>0</TimeoutSeconds>
    <ScriptReferenceReports>false</ScriptReferenceReports>
    <Constants>
      <ISScriptConstants version="1.00">
        <ScriptConstant name="UpdateDebtorStatus" constantType="Boolean">
          <Notes>Indicates whether to update the Security Statement's Debtor Status to 'Advised'.</Notes>
          <Value>false</Value>
        </ScriptConstant>
      </ISScriptConstants>
    </Constants>
  </finDocument>