SELECT T2.[ItemCode], T2.[ItemName],T1.[Substitute], T0.[OnHand] FROM [OITW] T0 inner join OSCN T1 on t0.itemcode = t1.itemcode INNER JOIN OITM T2 ON T0.[ItemCode] = T2.[ItemCode] WHERE t0.whscode = '01' and T2.[itemcode] =[%0]
This gives me the BP Catalog Numbers for an Item Number.
Can someone help add to this where it shows the stock of the BP Catalog Numbers?
This is the result I get from above. All I need is for the right side to have the correct stock of each BP Cat Number.
See attachment: BP Cat Number SFP-GE-S-ENC should have Qty. 365
Thank you so much for all of your help.