is it possible to write a tdl for the quantity field to accept either whole or half of the unit like(1,1.5,2,2.5) and not values like (1.2,1.3,1.6,1.9)
[Function : multiof] Parameter: Inp : Number Returns: Number Variable: n:Number 1:While :Inp >0.0 2:Set :Inp:Inp-0.5 3:End While 4:If:Inp=0.0 5:Set:n:2 6:Else 7:Set:n:1 8:End If 9:Return :n [#Line: CI InvInfo] Local:Field:VCHBilledQty :Validate: ($$multiof:$$Value)=2 Sir can u Pls find out the error