Port Transportation and FSC

Navigation:  Customer > Billing Wizard > Per Transaction Billing Setup > AutoBilling Scripts >

Port Transportation and FSC

Previous pageReturn to chapter overviewNext page

Description: Charges for container pickup/dropoff and fuel surcharge.

Script:

Customer-BillingWizard-PerTransBill-AutoBill-Script100

User Defined Parts:

Customer-BillingWizard-PerTransBill-AutoBill-Script100Setup

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.)