code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#12201 [29.X]- Incorrect project ledger costs when non-deductible VAT is posted to a foreign-currency project

Fixed incorrect project ledger costs when non-deductible VAT is posted to foreign-currency projects by correctly mapping currency amounts in the VAT-to-job conversion process.

Pull request · merged into releases/29.x (BC29) on 2026-10-22 by neeleshsinghal · 3 files (+39 -20), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • CopyNonDedVATFromGenJnlLineToJobJnlLine had swapped currency paths: a project-currency amount went into LCY cost and an LCY amount into project cost
  • LCY unit and total costs now use the non-deductible VAT LCY amount
  • Project-currency unit and total costs now use the source VAT amount converted into the project currency
  • Tests updated in W1 and IT layers
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#652547
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “The current code adds a project-currency amount to LCY cost and an LCY amount to project cost.”

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

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