...
palletmanager_daemon.insert_order(0, 0, 123192843, "Shipment to Sogndal", "Salmon", [5, 10, 10, 10, 10, 53])
This will create an order in the first place with name “Shipment to Sogndal”, and palletize 5 pallets, from which 4 will contain 10 boxes and the 5th will only contain 5 3 boxes of the pattern “Salmon”. The value 123192843
is not used by the program, but can be a foreign key reference to an external production management system in the factory.
...