The attached program figures out what packing solutions to use for various products. The XML that is commented (it is used when the program runs) limits the options to a single box and all the parts should go in that one box. For some reason it is packing the parts in two boxes. I need this bug fixed without changing the basic logic for how the program works when not dealing with parts that are assigned to a specific box.
The credentials for the database, UPS, and FedEx have been omitted. The data from the database has been included on a CSV so you can import it into your own environment for testing purposes. You should be able to verify if it is fixed or not without needing the UPS and FedEx credentials.
Sorry it appears that the file did not make it on the first submission. The code is now attached.