As of Release 4.6C, items in purchase orders and scheduling agreements can belong to different company codes if:
During automatic purchase order generation the system can therefore group together purchase requisitions with different company codes to a single purchase order.
For more information, see the release note Automatic Generation of Purchase Orders from Requisitions.