bc-field-propagation

Copy custom fields from source documents to posted entries in Business Central.

20|5|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/fernandoartalf/AL-Copilot-Skills-Collection --skill bc-field-propagation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bc-field-propagation
Source: https://github.com/fernandoartalf/AL-Copilot-Skills-Collection/tree/main/skills/bc-field-propagation
Command: npx skills add https://github.com/fernandoartalf/AL-Copilot-Skills-Collection --skill bc-field-propagation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of copying custom fields from source documents and journal lines to posted and ledger entries, eliminating manual data entry errors.

Core Features & Use Cases

  • Field Propagation Automation: Transfer custom data from source tables like sales or purchase headers to their posted counterparts and ledger entries.
  • Pattern Selection: Automatically determines whether to use Pattern A (TransferFields) or Pattern B (EventSubscriber) based on the posting codeunit's implementation.
  • Use Case: When adding a custom tracking number to sales invoices that must also appear on ledger entries, this Skill ensures consistent propagation without manual intervention.

Quick Start

Use the bc-field-propagation skill to automatically copy custom fields from sales header to posted sales invoice and ledger entries during posting.

Frequently Asked Questions about bc-field-propagation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I propagate custom fields in Business Central posting chains?

To propagate custom fields in Business Central, you copy data from source documents and journal lines to posted entries and ledger records during the posting sequence. This ensures data consistency across sales, purchase, transfer, and journal workflows without manual updates.

What is the best way to copy custom fields to posted sales invoices and ledger entries?

The best way to copy custom fields to posted sales invoices and ledger entries is to automate the transfer during posting. This eliminates manual data entry errors and guarantees that custom tracking data appears correctly on all resulting posted and ledger records.

How does pattern selection work for AL field propagation in Business Central?

Pattern selection for AL field propagation works by automatically determining whether to use Pattern A (TransferFields) or Pattern B (EventSubscriber). The choice depends entirely on the specific implementation of the underlying posting codeunit to ensure compliance with posting logic rules.

Does this field propagation approach work with transfer order posting sequences?

Yes, this field propagation approach works with transfer order posting sequences. It comprehensively applies across sales, purchase, transfer, and journal posting sequences in Business Central to maintain custom data consistency throughout the entire ledger entry generation process.

Why do my custom fields disappear after posting documents in Business Central?

Custom fields disappear after posting documents in Business Central because they are not automatically copied to posted entries by default. You must explicitly implement field propagation logic to transfer custom data from source headers to their posted counterparts and ledger records.

Do I need specific dependencies to automate field propagation in AL development?

No specific external dependencies are required to automate field propagation in AL development. The skill provides the necessary scripts and references to implement the automation directly within your Business Central environment using standard AL patterns.