Skip to content

Instantly share code, notes, and snippets.

@smarenich
Created May 24, 2017 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarenich/384418ee5d2ffe0972dfa8117b98bef0 to your computer and use it in GitHub Desktop.
Save smarenich/384418ee5d2ffe0972dfa8117b98bef0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<data-set>
<relations format-version="3" relations-version="20160530" main-table="GIDesign">
<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, ScreenID)" to="GINavigationScreen (DesignID, ScreenID)" />
<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="SiteMap (NodeID)" to="SiteMap (ParentID)" type="WeakToParent" recursive-nesting="yes" include-parents="False" />
<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" />
</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, ScreenID) = (DesignID, ScreenID)" />
</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)" recursion="(NodeID) = (ParentID)" linkname="toDesignById">
<table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" />
</table>
<table name="SiteMap" uplink="(Name) = (Url)" recursion="(NodeID) = (ParentID)" linkname="toDesignByName">
<table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" />
</table>
<table name="SiteMap" uplink="(PrimaryScreenIDNew) = (ScreenID)" recursion="(NodeID) = (ParentID)" linkname="to1Screen">
<table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" />
</table>
<table name="Note" uplink="(NoteID) = (NoteID)" />
</table>
</layout>
<data>
<GIDesign>
<row DesignID="0ce080d4-ef7e-4bca-845a-437773a7d82e" Name="ARInvoices" FilterColCount="3" PagerStyle="0" PageSize="0" NewRecordCreationEnabled="0" MassDeleteEnabled="0" AutoConfirmDelete="0" MassRecordsUpdateEnabled="0" MassActionsOnRecordsEnabled="0" ExposeViaOData="0">
<GISort LineNbr="2" IsActive="1" DataFieldName="ARInvoice.refNbr" SortOrder="A" />
<GITable Alias="Account" Name="PX.Objects.GL.Account">
<GIResult LineNbr="9" IsActive="1" Field="accountCD" Caption="AR Account" Width="100" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="10" IsActive="1" Field="description" Caption="AR Account Description" Width="120" IsVisible="1" DefaultNav="1" />
</GITable>
<GITable Alias="Address" Name="PX.Objects.CR.Address">
<GIResult LineNbr="14" IsActive="1" Field="countryID" Width="70" IsVisible="1" DefaultNav="1" />
</GITable>
<GITable Alias="ARInvoice" Name="PX.Objects.AR.ARInvoice">
<GIRelation LineNbr="1" ChildTable="Customer" IsActive="1" JoinType="I">
<GIOn LineNbr="1" ParentField="customerID" Condition="E " ChildField="bAccountID" Operation="A" />
</GIRelation>
<GIRelation LineNbr="3" ChildTable="Account" IsActive="1" JoinType="I">
<GIOn LineNbr="4" ParentField="aRAccountID" Condition="E " ChildField="accountID" Operation="A" />
</GIRelation>
<GIRelation LineNbr="4" ChildTable="Client" IsActive="1" JoinType="L">
<GIOn LineNbr="5" ParentField="usrClientID" Condition="E " ChildField="bAccountID" Operation="A" />
</GIRelation>
<GIResult LineNbr="1" IsActive="1" Field="branchID" Width="70" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="2" IsActive="1" Field="docType" Width="70" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="3" IsActive="1" Field="refNbr" Width="100" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="4" IsActive="1" Field="docDate" Width="70" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="5" IsActive="1" Field="docDesc" Width="200" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="6" IsActive="1" Field="curyID" Width="70" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="7" IsActive="1" Field="=IIf([ARInvoice.DocType]='CRM', -[ARInvoice.CuryOrigDocAmt], [ARInvoice.CuryOrigDocAmt])" Caption="Cury Amt" Width="80" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="8" IsActive="1" Field="=IIf([ARInvoice.DocType]='CRM', -[ARInvoice.OrigDocAmt], [ARInvoice.OrigDocAmt])" Caption="Base Amt" Width="80" IsVisible="1" DefaultNav="1" />
</GITable>
<GITable Alias="Client" Name="PX.Objects.AR.Customer">
<GIResult LineNbr="15" IsActive="1" Field="acctCD" Caption="Client" Width="100" IsVisible="1" DefaultNav="1" />
</GITable>
<GITable Alias="Customer" Name="PX.Objects.AR.Customer">
<GIRelation LineNbr="2" ChildTable="Address" IsActive="1" JoinType="I">
<GIOn LineNbr="2" ParentField="defAddressID" Condition="E " ChildField="addressID" Operation="A" />
<GIOn LineNbr="3" ParentField="bAccountID" Condition="E " ChildField="bAccountID" Operation="A" />
</GIRelation>
<GIResult LineNbr="11" IsActive="1" Field="acctCD" Width="70" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="12" IsActive="1" Field="acctName" Width="150" IsVisible="1" DefaultNav="1" />
<GIResult LineNbr="13" IsActive="1" Field="customerClassID" Width="100" IsVisible="1" DefaultNav="1" />
</GITable>
<SiteMap linkname="toDesignById">
<row Position="10" Title="AR Invoices" Url="~/GenericInquiry/GenericInquiry.aspx?id=0ce080d4-ef7e-4bca-845a-437773a7d82e" Expanded="0" IsFolder="0" ScreenID="GI000002" NodeID="2a7611cb-ed79-4fb0-97e9-3e35e49a3760" ParentID="62c4d823-fe94-4dd7-8a48-bd89c1f81d2e" />
</SiteMap>
</row>
</GIDesign>
</data>
</data-set>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment