'Add a new logic in pyhton

Want to add logic that calculates and outputs truckloads able to be built each day. Still want this broken out by ship-to party (so 1 ship-to party per shipment). You’ll need to subtract consumed inventory for each truckload that is able to be built to then recalculate available inventory for other customers and truckloads.

Ship to party Material Total A X 2000
B Y 3000 C Z 1000

For example enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source