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

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