#13255 [Main]-Exporting vendor remittance gets stuck when a payment jour nal is sorted by Document No.
Fixed vendor remittance export hanging when a payment journal is sorted by Document No. The export now uses primary key order instead of the current sort order to prevent lines from being processed repeatedly.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-26 by DhavalMore88 (community contribution) · 2 files (+52 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Export loop now uses primary key order (Journal Template Name, Journal Batch Name, Line No.) instead of the journal’s current sort order
- Prevents lines from resorting during processing when Document No. is updated
- Each line is now exported exactly once instead of repeatedly
- Added regression test ExportPaymentJournalSortedByDocumentNo
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 10250 “Bulk Vendor Remit Reporting”, Base Application (CA layer): modified
Context
- Work items: AB#656758
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: finance
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Send Remittance Advice Extension | Microsoft Docs — possibly related: Documents the Send Remittance Advice extension for vendor remittance payment processing. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).