RE: Connecting 2 Opportunities to 1 Quote
Hi partner,
Agree with Adrian.
It is not recommended to connect two Opportunities to a Quote, because this does not conform to the business logic of Sales Opp.
A better solution is to have two users edit an Opportunity together by access team. We can create a User lookup field on the Quote Line entity to represent the owner. In Opportunity Line, the owner is Create By. When a Quote is generated from the Opportunity, the Quote Line owner inherits the Create By value of the Opportunity Line. In this way, we can distinguish the products by user in Opportunity and Quote.
Step 1. Add Access Team sub-grid for Opportunity form.
Access team reference: https://www.quantacrm.com/2016/12/19/setup-access-teams-dynamics-365-crm/
Step 2. New a User lookup field for Quote Line.
Step 3. New a 1:N relationship between Opportunity Line and Quote Line, new a mapping between Create By field of Opportunity Line and the new User lookup field of Quote Line.
This way, we can distinguish which products in Quote and Opportunity are responsible for Aser A and which are responsible for User B. In Opportunity, it is identified according to the Create By field of Opportunity Line, and in Quote, it is identified according to the User lookup field of Quote Line.
We can also create two rollup fields in Opportunity and two in Quote to aggregate the total value of the products each user is responsible for.