Hi
Question:
I added a custom field Agreement No. to both tables:
Sales HeaderSales Invoice Header
Both fields have the same Field ID:
field(52160; "Agreement No."; Code[20])Example:
Before Posting:
Sales Header
Agreement No. = 1After Posting:
Sales Invoice Header
Agreement No. = ?My questions:
- Does Business Central automatically transfer the value because both fields have the same Field ID and name?
- If not, what is the recommended and safest AL approach to transfer custom fields from Sales Header to Sales Invoice Header during posting?
Which Event Subscriber or standard Microsoft pattern should be used?
- After posting, if I need to update the value of:
Sales Invoice Header."Agreement No."is it allowed to modify posted documents?
If yes, what is the correct and recommended way to update a custom field in Sales Invoice Header safely without affecting the standard posting process?
Thank you.

Report
All responses (
Answers (