Transfer field from SalesLine to GeneralJournalAccountEntry while posting SalesOrder

hello,

I want when I post the Sales order and new field(ChekBox) in my salesLine is checked, this field is transferred to all rows in GeneralJournalAccountEntry, which are related to the line.

I don’t think you need to be adding a new field to GeneralJournalAccountEntry. If you can tell us the requirement, then we can think of a better approach.