Description: All inclusive container receiving and devanning fees
Script:
User Input:
Explanation: Setup Devanning (dec) Pier Pass (dec) Drayage (dec) and Capacity Type (list). We get surcharge out of Customer if it's there and from Facility if it's not in Customer. If the WarehouseTransaction has the one of the CapacityTypes defined in the script (during setup) in it, we'll do something. If it doesn't, we're done here. Assuming it has a CapacityType, we add a base charge for Devanning, which is just whatever you defined. If you put a non-zero number in PierPass, we add a charge for that. If you put a non-zero amount for drayage, we add a charge for that. If we found a non-zero amount for surcharge, we'll add a charge for that, which is drayage times surcharge divided by 100. This could result in as many as four charge lines.