Tiered Pick Fee

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

Tiered Pick Fee

Previous pageReturn to chapter overviewNext page

Description: Tiered pick rates based on total quantity of Primary Units of Measure ordered.

Script:

Customer-BillingWizard-PerTransBill-AutoBill-Script113

User Input:

Customer-BillingWizard-PerTransBill-AutoBill-Script104Setup

Explanation: This one only applies if there have been OrderItems attached to the transaction.  If so, we set up a charge to go on the bill, then go through the tiered charges.  This one is interesting, in that it finds the charges for the tiered amount, then subtracts that amount from the Primary amount, then recalculates possible charges based on the modified primary amount.  So, if you had a total amount of 100, and the first tier was 50, the second one 30, the third one 20 and the fourth one 10, you would take the top tier price for the first 50, the next teir for the next 30, and the next tier for the last 20.  If you have odd values, you'd charge the default to those, once the other charges had been figured out.