Why is the ledger report showing the wrong company name with the entry? if i open ABC party but accounting entry will showing first row XYZ party name of entry.
Because when you have opened the ledger of the party you have selected the details to show single account (first), Due to this the entry is shown with the name of the party which available in the first row of entry.
So, While opening the party ledger you have to select Single Account (Auto).