Description: Rate x the Qty of a Primary Unit of Measure Received
Script:
User Input:
Explanation: This only works on Transactions that have ReceiveItems on them. If it has RIs, we add up the OrigQtyPrimary on all of them, set that to NumUnits on the charge, and set the ChargePerUnit to whatever you specified when you setup the script. That's it.