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

Notifications

Announcements

Community site session details

Community site session details

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

Custom field transfer through Intercompany

(5) ShareShare
ReportReport
Posted on by 42
I have a need to pass a custom field from the Purchase Invoice line through to the related Intercompany General Journal that is created.
I have the field created on the Purchase line, but not sure how to go about where I need to add it and where within the codeunit ICInboxOutboxMgt to be able to transfer that so it would be created on the opposite company. 
I saw this post https://ivansingleton.dev/extending-intercompany-synchronization-in-business-central-intercompany-transactions/, but that is related to the Purchase to Sales intercompany transactions, rather than just journal line.
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    6,876 on at
    Hello ,
     
    You can’t just change ICInboxOutboxMgt. Intercompany journals go through IC buffer tables + XMLports. Your field must exist and be copied at each step.
    What actually works:
    Add your custom field to:
    IC Outbox Journal Line
    IC Inbox Journal Line
    Gen. Journal Line (target company)
    Extend the IC XMLport so the field is exported/imported (mandatory).
    Use event subscribers:
    Source side: copy value into IC Outbox Journal Line
    Target side (ICInboxOutboxMgt event): copy value from IC Inbox Journal Line → Gen. Journal Line
    Key point:
    IC does not serialize Purch. Inv. Lines directly. Everything flows through IC buffer tables + XML.
    No XMLport = field dies between companies.
  • CU22080305-1 Profile Picture
    8 on at
    For intercompany general journals, you don’t extend ICInboxOutboxMgt directly; instead, you need to include your custom field in the IC Gen.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,810

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 810 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 676 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans