This might be hard to explain so I have attached a diagram to assist.
I have an entity to hold booking information such as the total booking amount, the booking date and the customer doing the booking. A single booking might consist of audio visual equipment, food and a room. Each of the these is recorded in a booking details record which contains the total for that item, the product code for the item. A booking record can have many booking detail records.
I would like each booking to have an order in CRM. This is for reporting consistency.
So for each booking entity I need to generate an order and the order products are essentially copied over from the booking details. I then need the new order to be linked to the originating booking record.
I tried with a workflow that I could run on demand but could not get a way to do this. It was further complicated by the fact that to create order products, you need to create the order first.
All advice welcomed.