Skip to content

Instantly share code, notes, and snippets.

@D4R4
Created October 24, 2021 14:34
Show Gist options
  • Save D4R4/c739e300e56c7e512929093db3cb2fcb to your computer and use it in GitHub Desktop.
Save D4R4/c739e300e56c7e512929093db3cb2fcb to your computer and use it in GitHub Desktop.
Dynamics 365 - Hidden relationship and mapping - Opportunity line - Quote line - Order line
Step:1 Get entity relationship mapping id - replace source & target entity schema to desired entities you want
Add organization url/XRMServices/2011/OrganizationData.svc/EntityMapSet?$select=EntityMapId&$filter=SourceEntityName%20eq%20%27quotedetail%27%20and%20TargetEntityName%20eq%20%27salesorderdetail%27
To get Opportunity Products and Quote Products mapping id replace (source) opportunityproduct & (target) quotedetail this brings up the mapping id
Image
Step 2
Add organisation mapping id followed by /Tools/SystemCustomization/Relationships/Mappings/mappingList.aspx?mappingId=573dd306-d0e9-e511-80d7-5065f38b3611
replace mapping id to the one you get above
Mapping window will open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment