Does anyone have a recommendation for how to make a list of what Generic Inquires use a specific table or specific field? This would be useful when Acumatica makes a change to a table (INSiteStatus) or field (AMReplenishmentSource) so we can quickly edit our GIs that would be affected. I know I can have a GI list all of our GIs, but not sure how to look deeper into them to get this information. Possible?
Generic Inquiry Table "Where Used"
Best answer by andriitkachenko
I’ve investigated the functionality a bit more, and from what I’ve gathered, it seems that the field shows if any Site Map record is associated with the GI.
However, it’s not just joining tables - it’s checking if any Site Map node is associated with the URL, constructed in real-time checking GIDesign.DesignID
and GIDesign.Name
You can’t reproduce it in GI right away without additional tinkering - if you want identical representation, you’ll need to reverse engineer the calculation logic and create your own DAC that will have the field set in the same way (GIDesign.Visible
is set in the graph, for your purposes I think it won’t suffice, you need it to be set on DAC level) and then join it with the GIDesign
in your GI.
However, right now for me, it seems that for most cases just joining with Sitemap
and checking that the record has been found would suffice - there’s a chance in some cases you will receive false positives, but I doubt this will be a frequent occurrence.
TL;DR - if you’re satisfied with 90%* precision - yes, just make left join with Sitemap
and then check if the Sitemap
record is found.
* number is purely a speculation, to show that most likely you won’t see the difference
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.