bcquality/microsoft/knowledge
Michael Dieringer 49ac2d43ac knowledge(events): database trigger setup flags may only be set to true
Add an events article with compiled good/bad samples:
GetDatabaseTableTriggerSetup (Global Triggers) and
OnAfterGetDatabaseTableTriggerSetup (GlobalTriggerManagement) share four
var Booleans across all subscribers, which run in no particular order.
Assigning false, or a lookup result without or-ing in the current value,
clears flags other features set (Dataverse sync, API webhooks, data
archive, and, for direct Global Triggers subscribers, the change log).
Recommends the codeunit 49 integration events per Learn's guidance on
system codeunits 2000000001..2000000010 and handler-side table filtering.

Wired into al-events-review tokens and an event-design check, with
carve-outs for conditional := true, Flag := Flag or ..., and the no-op
"if not Flag then Flag := false" found in BCApps. Registered in the
events review-fixtures override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:48:24 +02:00
..
appsource 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
breaking-changes 18 AL/BC patterns: style, data-modeling, web-services, appsource, breaking-changes, performance, testing (#156) 2026-09-29 12:48:17 +02:00
data-modeling knowledge(data-modeling): Prices Including VAT decides the basis of sales/purchase/service line amounts (#203) 2026-10-02 09:51:34 +02:00
error-handling 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
events knowledge(events): database trigger setup flags may only be set to true 2026-10-03 12:48:24 +02:00
finance Add source-verified Finance knowledge and review domain (#57) 2026-09-21 10:20:41 +02:00
interfaces Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
performance Preserve business filters when recommending Record.Get (#205) 2026-10-02 13:07:19 +02:00
privacy Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
query Add query filter semantics guidance (#186) 2026-09-15 12:51:15 +02:00
reporting Add reporting review guidance and evaluation fixtures (#183) 2026-09-15 10:38:32 +02:00
scm Strengthen review contracts and add AL reliability guidance (#196) 2026-09-29 13:03:39 +02:00
security 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
style Restore deterministic review fixture coverage (#202) 2026-09-29 17:29:36 +02:00
telemetry Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
testing Restore deterministic review fixture coverage (#202) 2026-09-29 17:29:36 +02:00
ui 2 AL/BC UI patterns: client-expression in-list (AL0573) and Role Center AccessByPermission (#207) 2026-10-02 09:53:14 +02:00
upgrade knowledge(upgrade): upgrade code must not use ChangeCompany (#210) 2026-10-02 11:35:11 +02:00
web-services 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
.gitkeep Add .gitkeep files to community and microsoft directories; remove .gitkeep from samples 2026-04-17 06:03:14 +02:00