<cfquery name="get_delivery_fees" datasource="#application.datasource#">
	SELECT 		B.DeliveryFlatFee<!--- , B.BusinessDeliveryPerMileFee, B.BusinessDeliveryPerMinuteFee --->
	FROM	    Businesses B, Orders O
	WHERE		B.ID = O.BusinessID
					AND
				O.ID = #attributes.OrderID#
</cfquery>

<cfset caller.calculated_delivery_fee = #get_delivery_fees.DeliveryFlatFee#>