<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Non-Stock Kit Stock Availability - Acumatica Generic Inquiries &amp; Pivot Tables				            </title>
            <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/</link>
            <description>Acumatica User Group Forums</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 12 Mar 2026 20:42:00 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-10363</link>
                        <pubDate>Fri, 02 Dec 2022 18:11:54 +0000</pubDate>
                        <description><![CDATA[@busyfritz This was perfect.  I added the component table and then added it as a group by and this was exactly what the client wanted to see.  I appreciate your work on this.]]></description>
                        <content:encoded><![CDATA[@busyfritz This was perfect.  I added the component table and then added it as a group by and this was exactly what the client wanted to see.  I appreciate your work on this.]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>cwomack</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-10363</guid>
                    </item>
				                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9462</link>
                        <pubDate>Mon, 29 Nov 2021 22:00:33 +0000</pubDate>
                        <description><![CDATA[Hello.  I have gotten something like this working using a Cross Join.  Usually you want to avoid Cross joins because they can be pretty destructive, but they do have their uses.  In this cas...]]></description>
                        <content:encoded><![CDATA[<p>Hello.  I have gotten something like this working using a Cross Join.  Usually you want to avoid Cross joins because they can be pretty destructive, but they do have their uses.  In this case, you can start with INSite CROSS APPLY InventoryItem.  The results here being a list of every inventory item and every warehouse.  LEFT JOIN in INSiteStatus ON INSiteStatus.SiteID = INSIte.SiteID AND INSiteStatus.InventoryID = InventoryItem.InventoryID and use ISNULL(,0) to get the Qtys you need.</p>
<p>Your conditions are super important here, because you want to target as few InventoryItem/Site records as possible.  If you can add in parameters to only look at one Site or one Kit at a time, you should do that.</p>
<p>I'd love to see replenishment Qtys worked into here! </p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Wyatt.ERP</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9462</guid>
                    </item>
				                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9361</link>
                        <pubDate>Tue, 02 Nov 2021 07:56:27 +0000</pubDate>
                        <description><![CDATA[Hi @busyfritz, 
I&#039;ll check this out in the morning and I can see the joins in the xml, so that might help. I can also see the IIF field for Availability which I added in mine, but not as co...]]></description>
                        <content:encoded><![CDATA[<p>Hi @busyfritz, </p>
<p>I'll check this out in the morning and I can see the joins in the xml, so that might help. I can also see the IIF field for Availability which I added in mine, but not as complex. Thanks for the answer though as it is always nice to find out.</p>
<p>Regards</p>
<p>Nick SM</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>NickSM</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9361</guid>
                    </item>
				                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9360</link>
                        <pubDate>Tue, 02 Nov 2021 07:53:00 +0000</pubDate>
                        <description><![CDATA[Hi @brandi-buff,
Thanks for your reply. I had managed to replicate this query in MySQL using the left (or right) joins based on the Tables. I think GIs should be able to do this, so I will ...]]></description>
                        <content:encoded><![CDATA[<p>Hi @brandi-buff,</p>
<p>Thanks for your reply. I had managed to replicate this query in MySQL using the left (or right) joins based on the Tables. I think GIs should be able to do this, so I will take a look at @busyfritz answer and loop back around to the BQL if not.</p>
<p>I think also that you may have added a link to a Customer site or were you trying to show the wiki article?</p>
<p>Regards</p>
<p>Nick SM</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>NickSM</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9360</guid>
                    </item>
				                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9351</link>
                        <pubDate>Thu, 28 Oct 2021 19:32:25 +0000</pubDate>
                        <description><![CDATA[Here&#039;s a GI that will do this, but they don&#039;t include SO booked. That is a feature that would need to be added:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;data-set...]]></description>
                        <content:encoded><![CDATA[<p> </p>
<p>Here's a GI that will do this, but they don't include SO booked. That is a feature that would need to be added:</p>
2576
<pre contenteditable="false">&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;
&lt;data-set&gt;
  &lt;relations format-version="3" relations-version="20210225" main-table="GIDesign" stable-sharing="True" file-name="(Name)"&gt;
    &lt;link from="GIFilter (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GIGroupBy (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GIMassAction (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GIMassUpdateField (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GINavigationScreen (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GINavigationParameter (DesignID, NavigationScreenLineNbr)" to="GINavigationScreen (DesignID, LineNbr)" /&gt;
    &lt;link from="GINavigationCondition (DesignID, NavigationScreenLineNbr)" to="GINavigationScreen (DesignID, LineNbr)" /&gt;
    &lt;link from="GIOn (DesignID, RelationNbr)" to="GIRelation (DesignID, LineNbr)" /&gt;
    &lt;link from="GIRecordDefault (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GIRelation (DesignID, ParentTable)" to="GITable (DesignID, Alias)" /&gt;
    &lt;link from="GIRelation (DesignID, ChildTable)" to="GITable (DesignID, Alias)" /&gt;
    &lt;link from="GIResult (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GIResult (ObjectName, DesignID)" to="GITable (Alias, DesignID)" /&gt;
    &lt;link from="GISort (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GITable (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="GIWhere (DesignID)" to="GIDesign (DesignID)" /&gt;
    &lt;link from="SiteMap (Url)" to="GIDesign (DesignID)" type="WeakByUrl" linkname="toDesignById" baseurl="~/GenericInquiry/GenericInquiry.aspx" paramnames="id" /&gt;
    &lt;link from="SiteMap (Url)" to="GIDesign (Name)" type="WeakByUrl" linkname="toDesignByName" baseurl="~/GenericInquiry/GenericInquiry.aspx" /&gt;
    &lt;link from="ListEntryPoint (ListScreenID)" to="SiteMap (ScreenID)" /&gt;
    &lt;link from="SiteMap (ScreenID)" to="GIDesign (PrimaryScreenIDNew)" linkname="to1Screen" /&gt;
    &lt;link from="FilterHeader (ScreenID)" to="SiteMap (ScreenID)" /&gt;
    &lt;link from="FilterRow (FilterID)" to="FilterHeader (FilterID)" /&gt;
    &lt;link from="PivotTable (NoteID)" to="FilterHeader (RefNoteID)" /&gt;
    &lt;link from="PivotField (ScreenID, PivotTableID)" to="PivotTable (ScreenID, PivotTableID)" /&gt;
    &lt;link from="MUIScreen (NodeID)" to="SiteMap (NodeID)" /&gt;
    &lt;link from="MUIWorkspace (WorkspaceID)" to="MUIScreen (WorkspaceID)" type="FromMaster" linkname="workspaceToScreen" split-location="yes" updateable="True" /&gt;
    &lt;link from="MUISubcategory (SubcategoryID)" to="MUIScreen (SubcategoryID)" type="FromMaster" updateable="True" /&gt;
    &lt;link from="MUITile (ScreenID)" to="SiteMap (ScreenID)" /&gt;
    &lt;link from="MUIWorkspace (WorkspaceID)" to="MUITile (WorkspaceID)" type="FromMaster" linkname="workspaceToTile" split-location="yes" updateable="True" /&gt;
    &lt;link from="MUIArea (AreaID)" to="MUIWorkspace (AreaID)" type="FromMaster" updateable="True" /&gt;
    &lt;link from="MUIPinnedScreen (NodeID, WorkspaceID)" to="MUIScreen (NodeID, WorkspaceID)" type="WeakIfEmpty" isEmpty="Username" /&gt;
    &lt;link from="MUIFavoriteWorkspace (WorkspaceID)" to="MUIWorkspace (WorkspaceID)" type="WeakIfEmpty" isEmpty="Username" /&gt;
    &lt;link from="GIDesign (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIFilter (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIFilter (NoteID)" to="GIFilterKvExt (RecordID)" type="RowKvExt" /&gt;
    &lt;link from="GIGroupBy (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIOn (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIRelation (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIResult (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIResult (NoteID)" to="GIResultKvExt (RecordID)" type="RowKvExt" /&gt;
    &lt;link from="GISort (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GITable (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="GIWhere (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="FilterHeader (NoteID)" to="Note (NoteID)" type="Note" /&gt;
    &lt;link from="FilterHeader (NoteID)" to="FilterHeaderKvExt (RecordID)" type="RowKvExt" /&gt;
  &lt;/relations&gt;
  &lt;layout&gt;
    &lt;table name="GIDesign"&gt;
      &lt;table name="GIFilter" uplink="(DesignID) = (DesignID)"&gt;
        &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
        &lt;table name="GIFilterKvExt" uplink="(NoteID) = (RecordID)" /&gt;
      &lt;/table&gt;
      &lt;table name="GIGroupBy" uplink="(DesignID) = (DesignID)"&gt;
        &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
      &lt;/table&gt;
      &lt;table name="GIMassAction" uplink="(DesignID) = (DesignID)" /&gt;
      &lt;table name="GIMassUpdateField" uplink="(DesignID) = (DesignID)" /&gt;
      &lt;table name="GINavigationScreen" uplink="(DesignID) = (DesignID)"&gt;
        &lt;table name="GINavigationParameter" uplink="(DesignID, LineNbr) = (DesignID, NavigationScreenLineNbr)" /&gt;
        &lt;table name="GINavigationCondition" uplink="(DesignID, LineNbr) = (DesignID, NavigationScreenLineNbr)" /&gt;
      &lt;/table&gt;
      &lt;table name="GIRecordDefault" uplink="(DesignID) = (DesignID)" /&gt;
      &lt;table name="GISort" uplink="(DesignID) = (DesignID)"&gt;
        &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
      &lt;/table&gt;
      &lt;table name="GITable" uplink="(DesignID) = (DesignID)"&gt;
        &lt;table name="GIRelation" uplink="(DesignID, Alias) = (DesignID, ParentTable)"&gt;
          &lt;table name="GIOn" uplink="(DesignID, LineNbr) = (DesignID, RelationNbr)"&gt;
            &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
          &lt;/table&gt;
          &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
        &lt;/table&gt;
        &lt;table name="GIResult" uplink="(Alias, DesignID) = (ObjectName, DesignID)"&gt;
          &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
          &lt;table name="GIResultKvExt" uplink="(NoteID) = (RecordID)" /&gt;
        &lt;/table&gt;
        &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
      &lt;/table&gt;
      &lt;table name="GIWhere" uplink="(DesignID) = (DesignID)"&gt;
        &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
      &lt;/table&gt;
      &lt;table name="SiteMap" uplink="(DesignID) = (Url)" linkname="toDesignById"&gt;
        &lt;table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" /&gt;
        &lt;table name="FilterHeader" uplink="(ScreenID) = (ScreenID)"&gt;
          &lt;table name="FilterRow" uplink="(FilterID) = (FilterID)" /&gt;
          &lt;table name="PivotTable" uplink="(RefNoteID) = (NoteID)"&gt;
            &lt;table name="PivotField" uplink="(ScreenID, PivotTableID) = (ScreenID, PivotTableID)" /&gt;
          &lt;/table&gt;
          &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
          &lt;table name="FilterHeaderKvExt" uplink="(NoteID) = (RecordID)" /&gt;
        &lt;/table&gt;
        &lt;table name="MUIScreen" uplink="(NodeID) = (NodeID)"&gt;
          &lt;table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" /&gt;
        &lt;/table&gt;
        &lt;table name="MUITile" uplink="(ScreenID) = (ScreenID)" /&gt;
      &lt;/table&gt;
      &lt;table name="SiteMap" uplink="(Name) = (Url)" linkname="toDesignByName"&gt;
        &lt;table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" /&gt;
        &lt;table name="FilterHeader" uplink="(ScreenID) = (ScreenID)"&gt;
          &lt;table name="FilterRow" uplink="(FilterID) = (FilterID)" /&gt;
          &lt;table name="PivotTable" uplink="(RefNoteID) = (NoteID)"&gt;
            &lt;table name="PivotField" uplink="(ScreenID, PivotTableID) = (ScreenID, PivotTableID)" /&gt;
          &lt;/table&gt;
          &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
          &lt;table name="FilterHeaderKvExt" uplink="(NoteID) = (RecordID)" /&gt;
        &lt;/table&gt;
        &lt;table name="MUIScreen" uplink="(NodeID) = (NodeID)"&gt;
          &lt;table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" /&gt;
        &lt;/table&gt;
        &lt;table name="MUITile" uplink="(ScreenID) = (ScreenID)" /&gt;
      &lt;/table&gt;
      &lt;table name="SiteMap" uplink="(PrimaryScreenIDNew) = (ScreenID)" linkname="to1Screen"&gt;
        &lt;table name="ListEntryPoint" uplink="(ScreenID) = (ListScreenID)" /&gt;
        &lt;table name="FilterHeader" uplink="(ScreenID) = (ScreenID)"&gt;
          &lt;table name="FilterRow" uplink="(FilterID) = (FilterID)" /&gt;
          &lt;table name="PivotTable" uplink="(RefNoteID) = (NoteID)"&gt;
            &lt;table name="PivotField" uplink="(ScreenID, PivotTableID) = (ScreenID, PivotTableID)" /&gt;
          &lt;/table&gt;
          &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
          &lt;table name="FilterHeaderKvExt" uplink="(NoteID) = (RecordID)" /&gt;
        &lt;/table&gt;
        &lt;table name="MUIScreen" uplink="(NodeID) = (NodeID)"&gt;
          &lt;table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" /&gt;
        &lt;/table&gt;
        &lt;table name="MUITile" uplink="(ScreenID) = (ScreenID)" /&gt;
      &lt;/table&gt;
      &lt;table name="Note" uplink="(NoteID) = (NoteID)" /&gt;
    &lt;/table&gt;
    &lt;table name="MUIWorkspace"&gt;
      &lt;table name="MUIFavoriteWorkspace" uplink="(WorkspaceID) = (WorkspaceID)" /&gt;
    &lt;/table&gt;
    &lt;table name="MUISubcategory" /&gt;
    &lt;table name="MUIArea" /&gt;
  &lt;/layout&gt;
  &lt;data&gt;
    &lt;gidesign&gt;
      &lt;row DesignID="7d8698d4-c90e-4d48-8f81-da745be8f7fe" Name="KitAssyAvail" FilterColCount="3" PageSize="0" ExportTop="0" NewRecordCreationEnabled="0" MassDeleteEnabled="0" AutoConfirmDelete="0" MassRecordsUpdateEnabled="0" MassActionsOnRecordsEnabled="0" ExposeViaOData="1" ExposeViaMobile="1" ShowDeletedRecords="1" NotesAndFilesTable="$&amp;lt;None&amp;gt;"&gt;
        &lt;gifilter LineNbr="1" IsActive="1" Name="IncStockKits" FieldName="InventoryItem.stkItem" DataType="string" DisplayName="Show Stock Kits" IsExpression="1" ColSpan="1" Required="1" /&gt;
        &lt;gigroupby LineNbr="4" IsActive="1" DataFieldName="INSiteStatus.siteID" /&gt;
        &lt;gigroupby LineNbr="3" IsActive="1" DataFieldName="INKitSpecHdr.revisionID" /&gt;
        &lt;gigroupby LineNbr="2" IsActive="1" DataFieldName="INKitSpecHdr.descr" /&gt;
        &lt;gigroupby LineNbr="1" IsActive="1" DataFieldName="INKitSpecHdr.kitInventoryID" /&gt;
        &lt;ginavigationscreen Link="GI000101" LineNbr="2" SortOrder="2" WindowMode="W" IsActive="1"&gt;
          &lt;ginavigationparameter LineNbr="1" FieldName="KitID" ParameterName="INKitSpecHdr.kitInventoryID" IsExpression="0" /&gt;
        &lt;/ginavigationscreen&gt;
        &lt;ginavigationscreen Link="IN209500" LineNbr="1" SortOrder="1" WindowMode="W" IsActive="1"&gt;
          &lt;ginavigationparameter LineNbr="2" FieldName="RevisionID" ParameterName="INKitSpecHdr.revisionID" IsExpression="0" /&gt;
          &lt;ginavigationparameter LineNbr="1" FieldName="KitInventoryID" ParameterName="INKitSpecHdr.kitInventoryID" IsExpression="0" /&gt;
        &lt;/ginavigationscreen&gt;
        &lt;gisort LineNbr="1" IsActive="1" DataFieldName="InventoryItem.inventoryID" SortOrder="A" /&gt;
        &lt;gitable Alias="InventoryItem" Name="PX.Objects.IN.InventoryItem"&gt;
          &lt;girelation LineNbr="1" ChildTable="INKitSpecHdr" IsActive="1" JoinType="L"&gt;
            &lt;gion LineNbr="1" ParentField="inventoryID" Condition="E" ChildField="kitInventoryID" Operation="A" /&gt;
          &lt;/girelation&gt;
        &lt;/gitable&gt;
        &lt;gitable Alias="INSiteStatus" Name="PX.Objects.IN.INSiteStatus"&gt;
          &lt;giresult LineNbr="10" SortOrder="5" IsActive="1" Field="=IIf(IIf( =0, 0, Floor( / ))&amp;lt;=0,0,Floor( / ))" Caption="Kit Quantity Available" IsVisible="1" DefaultNav="0" AggregateFunction="MIN" TotalAggregateFunction="SUM" NavigationNbr="2" QuickFilter="0" FastFilter="0" RowID="e3d93a2d-0953-43a1-b494-8d11e8b38963" /&gt;
          &lt;giresult LineNbr="8" SortOrder="4" IsActive="1" Field="siteID" Caption="Warehouse" IsVisible="1" DefaultNav="0" QuickFilter="0" FastFilter="0" RowID="88daea62-b9e2-4cb4-87e8-a94b71b54021" /&gt;
        &lt;/gitable&gt;
        &lt;gitable Alias="INKitSpecStkDet" Name="PX.Objects.IN.INKitSpecStkDet"&gt;
          &lt;girelation LineNbr="3" ChildTable="INSiteStatus" IsActive="1" JoinType="L"&gt;
            &lt;gion LineNbr="4" ParentField="compInventoryID" Condition="E" ChildField="inventoryID" Operation="A" /&gt;
          &lt;/girelation&gt;
        &lt;/gitable&gt;
        &lt;gitable Alias="INKitSpecHdr" Name="PX.Objects.IN.INKitSpecHdr"&gt;
          &lt;girelation LineNbr="2" ChildTable="INKitSpecStkDet" IsActive="1" JoinType="L"&gt;
            &lt;gion LineNbr="3" ParentField="revisionID" Condition="E" ChildField="revisionID" Operation="A" /&gt;
            &lt;gion LineNbr="2" ParentField="kitInventoryID" Condition="E" ChildField="kitInventoryID" Operation="A" /&gt;
          &lt;/girelation&gt;
          &lt;giresult LineNbr="3" SortOrder="3" IsActive="1" Field="revisionID" Caption="Kit Revision" IsVisible="1" DefaultNav="0" QuickFilter="0" FastFilter="0" RowID="db7d5687-8234-45b6-8443-ddbca8627d18" /&gt;
          &lt;giresult LineNbr="2" SortOrder="2" IsActive="1" Field="descr" Caption="Description" IsVisible="1" DefaultNav="0" QuickFilter="0" FastFilter="0" RowID="8b7a0a3f-8754-41fc-80f2-91a312f08e1e" /&gt;
          &lt;giresult LineNbr="1" SortOrder="1" IsActive="1" Field="kitInventoryID" Caption="Kit Name" Width="200" IsVisible="1" DefaultNav="0" NavigationNbr="1" QuickFilter="0" FastFilter="0" RowID="f6d225d3-2eab-488f-b739-0d6b9bccb44b" /&gt;
        &lt;/gitable&gt;
        &lt;giwhere LineNbr="4" IsActive="1" DataFieldName="InventoryItem.stkItem" Condition="E" IsExpression="1" Value1="False" Value2="False" CloseBrackets=")" Operation="A" /&gt;
        &lt;giwhere LineNbr="3" IsActive="1" OpenBrackets="(" DataFieldName="InventoryItem.stkItem" Condition="E" IsExpression="0" Value1="" Operation="O" /&gt;
        &lt;giwhere LineNbr="2" IsActive="1" DataFieldName="INKitSpecHdr.isActive" Condition="E" IsExpression="1" Value1="True" Value2="False" CloseBrackets=")" Operation="A" /&gt;
        &lt;giwhere LineNbr="1" IsActive="1" OpenBrackets="(" DataFieldName="InventoryItem.kitItem" Condition="E" IsExpression="1" Value1="True" Value2="False" Operation="A" /&gt;
        &lt;sitemap linkname="toDesignById"&gt;
          &lt;row Title="Kit Assembly Availability" Url="~/GenericInquiry/GenericInquiry.aspx?id=7d8698d4-c90e-4d48-8f81-da745be8f7fe" ScreenID="GI000100" NodeID="1b190862-671b-4f0c-90b7-3c5854bffd72" ParentID="00000000-0000-0000-0000-000000000000"&gt;
            &lt;muiscreen IsPortal="0" WorkspaceID="6557c1c6-747e-45bb-9072-54f096598d61" Order="140" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4"&gt;
              &lt;muipinnedscreen IsPortal="0" Username="" IsPinned="1" /&gt;
            &lt;/muiscreen&gt;
          &lt;/row&gt;
        &lt;/sitemap&gt;
        &lt;note NoteText="For each				&#xA;	Qty of kit component on hand			157&#xA;	Divided by qty required for kit			8&#xA;				19.625&#xA;	rounded down to the nearest integer			19&#xA;Next				&#xA;				&#xA;MIN value of all loops above				&#xA;" GraphType="PX.Data.Maintenance.GI.GenericInquiryDesigner" EntityType="PX.Data.Maintenance.GI.GIDesign" /&gt;
      &lt;/row&gt;
    &lt;/gidesign&gt;
    &lt;muiworkspace&gt;
      &lt;row IsPortal="0" WorkspaceID="6557c1c6-747e-45bb-9072-54f096598d61" Order="284" Title="Inventory" Icon="local_shipping" AreaID="62cfd5dc-8eb9-4e92-bbcd-e0a99eb5e5df" ScreenID="WSIN0000" IsSystem="0"&gt;
        &lt;muifavoriteworkspace IsPortal="0" Username="" IsFavorite="1" /&gt;
      &lt;/row&gt;
    &lt;/muiworkspace&gt;
    &lt;muisubcategory&gt;
      &lt;row IsPortal="1" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4" Order="896" Name="Inquiries" Icon="" IsSystem="1" /&gt;
      &lt;row IsPortal="0" SubcategoryID="98e86774-69e3-41ea-b94f-eb2c7a8426d4" Order="896" Name="Inquiries" Icon="" IsSystem="1" /&gt;
    &lt;/muisubcategory&gt;
    &lt;muiarea&gt;
      &lt;row IsPortal="0" AreaID="62cfd5dc-8eb9-4e92-bbcd-e0a99eb5e5df" Order="20" Name="Operations" /&gt;
    &lt;/muiarea&gt;
  &lt;/data&gt;
&lt;/data-set&gt;</pre>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>busyfritz</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9351</guid>
                    </item>
				                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9350</link>
                        <pubDate>Thu, 28 Oct 2021 17:59:43 +0000</pubDate>
                        <description><![CDATA[This has to do with how databases join tables for queries.  If you use an inner join, it will only return results if they exist in both tables.  If you use a left or right join, it will retu...]]></description>
                        <content:encoded><![CDATA[<p>This has to do with how databases join tables for queries.  If you use an inner join, it will only return results if they exist in both tables.  If you use a left or right join, it will return all records from the left or right table and only those from the other table where there is a match.  Where there is no match, it would return a null.</p>
<p>It sounds like you want the database to return the complete list of warehouses, the complete list of kits and the count of where those two intersect showing a 0 if there are none.</p>
<p>In traditional relational databases, I would do this with more than one query where the first query is an input in the second.  The first would be a crossjoin query across warehouses &amp; kits to get the complete cross product of both (call this output1).  I would then create a query that totals kits per warehouse (call this output2).  Lastly, I would create a query of output1 &amp; output2 where I join them on the warehouse ID and kit ID.  I would then have a function on the total iif(isnull(total),0,total)</p>
<p>I don't think you can do this with a generic inquiry.  But I looks like you might be able to do this with BQL - https://ggc.acumatica.com/(W(1))/Help?CompanyID=GGC&amp;ScreenId=ShowWiki&amp;pageid=13001ef0-91f0-4094-b924-d1114c3e8e41</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Brandi Buff</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9350</guid>
                    </item>
				                    <item>
                        <title>RE: Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9342</link>
                        <pubDate>Mon, 25 Oct 2021 11:54:52 +0000</pubDate>
                        <description><![CDATA[Did you ever get an answer to this? I needing the same thing.]]></description>
                        <content:encoded><![CDATA[<p>Did you ever get an answer to this? I needing the same thing.</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>busyfritz</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-9342</guid>
                    </item>
				                    <item>
                        <title>Non-Stock Kit Stock Availability</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-8822</link>
                        <pubDate>Thu, 20 May 2021 05:49:53 +0000</pubDate>
                        <description><![CDATA[Hi,
I&#039;ve been trying to build a GI to bring through component availability, which in turn lets them see what stock out they have. I&#039;ve found that if a stock location hasn&#039;t had any stock, t...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>I've been trying to build a GI to bring through component availability, which in turn lets them see what stock out they have. I've found that if a stock location hasn't had any stock, then the item won't show.</p>
2365
<p>It seems simple as I'm joining the INKitSpecStkDet and INSiteStatus. The problem is when there isn't a line in the INSiteStatus for the Component Line. In the screenshot, you can see that only 6 lines appear for one location whereas there are 7 lines for the Kit Spec. I even tried to add a Warehouse Detail for the missing location, but that doesn't work for me. Lastly, I added the INSiteStatusSummary to see if that helped, as it is the main table for the Warehouse Details tab. This didn't help either.</p>
<p>Any suggestions? I can provide the code and xml file if needed.</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>NickSM</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/non-stock-kit-stock-availability/#post-8822</guid>
                    </item>
							        </channel>
        </rss>
		