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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Dynamics 365 Sales - BC Custom Lookup Field Integration

(2) ShareShare
ReportReport
Posted on by 71
Hi Everyone,
 
I try to add some new custom field on the CRM Sales Order table and sync to BC v24.5, however the new custom field which have lookup type on CRM, not showing up on the mapping list. I already try https://yzhums.com/17065/https://yzhums.com/49260/, and https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/administration-custom-cds-integration but still cannot figure out why the custom lookup field not showing up in the mapping list only the custom option field (Term) is showing.
 
Here is my code for adding new custom field on mapping list:
Only this custom field (the option type) is showing on the mapping list when try to add the mapping manually.
 
Any insights you could share would be greatly appreciated.
 
Thank you in advance for your help!
 
I have the same question (0)
  • Verified answer
    Hagru Profile Picture
    362 on at
    I know this is an old post at this point, but I struggled with this myself, this past week, and came up with an answer myself eventually, so I thought I'd share it here as well.
     
    When mapping two custom tables, or at least from a custom table in BC, the table mapping fields are filtered. You can remove this filter to see the other fields as well, see the screenshot below. However, you cannot select a FlowField, because you will get an error saying the field must not have a relationship to another table.
     
     
    I found the solution to it, by modifying a way of coding the mapping in AL. I'll link it here:

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans