Supplier Invoice with it's Journalentry.pdf
In the automatic journal (GESGAU function), in the lines (confirm if it is line number 2 in your case), check if the DEBCDT (Netting) is not selected.
There is no line 2 rather begin with line 10, and Netting is not checked.
Netting is not selected.pdf
Check line 20.
If you don't come right my suggestion is to contact your BP to assist alternatively if you are working for a BP please log this with Sage support.
You need to apply this formula in Free grouping $num[PID]LIN under Automatic journal