General information
Category:
Visual ProMatrix
hi dragan..im using this code that returns the rate code that i chose for the customer..
what else do i need to ad to it to obtain the correct value for that call under that rate plan...? please.......
FUNCTION getrate()
PARAMETERS Result
cRateField="long_distance.rate"
select rates
set orde to tag code
IF LEFT(view1.dialednr,1)='0'
SEEK LEFT(view1.dialednr,6)
endif
IF LEFT(view1.dialednr,1)="#"
SEEK LEFT(view1.dialednr,3)
endif
if LEFT(view1.dialednr,1)='1'
SEEK LEFT(view1.dialednr,4)
ENDIF
RETURN EVAL(cRateField)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only