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 :
Small and medium business | Business Central, N...
Answered

Job queue error when sending intercompany purchase orders: "nullable object must have a value"

(4) ShareShare
ReportReport
Posted on by 106
With a (custom) job queue, we send intercompany purchase orders to the intercompany partners in batches of 400. when running the job queue, it regularly displays the following error message and stops the job queue:
 
"nullable object must have a value"
 
the error call stack looks as following:
 
"IC Data Exchange Database"(CodeUnit 532).GetICPartnerHandledICInboxTransaction line 20 - Base Application by Microsoft version 26.3.36158.37382
ICInboxOutboxMgt(CodeUnit 427).OutboxTransToInbox line 53 - Base Application by Microsoft version 26.3.36158.37382
"Move IC Trans. to Partner Comp"(Report 513)."IC Outbox Transaction - OnAfterGetRecord"(Trigger) line 7 - Base Application by Microsoft version 26.3.36158.37382
 
when looking at the error call stack, it looks like it is standard business central that causes the error. I do not know where to look to solve this error. I am very curious to know if anyone can help me with this or if anyone has experience with this error.

Thanks in advance.

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    90,070 Super User 2025 Season 2 on at
    Job queue error when sending intercompany purchase orders: "nullable object must have a value"
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to run Job Queue via AL (Debug Job Queue in Sandbox???)
     
    Thanks.
    ZHU
  • Suggested answer
    Suresh Kulla Profile Picture
    49,255 Super User 2025 Season 2 on at
    Job queue error when sending intercompany purchase orders: "nullable object must have a value"
    I would recommend try to debug and trace the data you have in the table Handled IC Inbox Trans. I think the error is happening because one of the primary key fields in the table is blank.
     
     
  • Matteo Fiocco Profile Picture
    258 on at
    Job queue error when sending intercompany purchase orders: "nullable object must have a value"

    Hey, I'd suggest checking your data first—make sure every IC transaction has a valid Partner Code and that all IC partners are correctly set up in Business Central.

     

    Try running smaller batches temporarily (like 50-100) to pinpoint exactly which record is causing trouble. Once identified, correcting that record typically resolves this error.

     

    Hope this helps!

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 > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,689 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,631

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,212

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans