Hi James,
That error — "cannot find vendor ledger entry 0" — usually means that Business Central is trying to apply the credit memo to a vendor ledger entry, but no valid entry (or an invalid reference like ID 0) is selected.
Here’s how to resolve it:
✅ Quick Fix:
1. Open the Credit Memo you're working on.
2. Go to "Applies-to Doc. No." field on the lines (or under "Apply Entries").
3. Clear any applied entries manually if present, and re-select the correct vendor invoice.
4. If you’re not intending to apply it, make sure it’s set to "Open" with no apply-to ID.
Also, check:
The vendor exists and has valid open entries.
The credit memo type is correct (vendor or purchase).
If created from the invoice directly, ensure nothing was changed in the apply fields afterward.
Sometimes demo data has corrupted entries — so testing with a fresh vendor/invoice might help.
✅ Mark this answer as verified if it helps you.