-- GI Report SELECT A.PLPKLNBR, D.DNDNHNBR, F.DNSAPCPO, C.PPPRODTE, A.GNUPDDTE GI_DATE, B.INHLDCDE, B.PLCSQNBR, PRSTYCDE, PRCOLCDE, INEXTSIZ, E.CODIVCDE, D.SHRPRQTY RL_DU, D.SHACPQTY GI_DU, ( D.SHRPRQTY THEN MMDLUQTY END ) RL_PU, (D.SHACPQTY THEN MMD…