Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Error When Lookup to CDS Table Use Job Queue

Posted on by 2
Hi All,
 
Currently I try to create some custom function in Business Central Online v23.1 which need to lookup to CDS table, that function work well when I try to do manually (from clicking button on page), but when I try to run the process automatically use the job queue, it always throw this error /Table connection for table type CRM must be registered using RegisterTableConnection or cmdlet New-NAVTableConnection before it can be used/. Any idea how to solve this?
 
Thanks.
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Error When Lookup to CDS Table Use Job Queue
    Hi Robby,
     
    Please troubleshoot with Business Central so that you can identify the cause of the problem, and eventually implement a sustainable solution. 
    Hope it helps.
     
    Best Regards,
    Judy
  • RobbyG Profile Picture
    RobbyG 2 on at
    Error When Lookup to CDS Table Use Job Queue
    Hi Judy,
     
    Thanks for your response. If I run the "Run Full Synchronization" it will not get any error, the error only happen if I use job queue to handle process which related to dataverse integration.
     
    Regards,
    Robby
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Error When Lookup to CDS Table Use Job Queue
    Hi Sir,
     
    Can you go to the from the Dataverse Connection Setup page and “Run full synchronization” to see if it can get the same error.
     
     
    Best Regards,
    Judy

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans