code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#10376 [Main] Fix unbalanced G/L when a Credit Memo is applied to a rejected/redraw…

Fixed an issue where applying a sales credit memo to a rejected or redrawn bill in the Spanish (Cartera) version caused the Rejected Bills Account to become unbalanced due to duplicate posting.

Pull request · merged into main (BC30) on 2026-08-27 by Shikhverma · 2 files (+105 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Credit memos applied to rejected bills now post the Rejected Bills Account reclassification only once instead of twice
  • Prevents duplicate posting by skipping application posting in PostDtldCustApplicationEntry when PostReceivableDocs already handles the rejected bill
  • Ensures the Rejected Bills Account clears correctly and transactions remain balanced
  • Includes test coverage for the cartera redraw scenario
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#647259
  • Labels: Team: Finance
  • Systems: finance

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).