code change · fixSustainabilityofficial - Microsoftreviewed - checked by Opus

#12466 Hide Navigate and Reverse Transaction on sustainability posting preview

Navigation and reverse transaction actions are now hidden on sustainability posting preview rows to prevent confusing users with non-functional operations.

Pull request · merged into main (BC30) on 2026-10-12 by Explorer986 · 4 files (+127 -0), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Hide Navigate, Reverse Transaction, and Collected G/L Entries actions on sustainability entry pages when displaying preview rows
  • Uses a two-part check: temporary buffer plus preview document number to distinguish preview rows from live posted entries
  • Preview document number pattern is centralized in Sust. Preview Post Instance codeunit
  • Analysis View drill down continues to work with real posted entries in temporary buffers
  • No schema changes or new objects added
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13070 into releases/29.x on 2026-10-22

Context

  • Work items: AB#651047
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: sustainability, development
  • From the description: “Preview rows carry a negative placeholder key and a placeholder document number of three asterisks, so Reverse Transaction matches nothing and silently does nothing.”

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