#SET("LineItemNo", #LineItemNo + 1) #LineItemNo #IF(#LineItemPrice NLT 0){CashDiscount}#ELSE#SPACE[0]{NonCashCharge}#ENDIF #IF(#HasDiscounts)#IF(#Discount)#Discount%#ENDIF#ENDIF #LineItemPrice[neg,money]