...
element 0: the number of pallets to be done
elements 1…number of pallets: the requested number of products on the N-th. pallet, or 0 means a full pallet
Example
palletmanager_daemon.insert_order(0, 0, 1231928431234, "Shipment to Sogndal", "Salmon", [1, 0])
This will create an order in the first place with name “Shipment to Sogndal”, and palletize 1 full pallet of the pattern “Salmon”. The value 1234
is not used by the program, but can be a foreign key reference to an external production management system in the factory.
Example
palletmanager_daemon.insert_order(0, 1, 2345, "Shipment to Oslo", "Salmon", [5, 10, 10, 10, 10, 3])
This will create an order in the first place a second order with name “Shipment to Sogndal”Oslo”, and palletize 5 pallets, from which 4 will contain 10 boxes and the 5th will only contain 3 boxes of the pattern “Salmon”. The value 123192843
2345
is not used by the program, but can be a foreign key reference to an external production management system in the factory.
...
element 0: the number of pallets to be done
elements 1…number of pallets: the number of products on the N-th. pallet, or 0 for full pallet
Delete existing Order
...