Per Pallet Fee

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

Per Pallet Fee

Previous pageReturn to chapter overviewNext page

Description: Rate x the number of unique pallets received

Script:

Customer-BillingWizard-PerTransBill-AutoBill-Script103

User Input:

Customer-BillingWizard-PerTransBill-AutoBill-Script102Setup

Explanation: If there are no RecieveItems on this Transaction, we're done.  If there are some, we check each ReceiveItem for MovableUnits, if they have one, we add it's ID to an array, then set the chargePerUnit to the charge you specify when you select the script, and the NumUnits to the length of the array with the MUIds in it.  We do this every time we check a receiveItem, which seems kinda silly, but works the same as doing it all after checking the whole Receiving.