web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Sales Quote and Sales Order Line Sequence Sync Via Dual write to D365

(0) ShareShare
ReportReport
Posted on by 45
We are implementing a CRM and FO integration Project where the Lead to Sales Order wil be happening at CRM level and from FO Rest of the things will be happening as the SQ and SO will be synced to D365 via Dual Write
 
Currently the customer is using only D365 where users can add quoteline inbetween or at the start or at the end
But in CRM it doesn't support this functionality. Out of the box it's arranged as per the created date and we can also sort it based on the Line item number which has to be manually entered by the users in CRM which isn't user friendly 
Even if we give that provision that exact sequence we arranged with the help of line item number in CRM is not reflecting in D365 FO
Has anyone encountered this scenario and has a better solution for this?
I have the same question (0)
  • Suggested answer
    Daniyal Khaleel Profile Picture
    443 on at
    Sales Quote and Sales Order Line Sequence Sync Via Dual write to D365
    Introduce a Custom “Line Number” field in CRM aligned to FO logic
    Create a custom Line Number field on Quote Product and Order Product.
    Use increments like FO (1000, 2000, …).
    Add a custom plugin/PCF control to let users insert lines anywhere and auto-resequence.
    Sync this field directly to FO’s Line Number field.
    That way, CRM respects the sequence in FO.
    PCF Grid for Line Management
    Replace the OOB subgrid for Quote/Order lines with a custom PCF control.
    This control can allow:
    Drag & Drop reordering.
    Auto-updating line numbers behind the scenes.
    User-friendly, no manual numbering.
    Custom Logic on Dual Write Mapping
    Extend dual write mappings for Quote Details and Order Details.
    On sync, if CRM line doesn’t have a Line Number, assign FO’s logic (1000, 2000, …).
    If re-sequenced in CRM, update FO accordingly.
    FO-driven sequencing
    Let FO be the source of truth for line order.
    Sync CRM lines to FO ignoring order, then display FO’s sequence back in CRM (read-only ordering).
    Users manage sequencing in FO instead of CRM (less user-friendly for Sales teams though).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 183

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 116

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans