Create a 3 different query to get all the store code per brand, I used table POMRCD, TRFDTL and INVAUD but as per checking on the stores result there's a store code which should not be included on that brand
