I want to pass a field (new field) from the production journal output line to item ledger entry table. I found a codeunit in base app(Production Journal Mgt.) where I can use one of the below integration events:
However I'm not sure whether using one is better than the other. In what scenarios would you use OnAfter vs OnBefore?