Carton vs Pallet Fee

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

Carton vs Pallet Fee

Previous pageReturn to chapter overviewNext page

Description: Charge based on shipping cartons (Num Units 1) or pallets (Num Units 2)

Script:(third line split to fit better)

Customer-BillingWizard-PerTransBill-AutoBill-Script116

User Input:

Customer-BillingWizard-PerTransBill-AutoBill-Script116Setup

Explanation: If NumUnits2 has a value greater than zero, it's value is used for the NumUnits value on the charge (that is multiplied by the charge amount).  The charge set in the script for NumUnits2 is then used for the ChargePerUnit on the charge.   If NumUnits 2 doesn't have a positive value, NumUnits1 is checked, and if it is positive, it is used for NumUnits on the charge, and the charge set for NumUnits 1 in the script is the charge per unit.