If the WHSCloseContainerProfile.PrintPackingSlip function is specifically designed for sales orders and does not directly support printing packing slips for transfer orders, it is problematic. At the very least, the posting dialog for sales orders should not appear when closing a container for a transfer order, as it currently disrupts the process.
Additionally, it is crucial to ensure that the packaging procedures for both sales orders and transfer orders are consistent within the warehouse management module. Warehouse employees only interact with WHS shipments or WHS containers and cannot distinguish between containers for transfer orders—which require manual packing slip posting—and those for sales orders.
Imagine managing several thousand containers of sales and transfer orders mixed together at a packing station each day.