Skip to main content
Answer

GI for Quantity Available of Stock Item based on Cross Reference

  • September 26, 2025
  • 5 replies
  • 73 views

sarahbibelhausen
Freshman II

I’d like to do a GI to show quantity available of stock items that is filtered by a vendor ID who has a cross-reference number for that stock item. I’ve identified the data lives in these tables but am not having luck getting the results: I either get 30k plus rows where it shows the same stock items many times over or errors that indicate my joins are off.

 

I’m not an SQL expert unfortunately and hoping this is something that can actually be accomplished with a GI instead of custom dev. 

 

See below for my tables, joins, and filter. 

 

 

Best answer by sarahbibelhausen

Thanks all! I got it figured out with adding the BAccountID table too.

5 replies

jhouser
Captain II
Forum|alt.badge.img+6
  • Captain II
  • September 27, 2025

@sarahbibelhausen For the second join, do you have key fields selected?


sarahbibelhausen
Freshman II

It’s joined on inventory ID too


sarahbibelhausen
Freshman II

@sarahbibelhausen For the second join, do you have key fields selected?

It’s joined on the Inventory ID field too


mohammadnawaz51
Jr Varsity I
Forum|alt.badge.img+4

@sarahbibelhausen The below GI give you the details of Sku And cross reference


sarahbibelhausen
Freshman II
  • Author
  • Freshman II
  • Answer
  • September 30, 2025

Thanks all! I got it figured out with adding the BAccountID table too.