﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<data-set>
  <relations format-version="3" relations-version="20230524" main-table="GIDesign" stable-sharing="True" file-name="(Name)">
    <link from="GIFilter (DesignID)" to="GIDesign (DesignID)" />
    <link from="GIGroupBy (DesignID)" to="GIDesign (DesignID)" />
    <link from="GIMassAction (DesignID)" to="GIDesign (DesignID)" />
    <link from="GIMassUpdateField (DesignID)" to="GIDesign (DesignID)" />
    <link from="GINavigationScreen (DesignID)" to="GIDesign (DesignID)" />
    <link from="GINavigationParameter (DesignID, NavigationScreenLineNbr)" to="GINavigationScreen (DesignID, LineNbr)" />
    <link from="GINavigationCondition (DesignID, NavigationScreenLineNbr)" to="GINavigationScreen (DesignID, LineNbr)" />
    <link from="GIOn (DesignID, RelationNbr)" to="GIRelation (DesignID, LineNbr)" />
    <link from="GIRecordDefault (DesignID)" to="GIDesign (DesignID)" />
    <link from="GIRelation (DesignID, ParentTable)" to="GITable (DesignID, Alias)" />
    <link from="GIRelation (DesignID, ChildTable)" to="GITable (DesignID, Alias)" />
    <link from="GIResult (DesignID)" to="GIDesign (DesignID)" />
    <link from="GIResult (ObjectName, DesignID)" to="GITable (Alias, DesignID)" />
    <link from="GISort (DesignID)" to="GIDesign (DesignID)" />
    <link from="GITable (DesignID)" to="GIDesign (DesignID)" />
    <link from="GIWhere (DesignID)" to="GIDesign (DesignID)" />
    <link from="SiteMap (Url)" to="GIDesign (DesignID)" type="WeakByUrl" linkname="toDesignById" baseurl="~/GenericInquiry/GenericInquiry.aspx" paramnames="id" />
    <link from="SiteMap (Url)" to="GIDesign (Name)" type="WeakByUrl" linkname="toDesignByName" baseurl="~/GenericInquiry/GenericInquiry.aspx" />
    <link from="ListEntryPoint (ListScreenID)" to="SiteMap (ScreenID)" />
    <link from="SiteMap (ScreenID)" to="GIDesign (PrimaryScreenIDNew)" linkname="to1Screen" />
    <link from="FilterHeader (ScreenID)" to="SiteMap (ScreenID)" />
    <link from="FilterRow (FilterID)" to="FilterHeader (FilterID)" />
    <link from="PivotTable (NoteID)" to="FilterHeader (RefNoteID)" />
    <link from="PivotField (ScreenID, PivotTableID)" to="PivotTable (ScreenID, PivotTableID)" />
    <link from="MUIScreen (NodeID)" to="SiteMap (NodeID)" />
    <link from="MUIWorkspace (WorkspaceID)" to="MUIScreen (WorkspaceID)" type="FromMaster" linkname="workspaceToScreen" split-location="yes" updateable="True" />
    <link from="MUISubcategory (SubcategoryID)" to="MUIScreen (SubcategoryID)" type="FromMaster" updateable="True" />
    <link from="MUITile (ScreenID)" to="SiteMap (ScreenID)" />
    <link from="MUIWorkspace (WorkspaceID)" to="MUITile (WorkspaceID)" type="FromMaster" linkname="workspaceToTile" split-location="yes" updateable="True" />
    <link from="MUIArea (AreaID)" to="MUIWorkspace (AreaID)" type="FromMaster" updateable="True" />
    <link from="MUIPinnedScreen (NodeID, WorkspaceID)" to="MUIScreen (NodeID, WorkspaceID)" type="WeakIfEmpty" isEmpty="Username" />
    <link from="MUIFavoriteWorkspace (WorkspaceID)" to="MUIWorkspace (WorkspaceID)" type="WeakIfEmpty" isEmpty="Username" />
    <link from="GIDesign (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIFilter (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIFilter (NoteID)" to="GIFilterKvExt (RecordID)" type="RowKvExt" />
    <link from="GIGroupBy (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIOn (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIRelation (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIResult (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIResult (NoteID)" to="GIResultKvExt (RecordID)" type="RowKvExt" />
    <link from="GISort (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GITable (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="GIWhere (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="FilterHeader (NoteID)" to="Note (NoteID)" type="Note" />
    <link from="FilterHeader (NoteID)" to="FilterHeaderKvExt (RecordID)" type="RowKvExt" />
  </relations>
  <layout>
    <table name="GIDesign">
      <table name="GIFilter" uplink="(DesignID) = (DesignID)">
        <table name="Note" uplink="(NoteID) = (NoteID)" />
        <table name="GIFilterKvExt" uplink="(NoteID) = (RecordID)" />
      </table>
      <table name="GIGroupBy" uplink="(DesignID) = (DesignID)">
        <table name="Note" uplink="(NoteID) = (NoteID)" />
      </table>
      <table name="GIMassAction" uplink="(DesignID) = (DesignID)" />
      <table name="GIMassUpdateField" uplink="(DesignID) = (DesignID)" />
      <table name="GINavigationScreen" uplink="(DesignID) = (DesignID)">
        <table name="GINavigationParameter" uplink="(DesignID, LineNbr) = (DesignID, NavigationScreenLineNbr)" />
        <table name="GINavigationCondition" uplink="(DesignID, LineNbr) = (DesignID, NavigationScreenLineNbr)" />
      </table>
      <table name="GIRecordDefault" uplink="(DesignID) = (DesignID)" />
      <table name="GISort" uplink="(DesignID) = (DesignID)">
        <table name="Note" uplink="(NoteID) = (NoteID)" />
      </table>
      <table name="GITable" uplink="(DesignID) = (DesignID)">
        <table name="GIRelation" uplink="(DesignID, Alias) = (DesignID, ParentTable)">
          <table name="GIOn" uplink="(DesignID, LineNbr) = (DesignID, RelationNbr)">
            <table name="Note" uplink="(NoteID) = (NoteID)" />
          </table>
          <table name="Note" uplink="(NoteID) = (NoteID)" />
        </table>
        <table name="GIResult" uplink="(Alias, DesignID) = (ObjectName, DesignID)">
          <table name="Note" uplink="(NoteID) = (NoteID)" />
          <table name="GIResultKvExt" uplink="(NoteID) = (RecordID)" />
        </table>
        <table name="Note" uplink="(NoteID) = (NoteID)" />
      </table>
      <table name="GIWhere" uplink="(DesignID) = (DesignID)">
        <table name="Note" uplink="(NoteID) = (NoteID)" />
      </table>
      <table name="SiteMap" uplink="(DesignID) = (Url)" linkname="toDesignById">
        <table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" />
        <table name="FilterHeader" uplink="(ScreenID) = (ScreenID)">
          <table name="FilterRow" uplink="(FilterID) = (FilterID)" />
          <table name="PivotTable" uplink="(RefNoteID) = (NoteID)">
            <table name="PivotField" uplink="(ScreenID, PivotTableID) = (ScreenID, PivotTableID)" />
          </table>
          <table name="Note" uplink="(NoteID) = (NoteID)" />
          <table name="FilterHeaderKvExt" uplink="(NoteID) = (RecordID)" />
        </table>
        <table name="MUIScreen" uplink="(NodeID) = (NodeID)">
          <table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" />
        </table>
        <table name="MUITile" uplink="(ScreenID) = (ScreenID)" />
      </table>
      <table name="SiteMap" uplink="(Name) = (Url)" linkname="toDesignByName">
        <table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" />
        <table name="FilterHeader" uplink="(ScreenID) = (ScreenID)">
          <table name="FilterRow" uplink="(FilterID) = (FilterID)" />
          <table name="PivotTable" uplink="(RefNoteID) = (NoteID)">
            <table name="PivotField" uplink="(ScreenID, PivotTableID) = (ScreenID, PivotTableID)" />
          </table>
          <table name="Note" uplink="(NoteID) = (NoteID)" />
          <table name="FilterHeaderKvExt" uplink="(NoteID) = (RecordID)" />
        </table>
        <table name="MUIScreen" uplink="(NodeID) = (NodeID)">
          <table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" />
        </table>
        <table name="MUITile" uplink="(ScreenID) = (ScreenID)" />
      </table>
      <table name="SiteMap" uplink="(PrimaryScreenIDNew) = (ScreenID)" linkname="to1Screen">
        <table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" />
        <table name="FilterHeader" uplink="(ScreenID) = (ScreenID)">
          <table name="FilterRow" uplink="(FilterID) = (FilterID)" />
          <table name="PivotTable" uplink="(RefNoteID) = (NoteID)">
            <table name="PivotField" uplink="(ScreenID, PivotTableID) = (ScreenID, PivotTableID)" />
          </table>
          <table name="Note" uplink="(NoteID) = (NoteID)" />
          <table name="FilterHeaderKvExt" uplink="(NoteID) = (RecordID)" />
        </table>
        <table name="MUIScreen" uplink="(NodeID) = (NodeID)">
          <table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" />
        </table>
        <table name="MUITile" uplink="(ScreenID) = (ScreenID)" />
      </table>
      <table name="Note" uplink="(NoteID) = (NoteID)" />
    </table>
    <table name="MUIWorkspace">
      <table name="MUIFavoriteWorkspace" uplink="(WorkspaceID) = (WorkspaceID)" />
    </table>
    <table name="MUISubcategory" />
    <table name="MUIArea" />
  </layout>
  <data>
    <GIDesign>
      <row DesignID="b8e74a3d-6f10-42e7-99a4-eb2100396b07" Name="VelixoReportsPro-GLHistoryLastActivityMaster" FilterColCount="3" PageSize="0" ExportTop="0" NewRecordCreationEnabled="0" MassDeleteEnabled="0" AutoConfirmDelete="0" MassRecordsUpdateEnabled="0" MassActionsOnRecordsEnabled="0" ExposeViaOData="1" ExposeViaMobile="0" ShowDeletedRecords="0" ShowArchivedRecords="0" NotesAndFilesTable="$&lt;None&gt;">
        <GISort LineNbr="5" IsActive="1" DataFieldName="GLHistory.finPeriodID" SortOrder="A" />
        <GISort LineNbr="4" IsActive="1" DataFieldName="Sub.subID" SortOrder="A" />
        <GISort LineNbr="3" IsActive="1" DataFieldName="Account.accountID" SortOrder="A" />
        <GISort LineNbr="2" IsActive="1" DataFieldName="Branch.branchID" SortOrder="A" />
        <GISort LineNbr="1" IsActive="1" DataFieldName="Ledger.ledgerID" SortOrder="A" />
        <GITable Alias="Sub" Name="PX.Objects.GL.Sub">
          <GIResult LineNbr="5" SortOrder="4" IsActive="1" Field="subID" Caption="SubaccountID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="9912700a-c00d-4567-9502-e2ebde5c5e02" />
        </GITable>
        <GITable Alias="Ledger" Name="PX.Objects.GL.Ledger">
          <GIResult LineNbr="2" SortOrder="1" IsActive="1" Field="LedgerID" Caption="LedgerID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="e140d455-c694-4cfb-abfe-51dc8e73753e" />
        </GITable>
        <GITable Alias="GLHistory2" Name="PX.Objects.GL.GLHistory" />
        <GITable Alias="GLHistory" Name="PX.Objects.GL.GLHistory">
          <GIRelation LineNbr="6" ChildTable="Sub" IsActive="1" JoinType="I">
            <GIOn LineNbr="11" ParentField="subID" Condition="E" ChildField="subID" Operation="A" />
          </GIRelation>
          <GIRelation LineNbr="5" ChildTable="Ledger" IsActive="1" JoinType="I">
            <GIOn LineNbr="10" ParentField="ledgerID" Condition="E" ChildField="ledgerID" Operation="A" />
          </GIRelation>
          <GIRelation LineNbr="4" ChildTable="Branch" IsActive="1" JoinType="I">
            <GIOn LineNbr="9" ParentField="branchID" Condition="E" ChildField="branchID" Operation="A" />
          </GIRelation>
          <GIRelation LineNbr="3" ChildTable="Account" IsActive="1" JoinType="I">
            <GIOn LineNbr="8" ParentField="AccountID" Condition="E" ChildField="AccountID" Operation="A" />
          </GIRelation>
          <GIRelation LineNbr="2" ChildTable="GLHistory2" IsActive="1" JoinType="L">
            <GIOn LineNbr="7" ParentField="=[FinPeriod.FinPeriodID]" Condition="GE" ChildField="finPeriodID" Operation="A" />
            <GIOn LineNbr="6" ParentField="finPeriodID" Condition="L" ChildField="finPeriodID" Operation="A" />
            <GIOn LineNbr="5" ParentField="subID" Condition="E" ChildField="subID" Operation="A" />
            <GIOn LineNbr="4" ParentField="accountID" Condition="E" ChildField="accountID" Operation="A" />
            <GIOn LineNbr="3" ParentField="branchID" Condition="E" ChildField="branchID" Operation="A" />
            <GIOn LineNbr="2" ParentField="ledgerID" Condition="E" ChildField="ledgerID" Operation="A" />
          </GIRelation>
          <GIResult LineNbr="18" SortOrder="17" IsActive="1" Field="tstamp" Caption="Timestamp" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="985d0a57-7dc8-4e8a-90e4-b061c0da657c" />
          <GIResult LineNbr="17" SortOrder="16" IsActive="1" Field="tranYtdBalance" Caption="FinYtdBalance" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="dea8751d-f49e-4daf-8665-f6ac69fb5d26" />
          <GIResult LineNbr="16" SortOrder="15" IsActive="1" Field="tranPtdDebit" Caption="FinPtdDebit" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="2a963a43-2f72-495a-b776-2d5e01f929a2" />
          <GIResult LineNbr="15" SortOrder="14" IsActive="1" Field="tranPtdCredit" Caption="FinPtdCredit" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="b28cd1d5-23b2-4d1f-b01a-c4ffef488b29" />
          <GIResult LineNbr="14" SortOrder="13" IsActive="1" Field="tranBegBalance" Caption="FinBegBalance" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="d44e3484-3f4f-4375-bf93-95c3e9480c79" />
          <GIResult LineNbr="13" SortOrder="12" IsActive="1" Field="curyID" Caption="CuryID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="79662eca-c0f8-4049-bf9c-43ea7b64c2fb" />
          <GIResult LineNbr="12" SortOrder="11" IsActive="1" Field="curyTranYtdBalance" Caption="CuryFinYtdBalance" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="3a795cd7-1ad2-455d-a643-634dfc34ea51" />
          <GIResult LineNbr="11" SortOrder="10" IsActive="1" Field="curyTranPtdDebit" Caption="CuryFinPtdDebit" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="385678ae-4583-4173-b221-b1fbfa5c308d" />
          <GIResult LineNbr="10" SortOrder="9" IsActive="1" Field="curyTranPtdCredit" Caption="CuryFinPtdCredit" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="153dbac8-ba17-4c17-a880-cff91ab843ff" />
          <GIResult LineNbr="9" SortOrder="8" IsActive="1" Field="curyTranBegBalance" Caption="CuryFinBegBalance" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="d646faf1-81b9-4db8-8455-5337e4522831" />
          <GIResult LineNbr="7" SortOrder="6" IsActive="1" Field="finPeriodID" Caption="FinPeriodID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="34191da8-40a0-4cbd-ba07-12e451c8ce80" />
        </GITable>
        <GITable Alias="FinPeriod" Name="PX.Objects.GL.FinPeriods.TableDefinition.FinPeriod">
          <GIRelation LineNbr="1" ChildTable="GLHistory" IsActive="1" JoinType="I">
            <GIOn LineNbr="1" ParentField="FinPeriodID" Condition="GE" ChildField="FinPeriodID" Operation="A" />
          </GIRelation>
          <GIResult LineNbr="8" SortOrder="7" IsActive="1" Field="finPeriodID" Caption="ReferenceFinPeriodID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="dc978afd-768c-4c3e-b721-a30cbcf4300f" />
          <GIResult LineNbr="6" SortOrder="5" IsActive="1" Field="finYear" Caption="FinYear" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="62c3f07b-9e6a-44d2-a27d-801e95bddf76" />
        </GITable>
        <GITable Alias="Branch" Name="PX.Objects.GL.Branch">
          <GIResult LineNbr="3" SortOrder="2" IsActive="1" Field="branchID" Caption="BranchID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="f199f2c4-61dd-47f3-9935-1aaa6218e096" />
        </GITable>
        <GITable Alias="Account" Name="PX.Objects.GL.Account">
          <GIResult LineNbr="4" SortOrder="3" IsActive="1" Field="accountID" Caption="AccountID" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="3a1a17d2-f647-4806-a9c2-2f8b1adfe41b" />
        </GITable>
        <GIWhere LineNbr="5" IsActive="1" DataFieldName="GLHistory.finPeriodID" Condition="NE" IsExpression="0" Value1="=[FinPeriod.FinPeriodID]" Operation="A" />
        <GIWhere LineNbr="4" IsActive="1" DataFieldName="FinPeriod.organizationID" Condition="E" IsExpression="0" Value1="0" Operation="A" />
        <GIWhere LineNbr="3" IsActive="1" DataFieldName="GLHistory2.finPeriodID" Condition="NU" IsExpression="0" Operation="A" />
        <GIWhere LineNbr="2" IsActive="1" DataFieldName="Account.type" Condition="E" IsExpression="0" Value1="L" CloseBrackets=")" Operation="A" />
        <GIWhere LineNbr="1" IsActive="1" OpenBrackets="(" DataFieldName="Account.type" Condition="E" IsExpression="0" Value1="A" Operation="O" />
        <SiteMap linkname="toDesignById">
          <row Title="VelixoReportsPro-GLHistoryLastActivityMaster" Url="~/GenericInquiry/GenericInquiry.aspx?id=b8e74a3d-6f10-42e7-99a4-eb2100396b07" ScreenID="VE500115" NodeID="49e35c50-1b41-4fb1-9ebc-88de611d336d" ParentID="00000000-0000-0000-0000-000000000000" SelectedUI="E">
            <MUIScreen IsPortal="0" WorkspaceID="0adedbe9-2814-400c-9d11-c459b9057d21" Order="1032612" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4">
              <MUIPinnedScreen IsPortal="0" Username="" IsPinned="1" />
            </MUIScreen>
          </row>
        </SiteMap>
      </row>
    </GIDesign>
    <MUIWorkspace>
      <row IsPortal="0" WorkspaceID="0adedbe9-2814-400c-9d11-c459b9057d21" Order="875" Title="Velixo" Icon="table" IsSystem="0" />
    </MUIWorkspace>
    <MUISubcategory>
      <row IsPortal="1" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4" Order="896" Name="Inquiries" Icon="" IsSystem="1" />
      <row IsPortal="0" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4" Order="896" Name="Inquiries" Icon="" IsSystem="1" />
    </MUISubcategory>
  </data>
</data-set>