This is interesting. I have a client generating a quote in a form and gets a different value for a field when he prints it out on the email template for the exact same field.
Does use of the email template round the value or something? (see Total Mileage field)
Total shipping is also different.
Yes, total shipping is a calculation based on mileage.
@Daisy_Ramirez
May I ask what are the column types and how those numbers are calculated? I mean expression-wise
Here are the two calculations for column types decimal:
vir_distance:
DISTANCE(LOOKUP([Starting Point],โUS Zip Codesโ,โZipโ,โGeopointโ),LOOKUP([Destination],โUS Zip Codesโ,โZipโ,โGeopointโ))
vir_mileage:
IF(OR(ISBLANK(LOOKUP([Starting Point],โUS Zip Codesโ,โZipโ,โCity Stateโ)),ISBLANK(LOOKUP([Destination],โUS Zip Codesโ,โZipโ,โCity Stateโ))),
0,([vir_distance]*0.621371))
@Daisy_Ramirez
Firstly, you donโt need 2 virtual columns to calculate this. Secondly, DISTANCE(โฆ) expression returns the value as a Number/Integer, not a Decimal. Therefore, you can omit the [vir_distance] column and go on with [vir_mileage] column alone with this:
IF(
OR(
ISBLANK(LOOKUP([Starting Point],โUS Zip Codesโ,โZipโ,โCity Stateโ)),
ISBLANK(LOOKUP([Destination],โUS Zip Codesโ,โZipโ,โCity Stateโ))
),0.00,
TRUE,
DISTANCE(
LOOKUP([Starting Point],โUS Zip Codesโ,โZipโ,โGeopointโ),
LOOKUP([Destination],โUS Zip Codesโ,โZipโ,โGeopointโ)
)*0.621371
)
I certainly wouldnโt think so.
User | Count |
---|---|
41 | |
29 | |
22 | |
20 | |
15 |