Hi Peter Kings,
Thank you for posting on the Microsoft Dynamics NAV Community Forum.
From my initial thought, the key is that General Ledger Entries are tied to Value Entries - Table 17 to Table 5802, which is stored in Table 5823.
The Item Ledger Entry No. record (Table 32) is indirectly tied to the General Ledger Entries through the Value Entry being linked to the Item Ledger Entry No.
I am not sure if that is what your are running into, but it would be my initial conclusion.
I hope the information helps you move forward.
Best Regards,
Tom