Continuation of checking the concern of John Cartano regarding Adjustment Report for SLCI

Task
-Check the script, input the data parameter for Brand, division, store location and date
-If I'm gonna get the same result as in the report
-I was able to get the same output as in the report
-Ask assistance from Ms. Jane to check the JDA negative Adjustment and as per checking the data in the report is wrong
-Remove the joined table to see, if the problem is on the join. Run the script again to check if I will be able to get the correct data
-And I was able to get the correct data turnover the script to Eli to further check on script
-Eli was able to found out the cause of the error.
-Remove the line "LEFT JOIN POMRAD L ON A.INUMBR = L.INUMBR" that cause the adjustment to blow up