RE: Problem in number sequence of payment journal
I agree with Gunjan,
you are missing the possibility of different classes which can responsible for transferring your value on that way from the source table to destination.
Here is Visual Help
you are expecting that value is transfer directly from source table to destination table as the black arrow.
but in reality, It goes through the green arrow. in between, it gets passed from EDT to EDT before landing to the Final Table.
First Try to do full DB Sync so that it AX will update all LedgerJournalId Reference in all the table.
if dB sync does not resolve this issue. then you have to find this Some EDT 10 container through debugging and update it as well.