Landed cost creating 3 lines in General ledger transactions with a reference to the same order line

Accounting: Reporting to Government Version 9.71

In some situations, Landed cost created 3 lines in General ledger transactions with a reference to the same order line.
This caused the VAT to be shown 3 times when it should be shown only on one line.
This has now been fixed for the General ledger transactions with VAT (TX40500S) and VAT account control summary/details (TX40300S / TX40400S) windows.