community postFinancecommunity - not Microsoftreviewed - checked by Opus

Dynamics 365 Business Central: How to copy (synchronize) the Incoming Document to all Gen. Journal Lines

When assigning incoming documents to general journal lines in Business Central, the incoming document attachment only applies to one line at a time. This post explains the standard limitation and demonstrates a page extension customization that adds a synchronization action to copy an incoming document entry to all other journal lines in the same batch.

post Dynamics 365 Lab

Yun Zhu · 2026-05-07 · 461 words · about 2 min

"Of course, these Incoming Documents will also be displayed after the Genral Journals are posted."

Key points

  • Incoming documents in BC can be attached to general journal lines but are limited to a single line by default.
  • Standard BC does not allow the same incoming document to be assigned to multiple journal lines simultaneously.
  • A custom page extension on the General Journal page can copy the incoming document entry number to other lines via a new Synchronize action.
  • The customization uses ModifyAll to bulk-update the Incoming Document Entry No. field across multiple journal lines in one batch.
  • Incoming documents attached to journal lines persist and display after the journals are posted.

Quotes

  • “Of course, these Incoming Documents will also be displayed after the Genral Journals are posted.” (Confirms that attached incoming documents persist through to posted documents, providing an audit trail.)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

No source states these links: they share an object, a model read them, or a person found the same subject.

Context

  • Features: Incoming Documents, General Journal Lines, Synchronization, Page Extension Action, Batch Processing

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.