If I add the Journal entry without the line
journalEntries.Lines.ContraAccount
B1 inserts automatically the first account found on the entry as ContraAccount. But for my purpose, it has to be empty.
But "journalEntries.Lines.ContraAccount = string.Empty" has no effect.
Has anybody a solution?