#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.
- 2files
- 1AL files
- 1objects
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
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application (ES layer): modified
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).