﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<data-set>
  <relations format-version="3" relations-version="20230829" 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="a331ba7c-9047-4d62-8254-eec8b591b2a7" Name="QQ100012" FilterColCount="3" PageSize="0" ExportTop="0" NewRecordCreationEnabled="0" MassDeleteEnabled="0" AutoConfirmDelete="0" MassRecordsUpdateEnabled="0" MassActionsOnRecordsEnabled="0" ExposeViaOData="0" ExposeViaMobile="0" ShowDeletedRecords="0" ShowArchivedRecords="0" NotesAndFilesTable="$&lt;None&gt;">
        <GITable Alias="SalesPerson" Name="PX.Objects.AR.SalesPerson" Type="0">
          <GIRelation LineNbr="4" ChildTable="EPEmployee" IsActive="1" JoinType="L">
            <GIOn LineNbr="5" ParentField="salesPersonID" Condition="E" ChildField="salesPersonID" Operation="A" />
          </GIRelation>
          <GIResult LineNbr="5" SortOrder="5" IsActive="1" Field="descr" Caption="Default Salesperson Name" Width="200" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="14c588f0-d8e2-4608-90f1-ea85a52b05bc" />
          <GIResult LineNbr="4" SortOrder="4" IsActive="1" Field="salesPersonCD" Caption="Default Salesperson ID" Width="120" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="5285631d-dd6b-4fab-92b4-13ece1f369c3" />
        </GITable>
        <GITable Alias="Location" Name="PX.Objects.CR.Location" Type="0">
          <GIResult LineNbr="3" SortOrder="3" IsActive="1" Field="locationCD" Caption="Default Location" Width="100" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="97a4211c-9182-4c76-8e30-f09ebecd8a09" />
        </GITable>
        <GITable Alias="EPEmployeeContact" Name="PX.Objects.CR.Contact" Type="0">
          <GIResult LineNbr="6" SortOrder="6" IsActive="1" Field="eMail" Caption="Default Salesperson Email" Width="250" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="1afdffa1-0d1f-4dc8-84ed-e79a5f8fa854" />
        </GITable>
        <GITable Alias="EPEmployee" Name="PX.Objects.EP.EPEmployee" Type="0">
          <GIRelation LineNbr="5" ChildTable="EPEmployeeContact" IsActive="1" JoinType="L">
            <GIOn LineNbr="11" ParentField="defContactID" Condition="E" ChildField="contactID" Operation="A" />
          </GIRelation>
        </GITable>
        <GITable Alias="CustSalesPeople" Name="PX.Objects.AR.CustSalesPeople" Type="0">
          <GIRelation LineNbr="3" ChildTable="SalesPerson" IsActive="1" JoinType="L">
            <GIOn LineNbr="6" ParentField="salesPersonID" Condition="E" ChildField="salesPersonID" Operation="A" />
          </GIRelation>
        </GITable>
        <GITable Alias="Customer" Name="PX.Objects.AR.Customer" Type="0">
          <GIRelation LineNbr="2" ChildTable="CustSalesPeople" IsActive="1" JoinType="L">
            <GIOn LineNbr="9" ParentField="=true" Condition="E" ChildField="isDefault" Operation="A" />
            <GIOn LineNbr="8" ParentField="defLocationID" Condition="E" ChildField="locationID" Operation="A" />
            <GIOn LineNbr="7" ParentField="bAccountID" Condition="E" ChildField="bAccountID" Operation="A" />
          </GIRelation>
          <GIRelation LineNbr="1" ChildTable="Location" IsActive="1" JoinType="L">
            <GIOn LineNbr="10" ParentField="defLocationID" Condition="E" ChildField="locationID" Operation="A" />
          </GIRelation>
          <GIResult LineNbr="2" SortOrder="2" IsActive="1" Field="acctName" Caption="Customer Name" Width="250" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="fccca257-6118-486c-80f6-79ece13ce35c" />
          <GIResult LineNbr="1" SortOrder="1" IsActive="1" Field="acctCD" Caption="Customer ID" Width="150" IsVisible="1" DefaultNav="1" QuickFilter="0" FastFilter="0" RowID="f30b5982-7ddc-4f14-a526-6aefc16fc629" />
        </GITable>
        <SiteMap linkname="toDesignById">
          <row Title="Customer Default Salespeople" Url="~/genericinquiry/genericinquiry.aspx?id=a331ba7c-9047-4d62-8254-eec8b591b2a7" ScreenID="QQ100012" NodeID="6f7c5dee-3148-4668-986e-d7a8278ad8a1" ParentID="00000000-0000-0000-0000-000000000000">
            <MUIScreen IsPortal="0" WorkspaceID="cc3cccfd-f18b-4d70-90dc-bf30a36a95df" Order="120" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4">
              <MUIPinnedScreen IsPortal="0" Username="" IsPinned="1" />
            </MUIScreen>
          </row>
        </SiteMap>
      </row>
    </GIDesign>
    <MUIWorkspace>
      <row IsPortal="0" WorkspaceID="cc3cccfd-f18b-4d70-90dc-bf30a36a95df" Order="875" Title="GI Library" 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>