Look for -1 somewhere in the code probably after the code you've posted.
Note that lines 6-10 could be combined to avoid repetition, e.g.
likewise for the d&h part.
Note that lines 6-10 could be combined to avoid repetition, e.g.
Code:
<cfif lowest eq 0 or lowest gt synnx.Unit_Cost__wo_PromoRebate> <cfset lowest = synnx.Unit_Cost__wo_PromoRebate> </cfif>
Comment