Hi Rami, yes, it goes over by itself. Posting uses TransferFields from Sales Header to Sales Invoice Header, and that works by field ID, not by name. Same ID and same type, no subscriber needed. Just don't make the posted field shorter than the source.
Do the same on Sales Shipment Header, Sales Cr.Memo Header, Return Receipt Header and the archive, otherwise the value is on the invoice and missing on the shipment.
After posting, yes, a custom field can be changed, it doesn't touch the ledger. The Microsoft pattern is the Update Document action on the posted invoice. Extend that page, and subscribe to the event in the codeunit behind it, Sales Inv. Header - Edit if memory serves. The codeunit needs Permissions for tabledata Sales Invoice Header = rm, otherwise normal users get a permission error.
Glad to help - follow up if anything is unclear.
► If this solved it, marking it verified helps others too.
Regards,
Grigorios Mavrogeorgis
Business Central Consultant & AL Developer
Work: Gmsoft Limited
Blog: insidebusinesscentral
LinkedIn: linkedin.com/in/gregorymavrogeorgis