#LOCAL("IsActive", #INPUT.ViewAction EQ "ViewShippingFedEx") #SET("ItemCount", #ItemCount+1) #IF(#IsActive OR #ItemPassed) #ItemCount. Real Time Calculation {ShippingViaFedEx} #ELSE #ItemCount. Real Time Calculation {ShippingViaFedEx} #ENDIF #ENDLOCAL