Description: Charges for container pickup/dropoff and fuel surcharge.
Script:
User Defined Parts:
Explanation: Define drayage and container size (CapacityType). In addition we pull the fuel surcharge from the Customer if it's > 0 and from the Facility if it's not (on the Customer). If the WarehouseTransaction has a CapacityType defined, we keep going. For a base we create a charge with drayage as the ChargePerUnit. If there's a surcharge, we add another charge for that equal to drayage times surcharge divided by 100. (This is a second charge, separate from drayage.)