Create a document from an item line that includes data from related sub items

Has anyone found a solution to this challenge. I am looking to create a Purchase Order Document from an item and the related sub items should form the content of the Purchase Order. So the Supplier would be in the main item and then products, qtys and price would be in the sub items.

Just need to get this into a format that can be issued to a supplier. Not something I thought would be an issue but proving to be impossible currently. Be glad of any ideas or apps users know about that could help here?