code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#13134 [main] Bug 656172 Payment Slips Summarized by Due Date are not aggregating correlative in the French version.

The French Suggest Cust. Payments and Suggest Vend. Payments reports now aggregate non-consecutive invoices and credit memos correctly into summarized payment slips. The buffer lookup now matches on customer and currency, plus due date when summarizing by due date, instead of the full primary key.

Pull request · merged into main (BC30) on 2026-10-30 by MSNehaNawal · 3 files (+174 -2), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Summarized payment lines now group by customer and currency, adding due date when summarizing by due date
  • The old Find() matched the full primary key, which included leftover Payment Line No. and Applies-to ID values from the previous group
  • When a matching group is found, Amount and Amount (LCY) are added and the group’s line number, document number and application ID are kept
  • Applies to both the customer and vendor suggest payments reports, with new tests
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#656172
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Payment Slips Summarized by Due Date are not aggregating Credit Memos and Invoices correctly if they are not correlative in the French version.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Suggest vendor payments — possibly related: Documents vendor payment suggestion with aggregation and due date grouping. (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).