#LOCAL("IsActive", #INPUT.ViewAction EQ "ViewPaymentServiRed") #SET("ItemCount", #ItemCount+1) #IF(#IsActive OR #ItemPassed) #ItemCount. {ServiRedPayment} {ServiRedPayment} #ELSE #ItemCount. {ServiRed} {ServiRedPayment} #ENDIF #ENDLOCAL